Project

General

Profile

Actions

Bug #13248

closed

registration fails with 'can't dup nilClass'

Added by Justin Sherrill almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

If you try to register a client when one of its interfaces has no ip address, registration fails with this error.


Related issues 1 (1 open0 closed)

Blocks Katello - Feature #11435: Host Unification TrackerNewActions
Actions #1

Updated by Justin Sherrill almost 9 years ago

Actions #2

Updated by Justin Sherrill almost 9 years ago

Also getting another error registering a f20 client:

ERROR: null value in column "host_id" violates not-null constraint
DETAIL: Failing row contains (4, null, null, 2016-01-15 19:33:02.617248, null, null, f).

not sure why this doesn't with centos clients, but it seems to be related to this line: https://github.com/Katello/katello/blob/master/app/lib/actions/katello/host/register.rb#L112

Actions #3

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5713 added
Actions #4

Updated by Justin Sherrill almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF