Comment 2 for bug 1918188

Revision history for this message
John Fulton (jfulton-org) wrote :

The standalone inventory [1] has Undercloud and Standalone but they are both the same host.
The logs [2] show two hosts ran:

2021-03-09 18:11:28,668 p=96474 u=root n=ansible | localhost : ok=16 changed=3 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0
2021-03-09 18:11:28,669 p=96474 u=root n=ansible | standalone : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

So it tries to enable the account on the "first" host and then fails when trying to create it on the second?

How can I get it to run on just one and what is the point of the tripleo_target_host [3]?

[1] https://f14d9b704a9d947abb07-39d40a512ecd567406090b9a01c1d98a.ssl.cf1.rackcdn.com/767294/64/check/tripleo-ci-centos-8-scenario001-standalone/5891a47/logs/undercloud/home/zuul/standalone-ansible-nt6zd6np/cephadm/inventory.yml

[2] https://f14d9b704a9d947abb07-39d40a512ecd567406090b9a01c1d98a.ssl.cf1.rackcdn.com/767294/64/check/tripleo-ci-centos-8-scenario001-standalone/5891a47/logs/undercloud/home/zuul/standalone-ansible-nt6zd6np/cephadm/cephadm_enable_user_key.log

[3] https://github.com/openstack/tripleo-ansible/blob/master/tripleo_ansible/playbooks/cli-enable-ssh-admin.yaml#L17