Bug 1243829
Summary: | overcloud image upload creates duplicate images | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Steven Hardy <shardy> |
Component: | python-rdomanager-oscplugin | Assignee: | Marek Aufart <maufart> |
Status: | CLOSED ERRATA | QA Contact: | Amit Ugol <augol> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | akrivoka, brad, calfonso, dmacpher, jason.dobies, jslagle, maufart, mburns, rhel-osp-director-maint |
Target Milestone: | y1 | Keywords: | Triaged, ZStream |
Target Release: | 7.0 (Kilo) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-rdomanager-oscplugin-0.0.9-2.el7ost | Doc Type: | Bug Fix |
Doc Text: |
The "openstack overcloud image upload" command uploaded Overcloud images even if old versions existed in Glance. This resulted in images with duplicate names, which caused Overcloud creation to fail. This fix modifies the tool to skip existing images. The tool also includes an "--update-existing" option to update existing images. Overcloud creation now uses the new Overcloud images stored in Glance without failure.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-10-08 12:15:07 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: |
Description
Steven Hardy
2015-07-16 12:28:51 UTC
One possible approach will be for the CLI to do a check to see if an image already exists with the name and fail if it does. We can offer a flag to overwrite the existing image if found which would delete the existing first (assuming glance doesn't have its own sort of overwrite flag). Ultimately, I could see a use in storing multiple versions of an image for upgrade purposes, but quite a bit of the rest of the workflow would need to change for that to make sense. *** Bug 1244139 has been marked as a duplicate of this bug. *** Latest version looks like this: $ openstack overcloud image upload Image "overcloud-full-vmlinuz" is up-to-date, skipping. Image "overcloud-full-initrd" is up-to-date, skipping. Image "overcloud-full" is up-to-date, skipping. Image "bm-deploy-kernel" is up-to-date, skipping. Image "bm-deploy-ramdisk" is up-to-date, skipping. Image file "/httpboot/discovery.kernel" is up-to-date, skipping. Image file "/httpboot/discovery.ramdisk" is up-to-date, skipping. Updating images is a different matter and wasn't tested here. If that does not work it will need a new bug. 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/RHSA-2015:1862 |