Code Monkey home page Code Monkey logo

Comments (3)

mhamrah avatar mhamrah commented on July 22, 2024

I think you're missing the zoo_id variable when declaring masters in your
hosts file. Check out the sample and make sure each master has a zoo_id
specified.

On Thu, Oct 9, 2014 at 7:36 PM, Adil NAIMI [email protected] wrote:

@mhamrah https://github.com/mhamrah thank you very much for the great
job.
While trying to build the cluster, the following TASK fails:

[./librarian_roles/ansible-mesos | Create zookeeper config file] ********

TASK: [./librarian_roles/ansible-mesos | Create zookeeper config file] ********
fatal: [master1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master1] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master2] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master2] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master3] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}
fatal: [master3] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'dict object' has no attribute 'zoo_id'", 'failed': True}

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
to retry, use: --limit @/home/me/playbook.retry

master1 : ok=15 changed=6 unreachable=1 failed=0
master2 : ok=15 changed=6 unreachable=1 failed=0
master3 : ok=15 changed=6 unreachable=1 failed=0


Reply to this email directly or view it on GitHub
#5.

from ansible-mesos-playbook.

adilnaimi avatar adilnaimi commented on July 22, 2024

Yes exactly.
After adding the zoo_id, build done succefely

from ansible-mesos-playbook.

triplepoint avatar triplepoint commented on July 22, 2024

It's worth asking why those errors were marked as "unreachable". We've just run into a similar issue ourselves with ansible 1.7.2. I would expect "failed" for these AnsibleUnidentifiedVariable errors.

from ansible-mesos-playbook.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.