Files
python-openstackclient/openstackclient
Rajat Dhasmana c657047d7e volume list: Don't call nova if no volume is attached
Currently 'openstack volume list' calls nova to resolve server UUIDs
to server names. This is not required if:
1. no volume is attached to an instance
2. no volume exists in deployment

This patch fixes this by checking volume statuses and, if any volume has
status 'in-use', we will call nova to resolve server names.
Note that we don't check for 'reserved', 'attaching', 'detaching'
states since those are transition states and doesn't guarantee that
the volume is actually attached to the instance.

Change-Id: Ic4d89db69244d3fba44d4b69c79b3e7632ee3d53
2023-12-06 17:39:03 +05:30
..
2023-05-10 10:51:30 +01:00
2023-11-03 23:16:18 +00:00
2023-11-03 23:16:18 +00:00
2018-04-15 12:23:06 +09:00
2017-03-21 17:23:09 +08:00
2023-05-10 10:51:30 +01:00