initial deploy using local provider fails because template creation takes too long
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Invalid
|
Low
|
Unassigned |
Bug Description
When running juju-core using the local provider on a clean trusty image on canonistack (flavor=1137) after bootstrapping the environment the first deployment fails while creating the template container.
Steps to reproduce:
- create an instance on canonistack lcy02 region
- deploy a unit
juju bootstrap
juju deploy wordpress
After a time (10 minutes more or less) juju status looks like
$ juju status
environment: local
machines:
"0":
agent-state: started
agent-version: 1.18.1.1
dns-name: localhost
instance-id: localhost
series: trusty
"1":
agent-
stop)'
instance-id: pending
series: precise
services:
wordpress:
charm: cs:precise/
exposed: false
relations:
loadbalancer:
- wordpress
units:
wordpress/0:
machine: "1"
$ lxc-ls --fancy
NAME STATE IPV4 IPV6 AUTOSTART
-------
juju-precise-
Changed in juju-core: | |
status: | Triaged → Invalid |
This issue happens because canonistack is over resourced. This situation would be intolerable on properly resourced clouds or real hardware.