From 95af80353b7673b97c24c91d47baaf6ab7194f8d Mon Sep 17 00:00:00 2001 From: ktibi Date: Wed, 18 Oct 2017 17:28:55 +0200 Subject: [PATCH] add version for ironic api (#37) * add version for ironic api Fix a failure in the bifrost inventory script * Update overcloud-provision.yml --- ansible/overcloud-provision.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/overcloud-provision.yml b/ansible/overcloud-provision.yml index b3a8c56ab..d40ff5b85 100644 --- a/ansible/overcloud-provision.yml +++ b/ansible/overcloud-provision.yml @@ -38,6 +38,7 @@ bash -c '. env-vars && export OS_URL=$IRONIC_URL && export OS_TOKEN=$OS_AUTH_TOKEN && + export OS_BAREMETAL_API_VERSION=1.34 && export BIFROST_INVENTORY_SOURCE=ironic && ansible baremetal --connection local @@ -127,6 +128,7 @@ docker exec bifrost_deploy bash -c '. env-vars && export BIFROST_INVENTORY_SOURCE=ironic && + export OS_BAREMETAL_API_VERSION=1.34 && ansible-playbook -vvvv /bifrost/playbooks/deploy-dynamic.yaml --inventory /etc/bifrost/inventory/ @@ -149,6 +151,7 @@ bash -c '. env-vars && export OS_URL=$IRONIC_URL && export OS_TOKEN=$OS_AUTH_TOKEN && + export OS_BAREMETAL_API_VERSION=1.34 && export BIFROST_INVENTORY_SOURCE=ironic && ansible baremetal --connection local