Fix actuator and basic optim scenario
This patch fixes actuator and basic optim scenario to create server as non admin user Change-Id: I6d316a1bce5fc48c793699450867875167c5a21c
This commit is contained in:
parent
eac71568e9
commit
f453e4f7e5
@ -145,7 +145,10 @@ class TestExecuteActionsViaActuator(base.BaseInfraOptimScenarioTest):
|
||||
# landed on the host in question.
|
||||
instance = self.create_server(image_id=CONF.compute.image_ref,
|
||||
wait_until='ACTIVE',
|
||||
clients=self.mgr)
|
||||
clients=self.os_primary)
|
||||
# get instance object again as admin
|
||||
instance = self.mgr.servers_client.show_server(
|
||||
instance['id'])['server']
|
||||
created_servers.append(instance)
|
||||
self.make_instance_statistic(instance)
|
||||
|
||||
|
@ -125,7 +125,10 @@ class TestExecuteBasicStrategy(base.BaseInfraOptimScenarioTest):
|
||||
name="instance-%d" % idx,
|
||||
image_id=CONF.compute.image_ref,
|
||||
wait_until='ACTIVE',
|
||||
clients=self.mgr)
|
||||
clients=self.os_primary)
|
||||
# get instance object again as admin
|
||||
instance = self.mgr.servers_client.show_server(
|
||||
instance['id'])['server']
|
||||
self.make_instance_statistic(instance)
|
||||
|
||||
def test_execute_basic_action_plan(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user