My Oracle Support Banner

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
Linux x86-64

Symptoms

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
'global')
File "/usr/lib/python2.7/site-packages/kollacli/api/properties.py", line 73, in property_set
ansible_properties.set_property(property_dict)
File "/usr/lib/python2.7/site-packages/kollacli/common/properties.py", line 247, in set_property
clear=False)
File "/usr/lib/python2.7/site-packages/kollacli/common/utils.py", line 311, in change_property
sync_write_file(file_path, write_data)
File "/usr/lib/python2.7/site-packages/kollacli/common/utils.py", line 362, in sync_write_file
.format(path=path))
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.

 

Cause

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
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.