summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2019-07-23 15:25:38 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2019-07-25 10:10:18 +0200
commit363e50cab81bfd4ad73b27bcac6ac5b567ec0447 (patch)
tree7edb57768d2d5666b9bdaf3f33dd44c3a85dfb6d /devstack
parentdaddf516bfe4dc3fc2cfd466acba8d652ec33eeb (diff)
downloadironic-363e50cab81bfd4ad73b27bcac6ac5b567ec0447.tar.gz
Enable testing adoption in the CI
Change-Id: Id175e0573b9ff76fd1b6c2e57af774e943ae1476 Depends-On: https://review.opendev.org/672286
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/ironic6
1 files changed, 5 insertions, 1 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index 1292390c0..d348d6283 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -2747,7 +2747,11 @@ function ironic_configure_tempest {
# Enabled features
iniset $TEMPEST_CONFIG baremetal_feature_enabled ipxe_enabled $IRONIC_IPXE_ENABLED
iniset $TEMPEST_CONFIG baremetal_feature_enabled fast_track_discovery $IRONIC_DEPLOY_FAST_TRACK
-
+ if [[ "$IRONIC_IS_HARDWARE" == "False" ]]; then
+ # Adoption requires reading or guessing the BMC credentials, so let's
+ # not enable it for real hardware, at least for now.
+ iniset $TEMPEST_CONFIG baremetal_feature_enabled adoption True
+ fi
}
function get_ironic_node_prefix {