[Glance] CLI Client should check the property before starting upload image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Medium
|
Darja Shakhray | ||
7.0.x |
Won't Fix
|
Medium
|
MOS Maintenance | ||
8.0.x |
Invalid
|
Medium
|
Darja Shakhray |
Bug Description
We need to add support checking 'disk-format' and 'container_format' properties into glance shell client before starting upload image.
Steps to reproduce:
root@node-1:~# glance --os-image-
[======
+------
| Property | Value |
+------
| checksum | None |
| container_format | None |
| created_at | 2015-09-
| disk_format | None |
| id | 9c8adc5b-
| min_disk | 0 |
| min_ram | 0 |
| name | None |
| owner | 6568b9984d994c4
| protected | False |
| size | None |
| status | queued |
| tags | [] |
| updated_at | 2015-09-
| virtual_size | None |
| visibility | private |
+------
400 Bad Request: Properties disk_format, container_format must be set prior to saving data. (HTTP 400)
root@node-1:~# glance --os-image-
[======
400 Bad Request: Disk format is not specified. (HTTP 400)
root@node-1:~#
Changed in mos: | |
assignee: | MOS Glance (mos-glance) → dshakhray (dshakhray) |
Won't Fix for 7.0-updates because of Medium importance, Confirmed for 8.0