Disable use of the SSH agent for the rescue test
Paramiko, by default, attempts agent based authentication before ever attempting password based authentication. But this doesn't work so well if the environment has an agent running or thinks it has an agent running, because it breaks the rescue test. Instead, explicitly tell the tempest and thus paramiko to *not* use the ssh-agent functionality. Depends-On: https://review.opendev.org/c/openstack/tempest/+/872566 Change-Id: Ia2870579c7398d359b8d360fe7d1e42abb79b299
This commit is contained in:
parent
6457709e6e
commit
b4f8b42c8e
|
@ -271,7 +271,8 @@ class BaremetalScenarioTest(manager.ScenarioTest):
|
|||
password=rescue_password,
|
||||
server=self.instance,
|
||||
servers_client=servers_client,
|
||||
ssh_timeout=CONF.baremetal.rescue_timeout)
|
||||
ssh_timeout=CONF.baremetal.rescue_timeout,
|
||||
ssh_allow_agent=False)
|
||||
linux_client.validate_authentication()
|
||||
|
||||
def unrescue_instance(self, instance, node, server_ip,
|
||||
|
|
Loading…
Reference in New Issue