Hi Jorge,

Thanks for your bug report.

I haven't been able to reproduce this (I suspect I'm missing a step).

I'm running the latest server code and using a 0.15.0 client version.

 $ ./tools/with_venv.sh glance image-create --disk-format raw 
--container-format bare --name thisisnull   < /etc/fstab
 +------------------+--------------------------------------+
 | Property         | Value                                | 
 +------------------+--------------------------------------+
 | checksum         | 398759a311bf25c6f1d67e753bb24dae     |
 | container_format | bare                                 |
 | created_at       | 2015-04-22T17:17:03.000000           |
 | deleted          | False                                |
 | deleted_at       | None                                 |
 | disk_format      | raw                                  |
 | id               | f4326763-6c0c-4fcb-bbf9-33b5a3bcab92 |
 | is_public        | False                                |
 | min_disk         | 0                                    |
 | min_ram          | 0                                    |
 | name             | thisisnull                           |
 | owner            | f1cd0225bd464bc2a3ebf136b13e04d1     |
 | protected        | False                                |
 | size             | 106                                  |
 | status           | active                               |
 | updated_at       | 2015-04-22T17:17:03.000000           |
 | virtual_size     | None                                 | 
+------------------+--------------------------------------+


 $ ./tools/with_venv.sh glance --os-image-api-version 2 image-list

 +--------------------------------------+---------------------------------+
 | ID                                   | Name                            | 
 +--------------------------------------+---------------------------------+
 | f4326763-6c0c-4fcb-bbf9-33b5a3bcab92 | thisisnull                      |
 | 45dd2ab7-9c8c-4221-a91f-996bc1be74a1 | thisisnull                      |
 | 3a798bd6-7501-4aec-811e-7cf1aec3af27 | cirros-0.3.2-x86_64-uec         |
 | eae31938-c19e-438f-ba28-96c3d479f663 | cirros-0.3.2-x86_64-uec-ramdisk |
 | 80878678-2c15-410a-a7e3-febf3e96e92c | cirros-0.3.2-x86_64-uec-kernel  | 
 +--------------------------------------+---------------------------------+

Is this related to upgrade in some way? Eg was the server initially
running juno when the image was created?

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1447193

Title:
  Glance client fails with v2 API / Failed validating 'Type' in
  schema[u'properties'][u'ramdisk_id']

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1447193/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to