Activity log for bug #1801765

Date Who What changed Old value New value Message
2018-11-05 17:21:00 Liam Young bug added bug
2018-11-05 17:24:41 Liam Young description The output of goal state does not expose the scope of the relations so there is no way to tell if a relation is container scoped. This is important because a principle charm only has a relation with the local unit of the subordinate. eg # goal-state units: keystone/0: status: active since: 2018-11-05 13:43:12Z keystone/1: status: active since: 2018-11-05 13:49:29Z keystone/2: status: active since: 2018-11-05 13:48:28Z relations: ha: keystone-hacluster: status: joined since: 2018-11-05 13:40:07Z keystone-hacluster/0: status: active since: 2018-11-05 13:50:48Z keystone-hacluster/1: status: active since: 2018-11-05 13:51:00Z keystone-hacluster/2: status: active since: 2018-11-05 13:52:53Z # relation-get -r ha:28 - keystone-hacluster/0 clustered: "yes" egress-subnets: 10.5.0.21/32 ingress-address: 10.5.0.21 private-address: 10.5.0.21 # relation-get -r ha:28 - keystone-hacluster/1 ERROR cannot read settings for unit "keystone-hacluster/1" in relation "keystone:ha keystone-hacluster:ha": unit "keystone-hacluster/1": settings not found The output of goal state does not expose the scope of the relations so there is no way to tell if a relation is container scoped. This is important because a principle charm only has a relation with the local unit of the subordinate. This in turn causes issues when a charm tries to check that all the units it is expecting to be related to have come up and are ready. Obviously you could argue that the code consuming the output from goal-state could cross-reference against its local metadata.yaml to get the scope. eg # goal-state units:   keystone/0:     status: active     since: 2018-11-05 13:43:12Z   keystone/1:     status: active     since: 2018-11-05 13:49:29Z   keystone/2:     status: active     since: 2018-11-05 13:48:28Z relations:   ha:     keystone-hacluster:       status: joined       since: 2018-11-05 13:40:07Z     keystone-hacluster/0:       status: active       since: 2018-11-05 13:50:48Z     keystone-hacluster/1:       status: active       since: 2018-11-05 13:51:00Z     keystone-hacluster/2:       status: active       since: 2018-11-05 13:52:53Z # relation-get -r ha:28 - keystone-hacluster/0 clustered: "yes" egress-subnets: 10.5.0.21/32 ingress-address: 10.5.0.21 private-address: 10.5.0.21 # relation-get -r ha:28 - keystone-hacluster/1 ERROR cannot read settings for unit "keystone-hacluster/1" in relation "keystone:ha keystone-hacluster:ha": unit "keystone-hacluster/1": settings not found
2018-11-06 05:40:34 Dmitrii Shcherbakov bug added subscriber Dmitrii Shcherbakov
2018-11-08 03:34:58 Ian Booth nominated for series juju/2.4
2018-11-08 03:34:58 Ian Booth bug task added juju/2.4
2018-11-08 03:35:05 Ian Booth juju/2.4: milestone 2.4.6
2018-11-08 03:35:08 Ian Booth juju: milestone 2.5-beta1
2018-11-08 03:35:12 Ian Booth juju/2.4: status New Triaged
2018-11-08 03:35:16 Ian Booth juju: status New Triaged
2018-11-08 03:35:19 Ian Booth juju/2.4: importance Undecided High
2018-11-08 03:35:24 Ian Booth juju: importance Undecided High
2018-11-08 03:35:29 Ian Booth juju: assignee Ian Booth (wallyworld)
2018-11-08 03:35:31 Ian Booth juju/2.4: assignee Ian Booth (wallyworld)
2018-11-08 08:06:59 Ian Booth juju/2.4: status Triaged In Progress
2018-11-08 08:07:05 Ian Booth juju: status Triaged In Progress
2018-11-08 20:54:56 Ian Booth juju/2.4: status In Progress Fix Committed
2018-11-09 00:54:35 Ian Booth juju: status In Progress Fix Committed
2018-11-15 02:16:55 Canonical Juju QA Bot juju/2.4: status Fix Committed Fix Released
2019-03-22 01:36:54 Anastasia juju: status Fix Committed Fix Released