diff --git a/ansible/overcloud-introspection-data-save.yml b/ansible/overcloud-introspection-data-save.yml index 9ffa8133e..2cd80bc2e 100644 --- a/ansible/overcloud-introspection-data-save.yml +++ b/ansible/overcloud-introspection-data-save.yml @@ -13,7 +13,6 @@ command: > docker exec bifrost_deploy bash -c ' - export OS_TOKEN=fake-token && export BIFROST_INVENTORY_SOURCE=ironic && ansible baremetal --connection local @@ -22,7 +21,7 @@ -e @/etc/bifrost/dib.yml --limit {{ inventory_hostname }} -m shell - -a "env OS_URL=http://localhost:5050 openstack baremetal introspection data save {% raw %}{{ inventory_hostname }}{% endraw %}"' + -a "env OS_CLOUD=bifrost-inspector openstack baremetal introspection data save {% raw %}{{ inventory_hostname }}{% endraw %}"' register: save_result changed_when: False # Ignore errors, log a message later. diff --git a/releasenotes/notes/fix-introspection-data-save-cfc83714f66fd63c.yaml b/releasenotes/notes/fix-introspection-data-save-cfc83714f66fd63c.yaml new file mode 100644 index 000000000..3a32c45c7 --- /dev/null +++ b/releasenotes/notes/fix-introspection-data-save-cfc83714f66fd63c.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes a bug where introspection data save would fail. + See `Story 2007326 `_ + for more details.