Comment 2 for bug 1226089

Revision history for this message
Chris Friesen (cbf123) wrote :

This is not a dupe of 1184965, I'm specifying all the rest of the options. (I just realized I should have been more clear above.)

The full command that I'm running is:

glance image-create --name cirros --is-public true --container-format bare --disk-format qcow2 --location https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img

I'm using a standard Ubuntu 12.04 image with grizzly from http://ubuntu-cloud.archive.canonical.com. On this system eth0 is my connection to the outside world, while eth1 is a private network between the control/compute nodes. If I "down" eth0 and then run the above command, it sits for a while and then spits out the following:

+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | None |
| container_format | bare |
| created_at | 2013-09-17T14:57:01.543482 |
| deleted | False |
| deleted_at | None |
| disk_format | qcow2 |
| id | 31b873a6-a56a-48d2-9932-ad2584ff13a7 |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros |
| owner | None |
| protected | False |
| size | 0 |
| status | active |
| updated_at | 2013-09-17T14:57:01.597705 |
+------------------+----

At this point, running "glance image-list" gives:

+--------------------------------------+--------------+-------------+------------------+-----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+--------------+-------------+------------------+-----------+--------+
| 2384c6db-5454-40b7-876c-fd7c90057bdb | fedora64 | qcow2 | bare | 237371392 | active |
| d32274eb-8b1f-42bb-8a3c-8e462c911553 | myFirstImage | qcow2 | bare | 9761280 | active |
| 31b873a6-a56a-48d2-9932-ad2584ff13a7 | cirros | qcow2 | bare | | active |
+--------------------------------------+--------------+-------------+------------------+-----------+--------+