Configure internal/admin endpoints for vim on DC

Added internal/admin endpoints to fix an issue with Puppet-Keystone
'keystone_endpoint' method for SystemController's vim endpoint,
that wasn't being correctly updated when https was enabled.

Test Plan:
PASS: List OpenStack endpoints. For nfv/vim, SystemController region
      now must have 3 endpoints, one for each interface (public,
      internal and admin). For each interface, the endpoints must be
      configured with same base IP as the other services (i.e.
      Patching).
PASS: Enable https. Wait for the endpoints to be applied. Public and
      admin endpoints for vim in SystemController must become https.

Depends-on: https://review.opendev.org/c/starlingx/stx-puppet/+/863936

Closes-Bug: 1995951

Signed-off-by: Marcelo de Castro Loebens <Marcelo.DeCastroLoebens@windriver.com>
Change-Id: I173cda45962c401b261dfb5cf88a88d036453f41
This commit is contained in:
Marcelo de Castro Loebens 2022-11-07 17:04:23 -04:00
parent b42950fd87
commit 8543378423
1 changed files with 7 additions and 0 deletions

View File

@ -98,6 +98,10 @@ class DCOrchPuppet(openstack.OpenstackBasePuppet):
'dcorch::keystone::auth::identity_proxy_internal_url':
self.get_proxy_internal_url(self.IDENTITY_SERVICE_PORT,
self.IDENTITY_SERVICE_PATH),
'dcorch::keystone::auth::nfv_proxy_internal_url':
self.get_proxy_internal_url(self.NFV_SERVICE_PORT,
self.NFV_SERVICE_PATH),
'dcorch::keystone::auth::neutron_proxy_public_url':
self.get_proxy_public_url(self.NETWORKING_SERVICE_PORT,
self.NETWORKING_SERVICE_PATH),
@ -132,6 +136,9 @@ class DCOrchPuppet(openstack.OpenstackBasePuppet):
'dcorch::keystone::auth::patching_proxy_admin_url':
self.get_proxy_admin_url(self.PATCHING_SERVICE_PORT,
self.PATCHING_SERVICE_PATH),
'dcorch::keystone::auth::nfv_proxy_admin_url':
self.get_proxy_admin_url(self.NFV_SERVICE_PORT,
self.NFV_SERVICE_PATH),
'dcorch::keystone::auth::region': self.get_region_name(),
'dcorch::keystone::auth::auth_name': ksuser,