canonical / charm-openstack-service-checks

Collection of Nagios checks and other utilities that can be used to verify the operation of an OpenStack cluster
0 stars 2 forks source link

Can't specify OS_INTERFACE with os-client-config library #114

Closed sudeephb closed 7 months ago

sudeephb commented 7 months ago

In an environment with multiple spaces for keystone/nova/neutron endpoints, you must bind your application to the oam-space (for nagios access), internal-space, and public-space. internalURL endpoint keystone URL is returned by keystone:identity-credentials, which requires the internal-space, but the default interface for os-client-config seems to be public only, as it's not picking up the OS_INTERNAL environment variable.

Suggest recoding to openstacksdk library and set up "use-internal-endpoints" similiar to other openstack charms to remove need for access to external/public network for the monitoring service.


Imported from Launchpad using lp2gh.

sudeephb commented 7 months ago

(by xavpaice) This has since been addressed by adding extra bindings for checking against all endpoints in the Keystone catalog.