Invalid binary version, version "1.23.3--amd64" or "1.23.3--armhf"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Andrew Wilkins | ||
1.25 |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
[Environment]
Vivid
Juju-core 1.23.3 ( client )
Juju-core 1.23.2 ( Bootstrap node with 1.23.3-trusty-amd64 )
Maas 1.5.4 on Arm ( raspberry pi 2)
[Description]
niedbalski@
default-series: ""
I executed the following sequence.
$ juju bootstrap (successful)
$ juju sync-tools --debug --verbose --series=1.23
The following log entry is generated
machine-0.log
434572:2015-05-15 18:17:37 DEBUG juju.apiserver tools.go:119 sending error: 400 cannot store tools metadata: invalid binary version "1.23.3--amd64"
From this point if I try to execute add-machine or sync-tools again, i got
2015-05-26 22:09:19 ERROR juju.cmd supercommand.go:430 invalid binary version "1.23.3--armhf"
environment: maas-hq
machines:
"0":
agent-state: started
agent-version: 1.23.2.1
dns-name: neb4g.maas
instance-id: /MAAS/api/
series: trusty
containers:
0/lxc/7:
dns-name: 10.1.1.8
series: trusty
hardware: arch=amd64
0/lxc/8:
dns-name: 10.1.1.14
series: trusty
hardware: arch=amd64
0/lxc/9:
dns-name: 10.1.1.15
series: trusty
hardware: arch=amd64
0/lxc/10:
dns-name: 10.1.1.17
series: trusty
hardware: arch=amd64
hardware: arch=amd64 cpu-cores=4 mem=16384M tags=use-
state-
"7":
agent-state: started
agent-version: 1.23.2.1
dns-name: j3gbx.maas
instance-id: /MAAS/api/
series: trusty
containers:
7/lxc/4:
dns-name: 10.1.1.18
series: trusty
hardware: arch=amd64
7/lxc/5:
dns-name: 10.1.1.19
series: trusty
hardware: arch=amd64
7/lxc/9:
dns-name: 10.1.1.22
series: trusty
hardware: arch=amd64
7/lxc/10:
dns-name: 10.1.1.23
series: trusty
hardware: arch=amd64
7/lxc/11:
dns-name: 10.1.1.24
series: trusty
hardware: arch=amd64
7/lxc/12:
dns-name: 10.1.1.13
series: trusty
hardware: arch=amd64
7/lxc/13:
dns-name: 10.1.1.25
series: trusty
hardware: arch=amd64
hardware: arch=amd64 cpu-cores=4 mem=16384M tags=use-
"21":
agent-
instance-id: pending
series: trusty
[Observations]
- The MAAS server is running a different architecture (arm) to the allocated machines (amd64)
- THe add-machine command started failing after performing sync-tools.
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
milestone: | none → 2.0-alpha1 |
importance: | Medium → High |
Changed in juju-core: | |
milestone: | 2.0-alpha1 → 1.26-alpha3 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
This issue looks familiar. We know from other maas related bugs that machines and agents are not properly matched by maas unless the arch and series is explicitly passed to deploy or add-machine.