Comments (3)
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.retrymaster1 : 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.
Yes exactly.
After adding the zoo_id, build done succefely
from ansible-mesos-playbook.
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)
- docker group problem HOT 2
- Please add 'cache_valid_time' for 'update_cache=yes'
- Use ansible requirements.txt instead of librarian
- Update to the latest versions HOT 2
- How to access things HOT 1
- ansible-playbook search path for roles doesn't include librarian_roles HOT 2
- ansible-playbook needs -u flag HOT 3
- Cannot run librarian-ansible install. HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-mesos-playbook.