| Summary: | old partition table is not wiped out and create conflict (and grub error is ignored) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Gonéri Le Bouder <goneri> | ||||||
| Component: | openstack-ironic | Assignee: | Lucas Alvares Gomes <lmartins> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Raviv Bar-Tal <rbartal> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 8.0 (Liberty) | CC: | apevec, ddomingo, dtantsur, goneri, jschluet, lhh, mburns, mlammon, rbartal, rhel-osp-director-maint, srevivo | ||||||
| Target Milestone: | Upstream M3 | Keywords: | Triaged | ||||||
| Target Release: | 10.0 (Newton) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openstack-ironic-6.1.1-0.20160823055226.46dc395.el7ost | Doc Type: | Bug Fix | ||||||
| Doc Text: |
The Bare Metal provisioning service now wipes a disk's metadata before partitioning and writing an image into it. This ensures that the new image boots normally. In previous releases, the Bare Metal provisioning service didn't remove old metadata before starting work on a device, which made it possible for a deployment to fail.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-12-14 15:24:43 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: | |||||||
| Attachments: |
|
||||||||
Created attachment 1129509 [details]
the two table as seen by fdisk
http://eavesdrop.openstack.org/irclogs/%23openstack-ironic/%23openstack-ironic.2016-01-06.log.html#t2016-01-06T11:48:03 this has been discussed on IRC in January. Hi! Ironic does clean the partition before deploying. Could you please provide ironic-conductor logs to see if something went wrong during this process? This is the message I guess without the patch: http://paste.openstack.org/show/488191/ If I can sgdisk -Z I still get this one: http://paste.openstack.org/show/488189/ I see both patches have merged, moving to MODIFIED. 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://rhn.redhat.com/errata/RHEA-2016-2948.html |
Created attachment 1129508 [details] grub error silently ignored Description of problem: Ironic does not clean properly an existing partition table before the deployment and this create a conflict during the new partition creation. Version-Release number of selected component (if applicable): How reproducible: 1. Inject an image on the root disk, like ipxe.usb or ipxe.iso 2. Try to deploy a system on the node using Ironic 3. Deployment succeed 4. Node reboots and boot fails Actual results: Node should boot after deployment. Expected results: Additional info: