Init the orchestration client from config (part2)
Tempest will not be initialising the orchestration client by default anymore since Heat is not a service hosted in Tempest (for a long time now). The client is still available in Tempest (as long as it's not made available by heat somewhere else), so to use it it's enough to pass it's configuration to it. This was partly fixed in Ic6fef4b4f260d13efd7b035bc012369f0da55602 but the patch was not complete. Change-Id: Iba1680276fec776a81f1e91fd591137e39bf6d07
This commit is contained in:
parent
60eb9ed60f
commit
f2f057c3f3
|
@ -393,7 +393,11 @@ class BaseApplicationCatalogScenarioIsolatedAdminTest(
|
|||
cls.os_admin.application_catalog_client
|
||||
cls.artifacts_client = cls.os_admin.artifacts_client
|
||||
cls.servers_client = cls.services_manager.servers_client
|
||||
cls.orchestration_client = cls.services_manager.orchestration_client
|
||||
# NOTE(andreaf) The orchestration client is not initialised in Tempest
|
||||
# by default anymore.
|
||||
params = config.service_client_config('orchestration')
|
||||
cls.orchestration_client = orchestration.OrchestrationClient(
|
||||
cls.services_manager.auth_provider, **params)
|
||||
cls.snapshots_client = cls.services_manager.snapshots_v2_client
|
||||
cls.volumes_client = cls.services_manager.volumes_v2_client
|
||||
cls.backups_client = cls.services_manager.backups_v2_client
|
||||
|
|
Loading…
Reference in New Issue