Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #30836 - prevent DHCP nil exception #7986

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

lzap
Copy link
Member

@lzap lzap commented Sep 14, 2020

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.

@theforeman-bot
Copy link
Member

Issues: #30836

@lzap
Copy link
Member Author

lzap commented Sep 14, 2020

I am requesting 2.2 (I've set 2.2 flag in RM) for this one, this is actually important issue for discovery as it's completely broken in some cases. I will be releasing an update for discovery in 2.2 repos.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks safe to me.

@ekohl ekohl merged commit ab532cb into theforeman:develop Sep 14, 2020
@ekohl
Copy link
Member

ekohl commented Sep 14, 2020

@tbrisker safe to pick to 2.2, right?
@lzap is this only needed for 2.2 or also 2.1?

@tbrisker
Copy link
Member

2.2 - 968efe3

@lzap lzap deleted the nil-pointer-dhcp-orch-30836 branch September 21, 2020 13:31
@lzap
Copy link
Member Author

lzap commented Sep 21, 2020

Sorry for the delay, yes safe. 2.2 it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants