Hi,
I’m a new user of juju, and am setting up a Jenkins instance and couple of
slaves on ec2.
Can anyone point me to some doc for the charms jenkins and jenkins-slave that
explain the settings and/or config?
I have issued the following commands (in this order — with suitable pauses to
wait for completion):
$ juju deploy jenkins
$ juju deploy -n 2 jenkins-slave
$ juju add-relation jenkins jenkins-slave
$ juju set jenkins password=……
$ juju set jenkins-slave tools="git gcc make bzr mercurial erlang"
$ juju expose jenkins
I can see the jenkins dashboard and log in with admin password, as expected.
However, there are no slaves ‘connected’ to the master.
There is a worrying message in status:
services:
jenkins:
charm: cs:precise/jenkins-8
exposed: true
relations:
master:
- jenkins-slave
units:
jenkins/0:
agent-state: error
agent-state-info: 'hook failed: "master-relation-changed"'
agent-version: 1.16.5
machine: "1"
open-ports:
- 8080/tcp
public-address: ……
Which makes me think the relation wasn’t added correctly. Removing the
relation and re-applying it seems to make no difference to the status at all
(the error agent-state is there at all times).
How do I find out what is supposed to happen and what has actually happened?
Steve Powell
--
Juju mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju