[CI] Test Ironic Inspector API

Per the recent Kayobe brekage due to TLS support in Ironic [1],
let's test Ironic Inspector API as well.

[1] https://review.opendev.org/750804

Change-Id: I7ccf0c4286f8907bc2fa2eabc41ec2876c9815a9
This commit is contained in:
Radosław Piliszek 2020-09-10 11:12:53 +02:00
parent 8a8c221286
commit e94f97399b
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ function setup_openstack_clients {
packages+=(python-zunclient) packages+=(python-zunclient)
fi fi
if [[ $SCENARIO == ironic ]]; then if [[ $SCENARIO == ironic ]]; then
packages+=(python-ironicclient) packages+=(python-ironicclient python-ironic-inspector-client)
fi fi
if [[ $SCENARIO == masakari ]]; then if [[ $SCENARIO == masakari ]]; then
packages+=(python-masakariclient) packages+=(python-masakariclient)

View File

@ -103,6 +103,8 @@ function test_ironic_logged {
baremetal_driver_list=$(openstack baremetal driver list) baremetal_driver_list=$(openstack baremetal driver list)
openstack baremetal node list openstack baremetal node list
openstack baremetal port list openstack baremetal port list
# Ironic Inspector API
openstack baremetal introspection rule list
# Sanity check. # Sanity check.
if ! echo "$baremetal_driver_list" | grep fake-hardware; then if ! echo "$baremetal_driver_list" | grep fake-hardware; then