No module named oslo_config
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Expired
|
Undecided
|
Unassigned |
Bug Description
OS: CentOS Linux 7.4.1708
OpenStack release: Pike
Ansible version: 2.4.3.0
Python version: 2.7.5
When running `kolla-ansible -i ./multinode deploy` I receive the following error during execution of the `/usr/share/
ERROR! Unexpected Exception, this is probably a bug: No module named oslo_config
I will provide the verbose output using -vvv in an attachment. I don't really understand the purpose/role of oslo_config, just that it is provided by pip. I have tried running the following to upgrade the package but nothing has resolved the error.
sudo pip install [oslo_config/
sudo pip install --ignore-installed [oslo.config/
sudo yum install python2-oslo-config
Furthermore, after each of these operations, I have launched a Python shell and tested `import oslo_config` and no errors are thrown. `kolla-ansible -i ./multinode [boostrap-
The way the error message is worded seems to suggest that it is a known bug, so any help that could be provided would be much appreciated.
Thank you
Changed in kolla-ansible: | |
status: | New → Incomplete |
Found a fix for this that got me through the deployment successfully, but I'm not sure why pip doesn't take care of this as part of the dependency resolution for kolla-ansible.
I ended up installing ansible and kolla-ansible in a virtualenv as recommended by the documentation, but that in itself doesn't take care of the oslo.config issue. I had to dig up the oslo.config release notes (https:/ /docs.openstack .org/releasenot es/oslo. config/ index.html) and find the version corresponding to the correct OpenStack release. So for Queens, this would be 5.2.0. Then in virtualenv, install this specific version:
`pip install -U 'oslo.config= =5.2.0' `