Closed sonali2197 closed 9 years ago
I'm actually in the middle of adding test scripts for this playbook. You should see the commit reference here tonight. So it will get some testing in some manner. Next after this is the Mesos playbook. I know there are issues there but since this playbook is a dependency I had address this repo first.
-Jason
On Mar 3, 2015, at 5:25 PM, sonali2197 notifications@github.com wrote:
Hi,
I'm running the playbook.rml for ansible-mesos-playbook which installs ansible-zookeeper as one of the roles. It runs through the Redhat.yml file creating data folders, log folders, setting the upstart script etc. When it comes to running/starting the zookeeper service it errors out as below. Any idea why this is?
TASK: [ansible-zookeeper | Update apt cache] ****** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Apt install required system packages.] ***** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Overwrite myid file.] ****** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Overwrite default config file] ***** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Restart zookeeper] ***** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | file path=/opt/src state=directory] **** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | file path={{zookeeper_dir}} state=directory] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Download zookeeper version.] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Install OS Packages] *** ok: [svdpdac015.techlabs.accenture.com] => (item=libselinux-python)
TASK: [ansible-zookeeper | Unpack tarball.] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | group name=zookeeper system=yes] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | user name=zookeeper group=zookeeper system=yes] **\ ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Change ownership on zookeeper directory.] ****** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Create zookeeper data folder.] ***** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Create zookeeper logs folder.] ***** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Upstart script.] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Write myid file.] ****** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Configure zookeeper] *** changed: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Start zookeeper] *** failed: [svdpdac015.techlabs.accenture.com] => {"failed": true} msg: zookeeper: unrecognized service zookeeper: unrecognized service
FATAL: all hosts have already failed -- aborting
PLAY RECAP **** to retry, use: --limit @/root/playbook.retry
svdpdac015.techlabs.accenture.com : ok=21 changed=1 unreachable=0 failed=1
svdpdac016.techlabs.accenture.com : ok=6 changed=0 unreachable=0 failed=0
svdpdac017.techlabs.accenture.com : ok=6 changed=0 unreachable=0 failed=0
— Reply to this email directly or view it on GitHub.
Hi! Any updates on this? Is the issue specific to Redhat?
I'm about a day behind, tonight is when I have time.
-Jason
On Mar 4, 2015, at 1:17 PM, sonali2197 notifications@github.com wrote:
Hi! Any updates on this? Is the issue specific to Redhat?
— Reply to this email directly or view it on GitHub.
I've managed to update the CI of this repo, as you can see under travis it does pass. A accompanied dockerfile is also now available.
Knowing this can you supply some more information on your situation? I'l see if I can help.
No reply. Closing this issue.
Hi,
I'm running the playbook.rml for ansible-mesos-playbook which installs ansible-zookeeper as one of the roles. It runs through the Redhat.yml file creating data folders, log folders, setting the upstart script etc. When it comes to running/starting the zookeeper service it errors out as below. Any idea why this is?
TASK: [ansible-zookeeper | Update apt cache] ****** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Apt install required system packages.] ***** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Overwrite myid file.] ****** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Overwrite default config file] ***** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Restart zookeeper] ***** skipping: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | file path=/opt/src state=directory] **** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | file path={{zookeeper_dir}} state=directory] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Download zookeeper version.] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Install OS Packages] *** ok: [svdpdac015.techlabs.accenture.com] => (item=libselinux-python)
TASK: [ansible-zookeeper | Unpack tarball.] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | group name=zookeeper system=yes] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | user name=zookeeper group=zookeeper system=yes] **\ ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Change ownership on zookeeper directory.] ****** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Create zookeeper data folder.] ***** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Create zookeeper logs folder.] ***** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Upstart script.] *** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Write myid file.] ****** ok: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Configure zookeeper] *** changed: [svdpdac015.techlabs.accenture.com]
TASK: [ansible-zookeeper | Start zookeeper] *** failed: [svdpdac015.techlabs.accenture.com] => {"failed": true} msg: zookeeper: unrecognized service zookeeper: unrecognized service
FATAL: all hosts have already failed -- aborting
PLAY RECAP **** to retry, use: --limit @/root/playbook.retry
svdpdac015.techlabs.accenture.com : ok=21 changed=1 unreachable=0 failed=1
svdpdac016.techlabs.accenture.com : ok=6 changed=0 unreachable=0 failed=0
svdpdac017.techlabs.accenture.com : ok=6 changed=0 unreachable=0 failed=0