Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1318436 - PXE provision booting up with missing pxe boot entry
PXE provision booting up with missing pxe boot entry
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning (Show other bugs)
5.5.0
All All
unspecified Severity high
: GA
: 5.5.3
Assigned To: Brandon Dunne
Shveta
: ZStream
Depends On: 1318019
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-16 17:21 EDT by Greg McCullough
Modified: 2017-08-29 21:39 EDT (History)
12 users (show)

See Also:
Fixed In Version: 5.5.3.2
Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, the VM booted up for PXE install with missing PXE boot entry. This was because when PXE provisioning a VM, we wrote the PXE boot files, boot the VM, then wait for it to power off. The power off signified that the installation was complete and the installer shut down the guest. Sometimes providers are slow enough that we can request the power on, refresh the provider (a very heavy operation for collecting the power state of the new VM), and the VMs power state is off because it has not yet powered on. The state machine logic has changed to now only look at the power state on the provider (much faster), and sit in a loop waiting for the VM to boot before moving on to the next "wait_for_power_off" state. This fix changes the code to wait for the VM to be powered on in the provider. As a result, we now wait for the VM to boot and shut down before cleaning up the PXE files.
Story Points: ---
Clone Of: 1318019
Environment:
Last Closed: 2016-04-13 14:46:21 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
hotfix bz1318436.tar (21.00 KB, application/x-tar)
2016-03-17 16:51 EDT, Greg McCullough
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0616 normal SHIPPED_LIVE CFME 5.5.3 bug fixes and enhancement update 2016-04-13 18:38:44 EDT

  None (edit)
Comment 1 Greg McCullough 2016-03-17 16:51 EDT
Created attachment 1137511 [details]
hotfix bz1318436.tar
Comment 5 Brandon Dunne 2016-03-21 16:38:49 EDT
It looks like there may be some other issue affecting us...
[----] E, [2016-03-21T13:33:36.761454 #2829:ca7998] ERROR -- : Q-task_id([miq_provision_5000000000930]) <AutomationEngine> Method exec failed because (Errno::EMFILE:Too many open files)

Are there too many files open on the system?
Comment 7 Felix Dewaleyne 2016-03-22 11:29:47 EDT
(In reply to Brandon Dunne from comment #5)
> It looks like there may be some other issue affecting us...
> [----] E, [2016-03-21T13:33:36.761454 #2829:ca7998] ERROR -- :
> Q-task_id([miq_provision_5000000000930]) <AutomationEngine> Method exec
> failed because (Errno::EMFILE:Too many open files)
> 
> Are there too many files open on the system?

that didn't seem to happen after he restored the vmdb. are we sure this isn't caused by the patch?
Comment 11 Shveta 2016-03-29 12:38:04 EDT
Verified PXE provisioning .
Vm is provisioned successfully.
Build : 5.5.3.2.20160318152106_92d2d67
Comment 13 errata-xmlrpc 2016-04-13 14:46:21 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:0616

Note You need to log in before you can comment on or make changes to this bug.