Comment 0 for bug 1661342

Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

SSHClient in fuel-devops uses 'print' function to verbose the output of the execution a remote command.

But the output of 'print' function can be in wrong order towards the logger.info output.

Example of the current output (pay attention to the strings with "Executing command:...". The command with "apt-get-update" should be in the step #2; all the output before it - from the step #1): http://paste.openstack.org/show/597408/

This is how it is expected: http://paste.openstack.org/show/597409/

In the first example above, steps headers "[ Install ...]" are shown with logger.info() method, all the rest - with print() function.

In the second example, print() is also replaced with logger.info() and looks fine.