identity-notifications triggering relies on 'service' key available in the identity-service relation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Keystone Charm |
Fix Released
|
Undecided
|
Felipe Reyes |
Bug Description
The identity-
The problem is that some (old) charms don't set the 'service' key to announce their name, instead the keystone charm will calculate this field based on the prefix of the keys set, see https:/
This prevents from emitting notifications for changes made to the catalog by charms like nova-cloud-
juju run --unit nova-cloud-
egress-subnets: 10.5.0.5/32
ingress-address: 10.5.0.5
nova_admin_url: http://
nova_internal_url: http://
nova_public_url: http://
nova_region: RegionOne
nova_service: nova
placement_
placement_
placement_
placement_region: RegionOne
placement_service: placement
private-address: 10.5.0.5
^^^ there is no 'service' key
Here is the output for gnocchi which sets this key:
$ juju run --unit gnocchi/0 'relation-get -r `relation-ids identity-service` - gnocchi/0'
admin_url: https:/
egress-subnets: 10.5.0.11/32
ingress-address: 10.5.0.11
internal_url: https:/
private-address: 10.5.0.11
public_url: https:/
region: RegionOne
service: gnocchi
Changed in charm-keystone: | |
assignee: | nobody → Felipe Reyes (freyes) |
Changed in charm-keystone: | |
status: | New → In Progress |
Changed in charm-keystone: | |
milestone: | none → 20.02 |
Changed in charm-keystone: | |
status: | Fix Committed → Fix Released |
https:/ /review. opendev. org/#/c/ 699089/