All image clients must use image build timeout

Image client for compute section uses compute build timeout.
The patch does that client explicitly uses image build timout.

Closes-Bug: 1989459
Change-Id: I04fda53890025fad3bfd5b0e0aa39667da094109
This commit is contained in:
Mitya_Eremeev 2022-09-16 15:49:53 +03:00 committed by mitya-eremeev-2
parent f1d0e395e9
commit 6caf3b3573
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,6 @@ class Manager(clients.ServiceClients):
enable_instance_password=eip)
self.server_groups_client = self.compute.ServerGroupsClient()
self.limits_client = self.compute.LimitsClient()
self.compute_images_client = self.compute.ImagesClient()
self.keypairs_client = self.compute.KeyPairsClient(
ssh_key_type=CONF.validation.ssh_key_type)
self.quotas_client = self.compute.QuotasClient()
@ -158,6 +157,8 @@ class Manager(clients.ServiceClients):
**params_volume)
self.snapshots_extensions_client = self.compute.SnapshotsClient(
**params_volume)
self.compute_images_client = self.compute.ImagesClient(
build_timeout=CONF.image.build_timeout)
def _set_placement_clients(self):
self.placement_client = self.placement.PlacementClient()