Successfully deployed mysql on machine 0, and forced deployment of wordpress on the same machine, i.e., juju deploy --to 0 -repository:/xxxx local:trusty:/wordpress
. juju status
shows installation failure:
wordpress/0:
agent-state: error
agent-state-info: 'hook failed: "install"'
agent-version: 1.18.3.1
machine: "0"
public-address: node1.maas
Looking in /var/log/juju/unit-mysql-0.log
, noted the following:
...
2014-05-20 20:39:42 INFO juju.worker.uniter modes.go:65 found queued "install" hook
2014-05-20 20:39:42 INFO juju.worker.uniter uniter.go:480 running "install" hook
2014-05-20 20:39:42 INFO install + add-apt-repository ppa:charmers/charm-helpers
2014-05-20 20:39:47 DEBUG juju.worker.uniter.filter filter.go:317 got unit change
2014-05-20 20:43:58 INFO install Cannot add PPA: 'ppa:charmers/charm-helpers'.
2014-05-20 20:43:58 INFO install Please check that the PPA name or format is correct.
2014-05-20 20:43:58 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
2014-05-20 20:43:58 DEBUG juju.worker.uniter modes.go:384 ModeContinue exiting
...
Target node is a single nic machine, connected to the local maas network, and seems that it is not able to access ppa:charmers/charm-helpers. Any work around? Cheers,