Fix issue with wrong call of SSHManager
Change-Id: I4761bcfd9f7d742035aa050ef258aaca9810618a
This commit is contained in:
parent
27a4489cb4
commit
db91c613b4
|
@ -337,12 +337,13 @@ def check_service(ip, commands):
|
|||
example of commands:
|
||||
['nova-manage service list | grep vcenter-vmcluster1'
|
||||
"""
|
||||
SSHManager.execute_on_remote(ip=ip, cmd='source openrc')
|
||||
ssh_manager = SSHManager()
|
||||
ssh_manager.execute_on_remote(ip=ip, cmd='source openrc')
|
||||
|
||||
for cmd in commands:
|
||||
wait(
|
||||
lambda:
|
||||
':-)' in SSHManager.execute_on_remote(ip=ip,
|
||||
':-)' in ssh_manager.execute_on_remote(ip=ip,
|
||||
cmd=cmd)['stdout'][-1],
|
||||
timeout=200)
|
||||
|
||||
|
|
|
@ -54,8 +54,7 @@ class TestDVSSmoke(TestBasic):
|
|||
|
||||
self.show_step(1)
|
||||
self.show_step(2)
|
||||
plugin.install_dvs_plugin(
|
||||
self.ssh_manager.admin_ip)
|
||||
plugin.install_dvs_plugin(self.ssh_manager.admin_ip)
|
||||
|
||||
cmd = 'fuel plugins list'
|
||||
|
||||
|
|
Loading…
Reference in New Issue