Red Hat Bugzilla – Bug 1196658
Discovered host should not be rebooted when user gets validation error on edit host form
Last modified: 2017-02-23 15:25:45 EST
Description of problem:
I discovered a host and and click on provision from webUI.. and I got some validation error on host form..
the discovered host rebooted even I got some validation error on host form.
Version-Release number of selected component (if applicable):
sat6.1 beta snap4
Steps to Reproduce:
1. pxe boot a host
2. Go to hosts-> discovered_host
3. click on provision
4. and don't specify name so that UI raised some validation error
discovered host rebooted
discovered host shouldn't be rebooted
Created redmine issue http://projects.theforeman.org/issues/10195 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/10195 has been closed
Applied in changeset commit:foreman_discovery|442b37854eaffa04893e7b50eb47c1d58ff47222.
Verified with sat6.1.1 GA snap14 on rhel66.
I discovered a host and while trying to provision it, I created couple of managed interfaces without mac addresses and without identifier and submit the edit_host form.
UI raises error but host doesn't get rebooted on error. Later I fixed all the errors and submitted the edit-host form successfully and this time host auto re-booted and provisioning started automatically.
Thanks for the fix.
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.
*** Bug 1278639 has been marked as a duplicate of this bug. ***