Not working properly with venvs
Bug #1864941 reported by
Viorel-Cosmin Miron
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-cli |
New
|
Undecided
|
Unassigned |
Bug Description
using latests stable release, and i am on a venv in root/venv/
To post a comment you must log in.
(venv) root@compute- 1:/home/ kolla-cli# kolla-cli action reconfigure venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ utils.py" , line 364, in sync_read_file path=path) ) share/kolla- ansible/ ansible/ group_vars/ __GLOBAL_ _ as it was locked.
Error releasing lock
Traceback (most recent call last):
File "/root/
.format(
Exception: unable to read file /root/venv/
During handling of the above exception, another exception occurred:
Traceback (most recent call last): venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ utils.py" , line 627, in release _release_ flock() venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ utils.py" , line 652, in _release_flock close(self. fd) venv/lib/ python3. 6/site- packages/ kolla_cli/ commands/ kolla_action. py", line 186, in take_action reconfigure( verbose_ level, hosts, services) venv/lib/ python3. 6/site- packages/ kolla_cli/ api/control_ plane.py" , line 308, in reconfigure reconfigure( hostnames, servicenames) venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ ansible/ actions. py", line 74, in reconfigure _run_deploy_ rules(self. playbook) venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ ansible/ actions. py", line 219, in _run_deploy_rules venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ ansible/ actions. py", line 237, in _is_service_enabled get_property_ value(enabled_ property) venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ properties. py", line 224, in get_property_value _load_propertie s() venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ properties. py", line 66, in _load_properties _load_propertie s_global( ) venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ properties. py", line 104, in _load_propertie s_global file(self. globals_ path) venv/lib/ python3. 6/site- packages/ kolla_cli/ common/ utils.py" , line 364, in sync_read_file path=path) ) share/kolla- ansible/ ansible/ group_vars/ __GLOBAL_ _ as it was locked.
File "/root/
self.
File "/root/
os.
TypeError: an integer is required (got type NoneType)
Traceback (most recent call last):
File "/root/
job = CLIENT.
File "/root/
ansible_job = action.
File "/root/
self.
File "/root/
properties):
File "/root/
is_enabled = properties.
File "/root/
self.
File "/root/
self.
File "/root/
globals_data = sync_read_
File "/root/
.format(
Exception: unable to read file /root/venv/
(venv) root@compute- 1:/home/ kolla-cli#