I'm struggling to understand why I'm not able to reproduce using image-list. I do suspect that the image-list issue has gone away with an updated client, but can't be 100% sure.
The nova stack trace in comment #4 is from an image-show rather than an image list.
I am able to reproduce using image-show (as suggested by Mike Fedosin) ie
$ glance --os-image-api-version 1 image-create --name test --disk-format raw --container-format bare --property ramdisk_id= --property kernel_id=
I installed a stable kilo devstack, but still wasn't able to get the image-list reproducer to work:
$ glance --version
0.17.2
$ glance --os-image- api-version 1 image-create --name test --disk-format raw --container-format bare --property ramdisk_id= --property kernel_id= --file /etc/fstab ------- ------- ---+--- ------- ------- ------- ------- ------- + ------- ------- ---+--- ------- ------- ------- ------- ------- + 8a25d6db3109063 ae | 23T15:55: 41.000000 | e254-44d7- 9499-78b13b498b b4 | 58d73791ed9e0ed 9f | 23T15:55: 42.000000 | ------- ------- ---+--- ------- ------- ------- ------- ------- +
+------
| Property | Value |
+------
| Property 'kernel_id' | None |
| Property 'ramdisk_id' | None |
| checksum | 9cb02fe7fcac26f
| container_format | bare |
| created_at | 2015-07-
| deleted | False |
| deleted_at | None |
| disk_format | raw |
| id | a139ed67-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | test |
| owner | 3447cea05d69476
| protected | False |
| size | 145 |
| status | active |
| updated_at | 2015-07-
| virtual_size | None |
+------
$ glance --os-image- api-version 2 image-list ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ---+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ---+ cb1c-49b0- a821-704a3525df cc | cirros- 0.3.2-x86_ 64-uec | fc51-494f- b80b-f9de075dc0 0f | cirros- 0.3.2-x86_ 64-uec- kernel | 8b1b-4f94- 9ecc-6c2061c740 34 | cirros- 0.3.2-x86_ 64-uec- ramdisk | 3087-4361- a6ad-89fbf544ae 2e | cirros- 0.3.4-x86_ 64-uec | 1563-4700- 8f33-880334a5f8 34 | cirros- 0.3.4-x86_ 64-uec- kernel | 3b6c-44fa- 823b-e7d108b43d 9d | cirros- 0.3.4-x86_ 64-uec- ramdisk | e254-44d7- 9499-78b13b498b b4 | test | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ---+
+------
| ID | Name |
+------
| 75fb76bc-
| 9325073e-
| 9cf53d72-
| e156d634-
| f0134c5f-
| d22d2060-
| a139ed67-
+------
I'm struggling to understand why I'm not able to reproduce using image-list. I do suspect that the image-list issue has gone away with an updated client, but can't be 100% sure.
The nova stack trace in comment #4 is from an image-show rather than an image list.
I am able to reproduce using image-show (as suggested by Mike Fedosin) ie
$ glance --os-image- api-version 1 image-create --name test --disk-format raw --container-format bare --property ramdisk_id= --property kernel_id=
$ glance --os-image- api-version 2 image-show b51e04cc- dab9-4419- 80dc-87c16b8865 51
as per http:// paste.openstack .org/show/ 380777.