mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
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 |
||
|---|---|---|
| .. | ||
| api | ||
| common | ||
| compute | ||
| identity | ||
| image | ||
| locale/tr_TR/LC_MESSAGES | ||
| network | ||
| object | ||
| tests | ||
| volume | ||
| __init__.py | ||
| i18n.py | ||
| shell.py | ||