manila/manila/tests/compute
Thomas Bechtold bca18c6f10 service instance: also recognize instance name
Using the generic driver needs a service instance. The variable
"service_instance_name_or_id" indicates that it's possible to use
the UUID or the name of the Nova VM. Using the VM name currently only
works, when the instance is in the current tenant.
This fix searches the instance at first in the current tenant and
if not found, it searches again over all tenants.
Without this fix, you get the following error when using the name:

Failed to get Nova VM. No server with a name or ID of 'myname' exists.

Change-Id: I8770eff9752b76ebe490abf03a7ea6548282bf9b
Closes-Bug: #1535775
2016-03-16 12:48:17 +01:00
..
__init__.py Adds nova api needed for generic driver implementation 2014-02-10 10:10:32 +02:00
test_nova.py service instance: also recognize instance name 2016-03-16 12:48:17 +01:00