blob: 7332a495cc7773c7a85d8394cb383a43925f5c8a [file] [log] [blame]
Oleksii Zhurba5dc7dc72017-10-31 19:10:32 +00001def test_nova_services_status(local_salt_client):
2 result = local_salt_client.cmd(
3 'keystone:server',
4 'cmd.run',
Oleksii Zhurba850439b2018-07-30 11:09:37 -05005 ['. /root/keystonerc; nova service-list | grep "down\|disabled" | grep -v "Forced down"'],
Oleksii Zhurba5dc7dc72017-10-31 19:10:32 +00006 expr_form='pillar')
7 assert result[result.keys()[0]] == '', \
8 '''Some nova services are in wrong state'''