juju 2.0-beta9.1: juju relation status PROVIDES and CONSUMES confused
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The PROVIDES and CONSUMES columns in juju status don't match up to which end of the relation the application corresponds. It looks to be that they are in alphabetical order.
For example:
MODEL CONTROLLER CLOUD VERSION
default canonistack-lcy02-1 canonistack 2.0-beta9.1
APP STATUS EXPOSED ORIGIN CHARM REV OS
apache2 unknown false jujucharms apache2 20 ubuntu
mysql unknown false jujucharms mysql 55 ubuntu
wordpress unknown false jujucharms wordpress 4 ubuntu
RELATION PROVIDES CONSUMES TYPE
website apache2 wordpress regular
cluster mysql mysql peer
db mysql wordpress regular
loadbalancer wordpress wordpress peer
UNIT WORKLOAD AGENT MACHINE PORTS PUBLIC-ADDRESS MESSAGE
apache2/0 unknown allocating 1 10.55.32.101 Waiting for agent initialization to finish
mysql/0 unknown allocating 2 10.55.32.201 Waiting for agent initialization to finish
wordpress/0 unknown allocating 0 10.55.32.187 Waiting for agent initialization to finish
MACHINE STATE DNS INS-ID SERIES AZ
0 pending 10.55.32.187 72ce5b97-
1 pending 10.55.32.101 2eac145d-
2 pending 10.55.32.201 6b41bd99-
The website relation should be provided by wordpress and consumed by apache2
Changed in juju-core: | |
importance: | Undecided → High |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju: | |
assignee: | nobody → Richard Harding (rharding) |
Changed in juju: | |
milestone: | 2.0.0 → 2.1.0 |
Changed in juju: | |
assignee: | Richard Harding (rharding) → nobody |
Changed in juju: | |
milestone: | 2.1-rc2 → none |
Changed in juju: | |
milestone: | none → 2.2.3 |
FWIW the grammatically correct column titles should be "PROVIDER" and "CONSUMER" (or "REQUIRER"
to be consistent with the charm metadata.yaml names).