Fix client in TroveActions

Fixes the TroveActions to connect to the Trove v1 client.  Also
provides the required user/pass for the fake_client.

Change-Id: I03503007a5bd71f3d58c8ad09b0eb5ffd3f9050a
Closes-bug: 1585703
This commit is contained in:
Morgan Jones 2016-05-25 14:12:03 -04:00 committed by Morgan Jones
parent 3023d4aca8
commit 18c6178c45

View File

@ -31,7 +31,7 @@ from novaclient import client as novaclient
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log from oslo_log import log
from swiftclient import client as swift_client from swiftclient import client as swift_client
from troveclient import client as troveclient from troveclient.v1 import client as troveclient
from zaqarclient.queues.v2 import client as zaqarclient from zaqarclient.queues.v2 import client as zaqarclient
from mistral.actions.openstack import base from mistral.actions.openstack import base
@ -320,7 +320,7 @@ class TroveAction(base.OpenStackAction):
@classmethod @classmethod
def _get_fake_client(cls): def _get_fake_client(cls):
return cls._client_class() return cls._client_class("fake_user", "fake_passwd")
class IronicAction(base.OpenStackAction): class IronicAction(base.OpenStackAction):