'local:' services not started on reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Triaged
|
Low
|
Unassigned | ||
juju (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
If I use setup ~/.juju/
environments:
local:
type: local
data-dir: /home/jamie/
admin-secret: abcdefghijklmno
control-bucket: foo-bucket
default-series: oneiric
Then do:
$ juju bootstrap
$ juju deploy --repository=
$ juju deploy --repository=
(wait a while)
$ juju add-relation wordpress mysql
$ juju expose wordpress
At this point everything is working. I can see services as started and I can bring up the wordpress page in the public address for the wordpress service. This is great!
However, if I reboot the host, nothing is started:
* zookeeper
* twisted storage
* juju machine agent
* lxc instances
If I try to 'juju bootstrap', I cannot because it tells me it is already bootstrapped. Instead I have to grab from ps the commands to start things:
$ java -cp /home/jamie/
$ /usr/bin/python /usr/bin/twistd --pidfile /home/jamie/
$ lxc-start --daemon -n jamie-local-mysql-0 -l DEBUG -o /home/jamie/
$ lxc-start --daemon -n jamie-local-
Changed in juju: | |
milestone: | none → galapagos |
Changed in juju: | |
importance: | Undecided → Medium |
Changed in juju: | |
milestone: | galapagos → honolulu |
Changed in juju: | |
status: | New → Confirmed |
Changed in juju: | |
milestone: | 0.6 → none |
Changed in juju (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in juju: | |
milestone: | none → 0.8 |
Changed in juju: | |
status: | Confirmed → Triaged |
Changed in juju: | |
importance: | Medium → Low |
This is documented as a limitation here:
https:/ /juju.ubuntu. com/docs/ provider- configuration- local.html
However I agree that it would be nice if the local environment could be recovered after a host restart.