Oleksii Zhurba | 5dc7dc7 | 2017-10-31 19:10:32 +0000 | [diff] [blame] | 1 | def test_nova_services_status(local_salt_client): |
2 | result = local_salt_client.cmd( | ||||
3 | 'keystone:server', | ||||
4 | 'cmd.run', | ||||
Oleksii Zhurba | 850439b | 2018-07-30 11:09:37 -0500 | [diff] [blame] | 5 | ['. /root/keystonerc; nova service-list | grep "down\|disabled" | grep -v "Forced down"'], |
Oleksii Zhurba | 5dc7dc7 | 2017-10-31 19:10:32 +0000 | [diff] [blame] | 6 | expr_form='pillar') |
7 | assert result[result.keys()[0]] == '', \ | ||||
8 | '''Some nova services are in wrong state''' |