juju status not showing correct output when specifying a specific service/application
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Anastasia | ||
2.3 |
Fix Released
|
Medium
|
Anastasia |
Bug Description
juju 2.0 beta8
When running juju status against a specific service/application (nova-compute for example) the output of the command is very inconsistent.
Here are some examples:
ubuntu@maas:~$ juju status nova-compute
[Services]
NAME STATUS EXPOSED CHARM
ceph-osd blocked false cs:xenial/
nova-compute blocked false cs:xenial/
[Relations]
SERVICE1 SERVICE2 RELATION TYPE
nova-compute nova-compute compute-peer peer
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
ceph-osd/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relation: monitor
ceph-osd/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relation: monitor
ceph-osd/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relation: monitor
ceph-osd/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relation: monitor
ceph-osd/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relation: monitor
nova-compute/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relations: messaging, image
nova-compute/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relations: messaging, image
nova-compute/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relations: messaging, image
nova-compute/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relations: messaging, image
nova-compute/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relations: messaging, image
[Machines]
ID STATE DNS INS-ID SERIES AZ
0 started 192.168.100.12 4y3h7q xenial default
1 started 192.168.100.13 4y3h7r xenial default
2 started 192.168.100.14 4y3h7s xenial default
3 started 192.168.100.15 4y3h7t xenial default
4 started 192.168.100.11 4y3h7p xenial default
ubuntu@maas:~$ juju status nova-compute
[Services]
NAME STATUS EXPOSED CHARM
ceph-osd blocked false cs:xenial/
neutron-api blocked false cs:xenial/
neutron-gateway blocked false cs:xenial/
nova-compute blocked false cs:xenial/
swift-storage blocked false cs:xenial/
[Relations]
SERVICE1 SERVICE2 RELATION TYPE
neutron-api neutron-api cluster peer
neutron-gateway neutron-gateway cluster peer
nova-compute nova-compute compute-peer peer
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
ceph-osd/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relation: monitor
ceph-osd/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relation: monitor
ceph-osd/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relation: monitor
ceph-osd/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relation: monitor
ceph-osd/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relation: monitor
neutron-api/0 blocked idle 2.0-beta8 0 9696/tcp 192.168.100.12 Missing relations: messaging, identity, database
neutron-gateway/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relations: messaging
nova-compute/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relations: messaging, image
nova-compute/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relations: messaging, image
nova-compute/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relations: messaging, image
nova-compute/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relations: messaging, image
nova-compute/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relations: messaging, image
swift-storage/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relations: proxy
swift-storage/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relations: proxy
swift-storage/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relations: proxy
swift-storage/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relations: proxy
swift-storage/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relations: proxy
[Machines]
ID STATE DNS INS-ID SERIES AZ
0 started 192.168.100.12 4y3h7q xenial default
1 started 192.168.100.13 4y3h7r xenial default
2 started 192.168.100.14 4y3h7s xenial default
3 started 192.168.100.15 4y3h7t xenial default
4 started 192.168.100.11 4y3h7p xenial default
ubuntu@maas:~$ juju status nova-compute
[Services]
NAME STATUS EXPOSED CHARM
ceph-osd blocked false cs:xenial/
neutron-gateway blocked false cs:xenial/
nova-compute blocked false cs:xenial/
swift-storage blocked false cs:xenial/
[Relations]
SERVICE1 SERVICE2 RELATION TYPE
neutron-gateway neutron-gateway cluster peer
nova-compute nova-compute compute-peer peer
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
ceph-osd/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relation: monitor
ceph-osd/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relation: monitor
ceph-osd/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relation: monitor
ceph-osd/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relation: monitor
ceph-osd/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relation: monitor
neutron-gateway/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relations: messaging
nova-compute/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relations: messaging, image
nova-compute/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relations: messaging, image
nova-compute/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relations: messaging, image
nova-compute/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relations: messaging, image
nova-compute/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relations: messaging, image
swift-storage/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relations: proxy
swift-storage/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relations: proxy
swift-storage/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relations: proxy
swift-storage/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relations: proxy
swift-storage/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relations: proxy
[Machines]
ID STATE DNS INS-ID SERIES AZ
0 started 192.168.100.12 4y3h7q xenial default
1 started 192.168.100.13 4y3h7r xenial default
2 started 192.168.100.14 4y3h7s xenial default
3 started 192.168.100.15 4y3h7t xenial default
4 started 192.168.100.11 4y3h7p xenial default
expected output would be:
ubuntu@maas:~$ juju status nova-compute
[Services]
NAME STATUS EXPOSED CHARM
nova-compute blocked false cs:xenial/
[Relations]
SERVICE1 SERVICE2 RELATION TYPE
nova-compute nova-compute compute-peer peer
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
nova-compute/0 blocked idle 2.0-beta8 0 192.168.100.12 Missing relations: messaging, image
nova-compute/1 blocked idle 2.0-beta8 1 192.168.100.13 Missing relations: messaging, image
nova-compute/2 blocked idle 2.0-beta8 2 192.168.100.14 Missing relations: messaging, image
nova-compute/3 blocked idle 2.0-beta8 3 192.168.100.15 Missing relations: messaging, image
nova-compute/4 blocked idle 2.0-beta8 4 192.168.100.11 Missing relations: messaging, image
[Machines]
ID STATE DNS INS-ID SERIES AZ
0 started 192.168.100.12 4y3h7q xenial default
1 started 192.168.100.13 4y3h7r xenial default
2 started 192.168.100.14 4y3h7s xenial default
3 started 192.168.100.15 4y3h7t xenial default
4 started 192.168.100.11 4y3h7p xenial default
summary: |
- juju status not showing correct output when specifying a sepcific + juju status not showing correct output when specifying a specific service/application |
Changed in juju-core: | |
status: | Incomplete → Triaged |
importance: | Undecided → High |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | none → 2.1.0 |
tags: | added: oil |
tags: | added: usability |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: canonical-bootstack |
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | nobody → Anastasia (anastasia-macmood) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Specifically this can be repeated with juju status nova-compute and juju status keystone, however it doesn't appear to be affecting juju status rabbitmq-server or juju status nova-cloud- controller