yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #61015
[Bug 1261893] Re: glance image-create --location doesn't fail with bad URLs
Image creation with locations was asynchronous in v1. Given that
locations are disabled by default in v2 and no longer as ergonomic, I'm
marking this as won't fix.
** Changed in: python-glanceclient
Assignee: Victor Morales (electrocucaracha) => (unassigned)
** Changed in: python-glanceclient
Status: In Progress => Won't Fix
--
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):
Confirmed
Status in Glance Client:
Won't Fix
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