Merge lp:~rconradharris/glance/bug706192 into lp:~hudson-openstack/glance/trunk
Proposed by
Rick Harris
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jay Pipes | ||||
Approved revision: | 50 | ||||
Merged at revision: | 47 | ||||
Proposed branch: | lp:~rconradharris/glance/bug706192 | ||||
Merge into: | lp:~hudson-openstack/glance/trunk | ||||
Prerequisite: | lp:~rconradharris/glance/bug706174 | ||||
Diff against target: |
249 lines (+136/-61) 5 files modified
bin/glance-upload (+85/-0) glance/registry/db/sqlalchemy/api.py (+46/-11) glance/util.py (+3/-2) setup.py (+2/-1) tests/test_data.py (+0/-47) |
||||
To merge this branch: | bzr merge lp:~rconradharris/glance/bug706192 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jay Pipes (community) | Approve | ||
Devin Carlen (community) | Approve | ||
Review via email: mp+47166@code.launchpad.net |
Description of the change
This patch:
* Converts dashes to underscores when extracting image-properties from HTTP headers (we already do this for 'regular' image attributes
* Update image_properties on image PUTs rather than trying to create dups
Bonus:
* Remove useless test_data file (no longer needed now that we can actually use Glance API via glance/client.py)
* Add glance_upload.py which we can use to add raw/extra-kernel images (this might be able to go away once we have a full-blown glance-admin tool. However, for now, this is useful for testing Glance <-> Nova integration.
To post a comment you must log in.
lgtm except for a localization nit. need to _() this:
79 + die("kernel and ramdisk required for machine image")