yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07788
[Bug 1261893] Re: glance image-create --location doesn't fail with bad URLs
** Also affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1261893
Title:
glance image-create --location doesn't fail with bad URLs
Status in OpenStack Dashboard (Horizon):
New
Status in Python client library for Glance:
New
Bug description:
I ran the command below, then realized that the URL is bad, there's no
server there. Instead of throwing an error, it blindly created another
image of size ''. Didn't see anything in the recent commits for it,
this is on Ubuntu 12.04.
python-glanceclient 1:0.11.0-0ubuntu1~cloud0
Client library for Openstack glance server.
root@larry:~# glance image-create --name cirros --is-public true --container-format bare --disk-format qcow2 --location http://10.0.0.1:9630/isos/cirros-0.3.0-x86_64-disk.img
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | None |
| container_format | bare |
| created_at | 2013-12-17T19:20:57 |
| deleted | False |
| deleted_at | None |
| disk_format | qcow2 |
| id | 93ca9d12-f9c9-4ef1-a12a-192cc2251da3 |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros |
| owner | 9db5a2b06743410eb506384f19ae7db7 |
| protected | False |
| size | 0 |
| status | active |
| updated_at | 2013-12-17T19:20:57 |
+------------------+--------------------------------------+
root@larry:~# glance image-list
+--------------------------------------+--------+-------------+------------------+------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+--------+-------------+------------------+------+--------+
| 93ca9d12-f9c9-4ef1-a12a-192cc2251da3 | cirros | qcow2 | bare | | active |
+--------------------------------------+--------+-------------+------------------+------+--------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1261893/+subscriptions