5ee23cf83d
When 'openstack overcloud ceph user enable --standalone' is run, call Ansible with '--limit undercloud'. Bug #1979093 happened because Ansible was running the user module on the same host as if it were two hosts. The module is idempotent but not race safe. E.g. when user execution A and user execution B are run on the same host, A's check that the user does not exist might be true but before A goes on to create the user, B could have created it first depending on scheduling. The python-tripleoclient uses Ansible --limit when creating the ceph-admin user so only _admin nodes get the private key. This works for multinode but standalone only has one node, so for that condition redefine the limit list to that single node. Change-Id: I2f62cdfcb88edb5552cbd7351b6240f78376c93d Closes-Bug: #1979093 |
||
---|---|---|
.. | ||
__init__.py | ||
overcloud_ceph.py | ||
overcloud_delete.py | ||
overcloud_network.py | ||
overcloud_node.py | ||
overcloud_support.py | ||
tripleo_container_image.py |