openstack-foreman-installer-3.0.19-1.el7ost.noarch openstack-puppet-modules-2014.2.12-1.el7ost.noarch openstack-glance-2014.2.2-1.el7ost.noarch Description of problem: While trying to download a glance image getting the following error: [root@mac848f69fbc49f ~(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 Request returned failure status 400. <html> <head> <title>400 Bad Request</title> </head> <body> <h1>400 Bad Request</h1> External sourcing not supported for store 'http'<br /><br /> </body> </html> (HTTP 400) Version-Release number of selected component (if applicable): Quick investigation showed that glance_store option in glance-api.conf file enables stores=glance.store.filesystem.Store. After disabling this option image download was successful. So,it seems like default options for glance_store has been changed vs A1. We never touched glance-api.conf in A1. How reproducible: 100% Steps to Reproduce: 1.Try to download image using http. 2. 3. Actual results: Image fails to download. Expected results: Image can be successfully downloaded. Additional info:
# 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