Re: ceph-ansible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Setup a python virtual environment and install the required notario package version. You'll want to also install ansible into that virtual environment along with netaddr.



On Sep 20, 2018, at 18:04, solarflow99 <solarflow99@xxxxxxxxx> wrote:

oh, was that all it was...  git clone https://github.com/ceph/ceph-ansible/
I installed the notario  package from EPEL, python2-notario-0.0.11-2.el7.noarch  and thats the newest they have




On Thu, Sep 20, 2018 at 3:57 PM Alfredo Deza <adeza@xxxxxxxxxx> wrote:
Not sure how you installed ceph-ansible, the requirements mention a
version of a dependency (the notario module) which needs to be 0.0.13
or newer, and you seem to be using an older one.


On Thu, Sep 20, 2018 at 6:53 PM solarflow99 <solarflow99@xxxxxxxxx> wrote:
>
> Hi, tying to get this to do a simple deployment, and i'm getting a strange error, has anyone seen this?  I'm using Centos 7, rel 5   ansible 2.5.3  python version = 2.7.5
>
> I've tried with mimic luninous and even jewel, no luck at all.
>
>
>
> TASK [ceph-validate : validate provided configuration] **************************************************************************************************************************************************************************************
> task path: /home/jzygmont/ansible/ceph-ansible/roles/ceph-validate/tasks/main.yml:2
> Thursday 20 September 2018  14:05:18 -0700 (0:00:05.734)       0:00:37.439 ****
> The full traceback is:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 138, in run
>     res = self._execute()
>   File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 561, in _execute
>     result = self._handler.run(task_vars=variables)
>   File "/home/jzygmont/ansible/ceph-ansible/plugins/actions/validate.py", line 43, in run
>     notario.validate(host_vars, install_options, defined_keys=True)
> TypeError: validate() got an unexpected keyword argument 'defined_keys'
>
> fatal: [172.20.3.178]: FAILED! => {
>     "msg": "Unexpected failure during module execution.",
>     "stdout": ""
> }
>
> NO MORE HOSTS LEFT **************************************************************************************************************************************************************************************************************************
>
> PLAY RECAP **********************************************************************************************************************************************************************************************************************************
> 172.20.3.178               : ok=25   changed=0    unreachable=0    failed=1
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux