Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to limit Tempest output ?

Hi there,

I'm working with tempest to make a monitoring script of my IaaS I have some issues with the output of the tests that are run.

How can I limit/suppress any 'INFO' or 'WARNING' output within the API ? I know I can filter the output but It's not practical at all...

Some lines I would like to hide :

Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} (...)
2016-01-04 16:50:45.127 15986 INFO paramiko.transport [-] Connected (version 2.0, client dropbear_2012.55)
2016-01-04 16:50:45.567 15986 INFO paramiko.transport [-] Authentication (publickey) successful!
2016-01-04 16:51:08.721 15986 WARNING tempest_lib.common.ssh [-] Failed to establish authenticated ssh connection to cirros@172.16.117.70 ([Errno None] Unable to connect to port 22 on  or 172.16.117.70). Number attempts: 1. Retry after 2 seconds.

Maybe someone could help me with some sub-utilities (testr ?) in order to hide all/any of this ?