Project

General

Profile

Bug #30836

Nil pointer exception on unused_ip discovery call

Added by Lukas Zapletal 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Orchestration
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Discovery plugin was modified to call unused_ip during provisioning, however this leads to DHCP orchestration while operatingsystem (and hostgroup) is not set assigned. This raises a nil exception in core.


Related issues

Related to Discovery - Bug #30478: Kexec does not handle NEW/OLD discovered IPResolved

Associated revisions

Revision ab532cbf (diff)
Added by Lukas Zapletal 3 months ago

Fixes #30836 - prevent DHCP nil exception

History

#1 Updated by Lukas Zapletal 3 months ago

  • Related to Bug #30478: Kexec does not handle NEW/OLD discovered IP added

#2 Updated by The Foreman Bot 3 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7986 added

#3 Updated by Lukas Zapletal 3 months ago

  • Bugzilla link set to 1848291

#4 Updated by Lukas Zapletal 3 months ago

  • Target version set to 2.2.1

Requesting 2.2, trivial fix.

#5 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 2.3.0 added

#6 Updated by Lukas Zapletal 3 months ago

  • Status changed from Ready For Testing to Closed

#7 Updated by Tomer Brisker 3 months ago

  • Target version deleted (2.2.1)
  • Fixed in Releases 2.2.0 added
  • Fixed in Releases deleted (2.3.0)

Also available in: Atom PDF