Description of problem: we cannot edit location for image unless its in queued status. the help file does not specify that: --location <IMAGE_URL> URL where the data for this image already resides. For example, if the image data is stored in swift, you could specify --copy-from <IMAGE_URL> Similar to '--location' in usage, but this indicates that the Glance server should immediately copy the data and store it in its configured image store. [root@opens-vdsb ~(keystone_admin)]# glance image-update dc79349e-de25-4ec5-8b12-5a6145270c47 --location http://download.eng.tlv.redhat.com/rel-eng/RHEL6.4-20130130.0/6/Appliance/rhel-server-x86_64-kvm-6.4_20130130.0-2-sda.qcow2 Request returned failure status. 400 Bad Request Attempted to update Location field for an image not in queued status. (HTTP 400) [root@opens-vdsb ~(keystone_admin)]# glance image-update dc79349e-de25-4ec5-8b12-5a6145270c47 --copy-from http://download.eng.tlv.redhat.com/rel-eng/RHEL6.4-20130130.0/6/Appliance/rhel-server-x86_64-kvm-6.4_20130130.0-2-sda.qcow2 Request returned failure status. 400 Bad Request Attempted to update Location field for an image not in queued status. (HTTP 400) Version-Release number of selected component (if applicable): openstack-glance-2013.1.3-1.el6ost.noarch How reproducible: 100% Steps to Reproduce: 1. create an image 2. try to update the image location using --location or --copy-from 3. Actual results: we fail because image is not in queued status. Expected results: help file should be fixed. it looks like it was copied as is from create-image help Additional info: https://bugs.launchpad.net/glance/+bug/1220809
Help isn't incorrect but incomplete. After using this on image in wrong state (not queued) you get sane explanation why. No need to track this upstream RFE here.