Stdout for remote call fix

Wrong property used for the stdout analysis .
Also steps order fixed.

Change-Id: I56f465facdd3e3e4fd6b4e7aa61690214f3b254c
Partial-Bug: 1652030
This commit is contained in:
Dmitry Belyaninov 2017-02-06 22:23:11 +00:00
parent 087c85512a
commit 0eb080905b
2 changed files with 3 additions and 2 deletions

View File

@ -148,7 +148,7 @@ class TestNodeDiskSizes(object):
self.manager.show_step(7)
fuel_web.verify_network(cluster_id)
self.manager.show_step(6)
self.manager.show_step(8)
fuel_web.run_ostf(
cluster_id=cluster_id,
test_sets=['ha', 'smoke', 'sanity'])

View File

@ -1110,7 +1110,8 @@ class FuelWebClient29(object):
def get_cluster_block_devices(self, node_name):
logger.info('Get %s node block devices (lsblk)', node_name)
with self.get_ssh_for_node(node_name) as remote:
return remote.check_call('/bin/lsblk').stdout_str
# Note: 'lsblk' comand returns some undecodable symbols
return ''.join(remote.check_call('/bin/lsblk')['stdout'])
@logwrap
def get_pacemaker_status(self, controller_node_name):