Missing image causes confusing 'server show' response
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Terry Howe |
Bug Description
When an instance has been created and later the image it was based on has been deleted the Nova client will with 'nova show <id>' return all the usual information but will say the image is not found on the image line. In contrast the unified OpenStack client will not return any information except an error message about the missing image. I feel this is confusing as it should return the same amount of information as nova show, or give an error message that is more obviously related to the original command.
(openstack) server list
+------
| ID | Name | Status | Networks |
+------
| cd265ec5-
+------
(openstack) server show cd265ec5-
ERROR: openstack No image with a name or ID of '166a9d17-
Compare this output to the output of the Nova client which will give a lot more information in this situation despite the missing image :
nova show cd265ec5-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | AUTO |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2015-08-
| demo_net network | 192.168.2.26 |
| flavor | dc1.2x4.40 (196235bc-
| hostId | afce023c5f9ac7f
| id | cd265ec5-
| image | Image not found (166a9d17-
| key_name | much_secure_
| metadata | {} |
| name | wandows survur 2000 |
| os-extended-
| progress | 0 |
| security_groups | default |
| status | ACTIVE |
| tenant_id | 548c47cdbc4b4dd
| updated | 2015-08-
| user_id | e33558fbee27426
+------
Changed in python-openstackclient: | |
assignee: | nobody → Terry Howe (thowe-g) |
status: | New → Confirmed |
Changed in python-openstackclient: | |
milestone: | none → 1.7.0 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/218357
Review: https:/