can't juju add machine when multiple images with same arch/release exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Medium
|
Unassigned | ||
juju-core (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Setup the following:
$ cat ~/.juju/
default: local
environments:
local:
type: local
container: kvm
Execute the following:
$ juju add-machine
You will see:
$ 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-
instance-id: pending
series: trusty
I have the following:
$ uvt-simplestrea
release=trusty arch=amd64 label=daily (20140318)
release=trusty arch=amd64 label=release (20140416.1)
If I do:
$ uvt-simplestrea
$ uvt-simplestrea
Then I get this working correctly:
$ juju add-machine
$ juju status
environment: local
machines:
"0":
agent-state: started
agent-version: 1.18.1.1
dns-name: localhost
instance-id: localhost
series: trusty
"3":
agent-state: pending
instance-id: arges-local-
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=512M root-disk=8192M
services: {}
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: juju-core 1.18.1-0ubuntu1
ProcVersionSign
Uname: Linux 3.13.0-18-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Thu May 8 17:02:34 2014
Dependencies:
gcc-4.9-base 4.9-20140406-
libc6 2.19-0ubuntu6
libgcc1 1:4.9-20140406-
multiarch-support 2.19-0ubuntu6
InstallationDate: Installed on 2014-03-17 (52 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140313)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: juju-core
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: cloud-installer |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: kvm streams |
tags: | added: simplestreams |
Status changed to 'Confirmed' because the bug affects multiple users.