keystone endpoint registration uses class variable named `service_type` for what Keystone describes as "Service Name"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack API Layer |
Triaged
|
Low
|
Unassigned | ||
charms.openstack |
Triaged
|
Low
|
Unassigned |
Bug Description
Example charm implementation:
https:/
Example keystone charm endpoint implementation:
https:/
$ openstack endpoint list
+------
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+------
| 49ccebaebf8a476
| 76453a022199459
| 7e4b1787708e41d
| a7897ad7936d4cb
| b4dd97462e07487
| b8b283a7fba34ba
+------
description: | updated |
From the interface:
def register_ endpoints( self, service, region, public_url, internal_url,
admin_ url):
relation_ info = {
'service' : service,
'public_ url': public_url,
'internal_ url': internal_url,
'admin_ url': admin_url,
'region' : region,
self.set_ local(* *relation_ info)
self.set_ remote( **relation_ info)
"""
Register this service with keystone
"""
}
Agree service_type is a bit misleading - maybe switch to service name with a backwards compat accessor?