Oracle Openstack 4.0.1: kollacli CLI Returns Error: "Exception: unable to get ansible lock while writing to /usr/share/kolla/ansible/group_vars/__GLOBAL__ as it was locked."
(Doc ID 2360761.1)
Last updated on JANUARY 30, 2020
Applies to:Oracle OpenStack for Oracle Linux - Version OpenStack 4.0.1 and later
Get below error when executing kollacli command, e.g.:
$ kollacli property set enable_cinder no
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/commands/property.py", line 78, in take_action
File "/usr/lib/python2.7/site-packages/kollacli/api/properties.py", line 73, in property_set
File "/usr/lib/python2.7/site-packages/kollacli/common/properties.py", line 247, in set_property
File "/usr/lib/python2.7/site-packages/kollacli/common/utils.py", line 311, in change_property
File "/usr/lib/python2.7/site-packages/kollacli/common/utils.py", line 362, in sync_write_file
Exception: unable to get ansible lock while writing to /usr/share/kolla/ansible/group_vars/__GLOBAL__ as it was locked.
This error might be seen with any kollacli command.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document