Tempest: Fixed scenarios for SSH authentication failures
- Bug: 1842072 - SSH is failing on authentication and tempest fails most of the scenario tests. Enable config_drive that helps in SSH authentication process. Change-Id: Ia6daebb5f3ccf79eb210657a46fca4f1d2b4fcef
This commit is contained in:
parent
7b64469d32
commit
51a64ade39
@ -62,6 +62,7 @@ class TestAllowedAddressPair(manager.NetworkScenarioTest):
|
||||
self.cmgr_adm = self.get_client_manager('admin')
|
||||
self.keypairs = {}
|
||||
self.servers = []
|
||||
self.config_drive = CONF.compute_feature_enabled.config_drive
|
||||
|
||||
def _delete_router(self, router):
|
||||
body = self.ports_client.list_ports(device_id=router['id'])
|
||||
@ -123,6 +124,7 @@ class TestAllowedAddressPair(manager.NetworkScenarioTest):
|
||||
network = {'uuid': network['id']}
|
||||
server = self.create_server(name=name, networks=[network],
|
||||
key_name=keypair['name'],
|
||||
config_drive=self.config_drive,
|
||||
security_groups=security_groups,
|
||||
image_id=image_id,
|
||||
wait_until='ACTIVE')
|
||||
|
@ -73,6 +73,7 @@ class TestMultiHVNetworkOps(manager.NetworkScenarioTest):
|
||||
self.servers = []
|
||||
self.esx_image = CONF.compute.image_ref
|
||||
self.kvm_image = CONF.compute.image_ref_alt
|
||||
self.config_drive = CONF.compute_feature_enabled.config_drive
|
||||
|
||||
def _setup_l2_topo(self, **kwargs):
|
||||
self.security_group = self._create_security_group()
|
||||
@ -95,6 +96,7 @@ class TestMultiHVNetworkOps(manager.NetworkScenarioTest):
|
||||
network = {'uuid': network['id']}
|
||||
server = self.create_server(name=name, networks=[network],
|
||||
key_name=keypair['name'],
|
||||
config_drive=self.config_drive,
|
||||
security_groups=security_groups,
|
||||
image_id=image_id,
|
||||
wait_until='ACTIVE')
|
||||
|
@ -72,6 +72,7 @@ class TestMultiNetworksOps(manager.NetworkScenarioTest):
|
||||
super(TestMultiNetworksOps, self).setUp()
|
||||
self.keypairs = {}
|
||||
self.servers = []
|
||||
self.config_drive = CONF.compute_feature_enabled.config_drive
|
||||
|
||||
def _setup_networks_and_servers(self, **kwargs):
|
||||
boot_with_port = kwargs.pop('boot_with_port', False)
|
||||
@ -141,6 +142,7 @@ class TestMultiNetworksOps(manager.NetworkScenarioTest):
|
||||
network['port'] = port_id
|
||||
server = self.create_server(name=name, networks=[network],
|
||||
key_name=keypair['name'],
|
||||
config_drive=self.config_drive,
|
||||
security_groups=security_groups,
|
||||
image_id=image_id,
|
||||
wait_until='ACTIVE')
|
||||
|
@ -62,6 +62,7 @@ class TestNSXv3PortSecurityScenario(manager.NetworkScenarioTest):
|
||||
self.cmgr_adm = self.get_client_manager('admin')
|
||||
self.keypairs = {}
|
||||
self.servers = []
|
||||
self.config_drive = CONF.compute_feature_enabled.config_drive
|
||||
|
||||
def _delete_router(self, router):
|
||||
body = self.ports_client.list_ports(device_id=router['id'])
|
||||
@ -125,6 +126,7 @@ class TestNSXv3PortSecurityScenario(manager.NetworkScenarioTest):
|
||||
network['port'] = port_id
|
||||
server = self.create_server(name=name, networks=[network],
|
||||
key_name=keypair['name'],
|
||||
config_drive=self.config_drive,
|
||||
security_groups=security_groups,
|
||||
image_id=image_id,
|
||||
wait_until='ACTIVE')
|
||||
|
Loading…
Reference in New Issue
Block a user