Hi, I'm trying to bring up a sandbox ceph environment based on the guide, and I am running into a problem with the ceph-ansible provisioning, it keeps complaining about netaddr even though I installed python2-netaddr.
fatal: [client0]: FAILED! =>
msg: The ipwrap filter requires python's netaddr be installed on the ansible controller
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
client0 : ok=22 changed=0 unreachable=0 failed=1 skipped=27 rescued=0 ignored=0
mon0 : ok=25 changed=1 unreachable=0 failed=1 skipped=27 rescued=0 ignored=0
osd0 : ok=25 changed=0 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0
osd1 : ok=25 changed=0 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0
osd2 : ok=25 changed=0 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0
msg: The ipwrap filter requires python's netaddr be installed on the ansible controller
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
client0 : ok=22 changed=0 unreachable=0 failed=1 skipped=27 rescued=0 ignored=0
mon0 : ok=25 changed=1 unreachable=0 failed=1 skipped=27 rescued=0 ignored=0
osd0 : ok=25 changed=0 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0
osd1 : ok=25 changed=0 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0
osd2 : ok=25 changed=0 unreachable=0 failed=1 skipped=24 rescued=0 ignored=0
# cat /etc/redhat-release
Fedora release 30 (Thirty)
# rpm -qa | grep netaddr
python2-netaddr-0.7.19-14.fc30.noarch
Fedora release 30 (Thirty)
# rpm -qa | grep netaddr
python2-netaddr-0.7.19-14.fc30.noarch
# ansible --version
ansible 2.8.1
config file = /root/ceph-sandbox/ceph-ansible/ansible.cfg
configured module search path = ['/root/ceph-sandbox/ceph-ansible/library']
ansible python module location = /usr/lib/python3.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.7.3 (default, May 11 2019, 00:38:04) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
# python --version
Python 2.7.16
ansible 2.8.1
config file = /root/ceph-sandbox/ceph-ansible/ansible.cfg
configured module search path = ['/root/ceph-sandbox/ceph-ansible/library']
ansible python module location = /usr/lib/python3.7/site-packages/ansible
executable location = /usr/bin/ansible
python version = 3.7.3 (default, May 11 2019, 00:38:04) [GCC 9.1.1 20190503 (Red Hat 9.1.1-1)]
# python --version
Python 2.7.16
# vagrant --version
Vagrant 2.2.4
Vagrant 2.2.4
# git branch
master
* stable-4.0
master
* stable-4.0
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx