local provider lxc and kvm deploys appear stuck pending, waiting for template/image download
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Clean Trusty install of Juju from ppa:juju/stable appears to fail, manually adding a lxc template appears to fix the problem.
Symptom:
$ juju status
environment: local
machines:
"0":
agent-state: started
agent-version: 1.20.13.1
dns-name: localhost
instance-id: localhost
series: trusty
state-
"1":
agent-state: pending
instance-id: m-local-machine-1
series: trusty
hardware: arch=amd64
services:
juju-gui:
charm: cs:trusty/
exposed: false
units:
juju-gui/0:
machine: "1"
^appears to stay in that state forever; if I execute the following (from another bug), it now appears to work:
$ sudo lxc-create -n juju-trusty-
$ juju status
environment: local
machines:
"0":
agent-state: started
agent-version: 1.20.13.1
dns-name: localhost
instance-id: localhost
series: trusty
state-
"1":
agent-state: started
agent-version: 1.20.13.1
dns-name: 10.0.3.60
instance-id: m-local-machine-1
series: trusty
hardware: arch=amd64
services:
juju-gui:
charm: cs:trusty/
exposed: false
units:
juju-gui/0:
machine: "1"
open-ports:
- 80/tcp
- 443/tcp
Packages:
ii juju 1.20.13-
ii juju-core 1.20.13-
ii juju-local 1.20.13-
ii juju-mongodb 2.4.9-0ubuntu3 amd64 MongoDB object/
ii liblxc1 1.0.6-0ubuntu0.1 amd64 Linux Containers userspace tools (library)
ii lxc 1.0.6-0ubuntu0.1 amd64 Linux Containers userspace tools
ii lxc-templates 1.0.6-0ubuntu0.1 amd64 Linux Containers userspace tools (templates)
ii python3-lxc 1.0.6-0ubuntu0.1 amd64 Linux Containers userspace tools (Python 3.x bindings)
Question: minimally this is a documentation or process issue if I wasn't instruction to either wait [for the template to download fully the first time] or provided with an error [that the template was missing].
tags: | added: ui |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju-core: | |
importance: | Medium → Low |
Changed in juju-core: | |
status: | Triaged → Won't Fix |
The first time juju creates a container, it will create the template. The time is largely network dependant. How long did you wait? do you have fast network to download the OS image? wonder if Juju did get stuck because I have never waited more than 10 minutes to build the templates.