flavor_disk = 50
username = 'centos'
ssh_connect_loops = 12
+ create_server_timeout = 240
ports = [80, 443, 5671, 53333]
def __init__(self, **kwargs):
flavor_alt_ram = 1024
flavor_alt_vcpus = 1
flavor_alt_disk = 1
+ create_server_timeout = 60
def __init__(self, **kwargs):
if "case_name" not in kwargs:
vm1 = self.cloud.create_server(
name if name else '{}-vm_{}'.format(self.case_name, self.guid),
image=self.image.id, flavor=self.flavor.id,
- auto_ip=False, wait=True,
- network=self.network.id,
- **kwargs)
+ auto_ip=False, wait=True, network=self.network.id,
+ timeout=self.create_server_timeout, **kwargs)
vm1 = self.cloud.wait_for_server(vm1, auto_ip=False)
self.__logger.debug("vm: %s", vm1)
return vm1