Upgrade from 1.21.3 -> 1.25.0 got minor errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Triaged
|
Critical
|
Cheryl Jennings |
Bug Description
[Environment]
Juju core 1.21.3
Trusty 14.04.2
[Description]
The customer upgraded from 1.21.3 to 1.25.0 sequentially following the next upgrade plan:
{ "_id" : "1.25.0-
The upgrade seems to be successful because it is able to operate almost all commands but It cannot get status of the units so charms upgrade fails.
juju@host1:~$ juju run --unit cinder/2 "status-get"
error: finding workload status: cannot get status: unit not found
juju@host1:~$ juju status cinder/2
ERROR could not filter units: could not filter units: cannot get status: unit not found
while juju status works
cinder/2:
current: error
message: 'hook failed: "config-changed"'
since: 27 Nov 2015 19:25:26+01:00
current: idle
since: 27 Nov 2015 19:25:26+01:00
version: 1.25.0
machine: 3/lxc/2
the unit is in error state because upgrade-charm fail due to the same error
2015-11-27 17:36:55 INFO config-changed error: finding workload status: cannot get status: unit not found
attached machine-0 logs
Changed in juju-core: | |
importance: | Undecided → Critical |
status: | New → Triaged |
assignee: | nobody → Cheryl Jennings (cherylj) |
Changed in juju-core: | |
milestone: | none → 1.25.3 |
I was able to reproduce this. /launchpad. net/juju- core/+milestone /1.21.3, compiled it locally and used it to bootstrap my environment and then deploy some services:
I downloaded juju 1.21.3 from https:/
http:// paste.ubuntu. com/13530133/
Then I deployed some services:
ubuntu@ mariosplivalo- bastion: ~/dl/juju- core_1. 21.3/bin$ ./juju deploy percona-cluster -n3 percona- cluster- 31" to the environment. mariosplivalo- bastion: ~/dl/juju- core_1. 21.3/bin$ ./juju deploy keystone -n2 keystone- 31" to the environment.
Added charm "cs:trusty/
ubuntu@
Added charm "cs:trusty/
After a while the services are installed:
ubuntu@ mariosplivalo- bastion: ~/dl/juju- core_1. 21.3/bin$ ./juju status 3f25-40c7- a9d1-b9ebbc2714 ed server- member- status: has-vote 314a-476f- b6b3-0c9bb80581 6e 8d76-490f- 822e-2b40233a58 79 280e-4c55- a810-0610696376 18 1dcd-40ad- 8140-8bb988a2ae e0 0ae9-418a- 974e-bfb7af5617 16 keystone- 31
agent- state: started
agent- version: 1.21.3
public- address: 10.5.3.42
agent- state: started
agent- version: 1.21.3
public- address: 10.5.3.43 percona- cluster- 31 cluster/ 0:
agent- state: started
agent- version: 1.21.3
public- address: 10.5.3.39 cluster/ 1:
agent- state: started
agent- version: 1.21.3
public- address: 10.5.3.40 cluster/ 2:
agent- state: started
agent- version: 1.21.3
public- address: 10.5.3.41
environment: mariosplivalo
machines:
"0":
agent-state: started
agent-version: 1.21.3
dns-name: 10.5.3.38
instance-id: e346bdb9-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=1536M root-disk=10240M
state-
"1":
agent-state: started
agent-version: 1.21.3
dns-name: 10.5.3.39
instance-id: ce4d47bc-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=1536M root-disk=10240M
"2":
agent-state: started
agent-version: 1.21.3
dns-name: 10.5.3.40
instance-id: f6d6b09a-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=1536M root-disk=10240M
"3":
agent-state: started
agent-version: 1.21.3
dns-name: 10.5.3.41
instance-id: f5b98fab-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=1536M root-disk=10240M
"4":
agent-state: started
agent-version: 1.21.3
dns-name: 10.5.3.42
instance-id: d8b1b8ef-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=1536M root-disk=10240M
"5":
agent-state: started
agent-version: 1.21.3
dns-name: 10.5.3.43
instance-id: 94bb3854-
instance-state: ACTIVE
series: trusty
hardware: arch=amd64 cpu-cores=1 mem=1536M root-disk=10240M
services:
keystone:
charm: cs:trusty/
exposed: false
relations:
cluster:
- keystone
units:
keystone/0:
machine: "4"
keystone/1:
machine: "5"
percona-cluster:
charm: cs:trusty/
exposed: false
relations:
cluster:
- percona-cluster
units:
percona-
machine: "1"
percona-
machine: "2"
percona-
machine: "3"
I then proce...