API: rados and rbd python libraries not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Expired
|
Undecided
|
Unassigned |
Bug Description
When upgrading from 13.3.10 to 14.0.4 with CEPH backed then symlinks to rbd.so and rados.so inside venv not created.
root@infra1:~# uname -a
Linux infra1 4.2.0-42-generic #49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@deploy:
14.0.4
root@infra1:~# sed -n '70176,70178p' /var/log/
2016-12-21 22:08:45.380 61926 ERROR cinder.
2016-12-21 22:08:45.380 61926 ERROR cinder.
2016-12-21 22:08:45.380 61926 ERROR cinder.
workaround:
root@infra1:~# ln -s /usr/lib/
root@infra1:~# ln -s /usr/lib/
root@infra1:~# ln -s /usr/lib/
root@infra1:~# ln -s /usr/lib/
Changed in openstack-ansible: | |
status: | New → Incomplete |
The link should have been done by the ceph-client role, called from your playbook.
Could you tell us which playbook/role ran and didn't link the proper files? service_ venv_bin should have been set, and ceph_install_ python_ libs.yml should have run.
openstack_
I'd be happy to see a complete log of this playbook run.
There -in the ceph-client role- python -c 'import rados; print rados.__file__' should have registered the path to your rados library and python -c 'import rbd; print rbd.__file__' should have registered the path to your rbd library, and then linked the libs in the venv.
Could you also give us an idea of the ansible version you're running?
I'm suspecting an issue with static: no on the include task.