Bug 1204647
| Summary: | Download of glance image fails because of wrong glance_store option. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Leonid Natapov <lnatapov> |
| Component: | openstack-foreman-installer | Assignee: | Jason Guiditta <jguiditt> |
| Status: | CLOSED ERRATA | QA Contact: | Alexander Chuzhoy <sasha> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0 (Juno) | CC: | aberezin, dmacpher, mburns, morazi, oblaut, rhos-maint, sasha, sclewis, yeylon |
| Target Milestone: | z2 | Keywords: | Regression, ZStream |
| Target Release: | Installer | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-foreman-installer-3.0.20-1.el7ost | Doc Type: | Bug Fix |
| Doc Text: |
The lack of HTTP store configuration for Glance caused a 400 Bad Request error when downloading images over HTTP. This fix adds the glance.store.http.Store to the known stores. Glance image downloads are now successful.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-07 15:09:03 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
Leonid Natapov
2015-03-23 09:56:54 UTC
# glance image-create --name cirros --disk-format qcow2 --container-format bare --is-public 1 --copy-from https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img ^^ worked fine for me with packstack allinone Problem is understood, patch underway Patch posted, testing: https://github.com/redhat-openstack/astapor/pull/500 Merged Verified: Environment: ruby193-rubygem-staypuft-0.5.21-1.el7ost.noarch openstack-puppet-modules-2014.2.12-1.el7ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el7ost.noarch rhel-osp-installer-client-0.5.7-1.el7ost.noarch openstack-foreman-installer-3.0.20-1.el7ost.noarch rhel-osp-installer-0.5.7-1.el7ost.noarch [root@maca25400702875 ~(openstack_admin)]# glance image-create --name cirros --disk-format qcow2 --container-format bare --is-public 1 --copy-from https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | None | | container_format | bare | | created_at | 2015-03-24T23:06:32 | | deleted | False | | deleted_at | None | | disk_format | qcow2 | | id | d9157361-e19a-4c7c-8d5e-934da8cbc4fe | | is_public | True | | min_disk | 0 | | min_ram | 0 | | name | cirros | | owner | 5573ba09532645cca803d46426bfcb83 | | protected | False | | size | 9761280 | | status | queued | | updated_at | 2015-03-24T23:06:32 | | virtual_size | None | +------------------+--------------------------------------+ [root@maca25400702875 ~(openstack_admin)]# glance image-list +--------------------------------------+--------+-------------+------------------+---------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+--------+-------------+------------------+---------+--------+ | d9157361-e19a-4c7c-8d5e-934da8cbc4fe | cirros | qcow2 | bare | 9761280 | active | +--------------------------------------+--------+-------------+------------------+---------+--------+ 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/RHSA-2015-0791.html |