Comment 0 for bug 1845496

Revision history for this message
Nicolas Pochet (npochet) wrote :

One of our would like to be able to to define custom endpoints for their OpenStack services. At the moment, it is not possible as the only way to modify those endpoints through charms is to specify os-*-hostname.
If we take the nova endpoints example, they would like to specify public endpoints like https://api-gw:8774/ENVIRONMENT_CODE/nova/v2.1.

The approach that could be investigated would be to add an endpoints dict as a config option. That would require some modification of the charms.

For example, in the n-c-c charm, we would need to modify https://github.com/openstack/charm-nova-cloud-controller/blob/f98a6bd9625315bfce79132cdd5f2038240aff01/hooks/nova_cc_utils.py#L1410 to fetch this endpoints dict from config if any.

WDYT? Is it something that would be viable?