add-machine lxd:0 provisioning error: "Error adding alias ubuntu-xenial: not found"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Expired
|
High
|
Unassigned |
Bug Description
Tried to add a container with:
$ juju add-machine lxd:0
currently errors with:
$ juju show-machines
model: maas
machines:
"0":
juju-status:
current: pending
since: 16 Mar 2016 18:03:17Z
version: 2.0-beta3.1
dns-name: 10.17.20.215
instance-id: /MAAS/api/
machine-status:
current: running
message: Deployed
since: 16 Mar 2016 18:03:30Z
series: xenial
containers:
0/lxd/0:
current: error
message: |
Error adding alias ubuntu-xenial: not found
since: 16 Mar 2016 18:19:05Z
current: provisioning error
message: |
since: 16 Mar 2016 18:19:04Z
series: xenial
hardware: arch=amd64 cpu-cores=1 mem=1024M
controller-
A workaround is to run the following on the machine node:
$ lxd-images import ubuntu --alias ubuntu-xenial xenial
which results in an alias name in the following output:
ubuntu@
+------
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCH | SIZE | UPLOAD DATE |
+------
| ubuntu-xenial | 618ab2ddf554 | no | ubuntu 16.04 LTS amd64 (beta1) (20160223.1) | x86_64 | 139.53MB | Mar 16, 2016 at 6:43pm (UTC) |
+------
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Critical |
milestone: | none → 2.0-beta3 |
Changed in juju-core: | |
status: | Triaged → Incomplete |
Changed in juju-core: | |
milestone: | 2.0-beta3 → 2.0-beta4 |
tags: | added: 2.0-count |
Changed in juju-core: | |
milestone: | 2.0-beta4 → none |
Changed in juju-core: | |
importance: | Critical → High |
Can you tell us the git version of your Juju? We've landed several patches recently that automatically do the import of images from cloud-images. ubuntu. com