Bug 1340163
| Summary: | Provisioning from RHEVM 3.6 template loses template boot sequence | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | ncatling | |
| Component: | Provisioning | Assignee: | Martin Betak <mbetak> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.5.0 | CC: | cpelland, dajohnso, jhardy, mbetak, ncatling, obarenbo, oourfali, simaishi, tjelinek | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.7.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | rhev:provision | |||
| Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1343719 (view as bug list) | Environment: | ||
| Last Closed: | 2017-01-11 20:14:58 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1343719 | |||
|
Description
ncatling
2016-05-26 14:50:13 UTC
I was able to build a template with 2 devices in the boot sequence - The first was a PXE network device. The second - a block device.
<os type="rhel_6x64">
<boot dev="network"/>
<boot dev="hd"/>
</os>
Upon digging into the ovirt gem - I found that there isn't a way for the Disk class to see a device named "network" as the first device list is - So when listing disks in the template at provisioning - The 1st boot device in this case never gets created.
So I was able to duplicate the issue with 2 boot devices, one not being a harddisk.
I have a couple of other questions regarding the problem in general:
1. If the template in question had 2 block devices (dev="hd") it seems that this bug wouldn't exist? - Are you seeing that in your environment?
2. Looking at the ovirt gem - it seems that the ("network" device being first in the boot order) issue would exist for any version of RHEV and not only 3.6 - Are you seeing that in your environment?
I have tested the scenarios and through CloudForms, a VM is provisioned without the boot order set in the source template, regardless of number of disks. Through RHEV, the provisioning of a new VM always includes the template boot order. Martin, can you please add PR link? Martin, can you please add PR link? PR to the ovirt gem: https://github.com/ManageIQ/ovirt/pull/61 Commit that bumps the ovirt gem version to one that includes the above fix: https://github.com/ManageIQ/manageiq/commit/e1009e0ee38e2bf9eac0ed85e26736ddbba4047b Verified on: rhevm-3.6.8-0.1.el6 CFME-5.7.0.0.20160906172503_12f65cb Template rhel-guest-image-7.2-20160302.0.x86_64 with Boot sequense First device: "network" Second device:"hd" Provision VM from template from CF side ends up successfully. VM indeed was created on RHEVM, and also was started. |