Well I'll be dammed, that's all it was too.
Thx for the hint.


On Sun, Jul 14, 2019, 11:50 PM Boris Ranto <branto@redhat.com> wrote:
On Sun, Jul 14, 2019 at 5:21 AM solarflow99 <solarflow99@gmail.com> wrote:
>
> 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.
>

Hi,


> 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
>
>
>
>
> # cat /etc/redhat-release
> 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)]
>

your ansible python version is python 3.7.3 so you probably need
python3-netaddr.

-boris


> # python --version
> Python 2.7.16
>
> # vagrant --version
> Vagrant 2.2.4
>
> # git branch
>   master
> * stable-4.0
>
> _______________________________________________
> Dev mailing list -- dev@ceph.io
> To unsubscribe send an email to dev-leave@ceph.io