config/playbookconfig/playbookconfig/playbooks/bootstrap/roles/prepare-env
Tee Ngo 0dddabca4d Enable platform APIs from pods at bootstrap
This commit enables access to platform service APIs from within
Kubernetes pods prior to initial controller unlock. Prior to
this changes, service endpoints were only reconfigured right
before the unlock making sysinv apis inaccessible to services
running inside the pods as they can not reach the loopback IP
(127.0.0.1).

This is achieved by reconfiguring service endpoints
  a) during initial bootstrap play from loopback IP to the provided
     management and OAM IPs
  b) during subsequent replays with newly provided management
     and/or oam network config values.

Tests performed:
  - Bootstrap with defaults, verify endpoints
  - Change management subnet value and replay, verify endpoints
  - Change oam floating IP and replay, verify endpoints
  - Configure host for unlock
  - Unlock controller

Story: 2004695
Task: 30914
Related-Bug: #1828880

Change-Id: I9ef9d30bbf8713c75206b338aefd53c3e77db0cb
Signed-off-by: Tee Ngo <tee.ngo@windriver.com>
2019-05-17 19:00:57 +00:00
..
files Ansible Bootstrap Deployment 2019-04-11 08:40:34 -04:00
handlers Ansible Bootstrap Deployment 2019-04-11 08:40:34 -04:00
tasks Enable platform APIs from pods at bootstrap 2019-05-17 19:00:57 +00:00
vars Ansible bootstrap deployment 2019-04-26 15:15:33 -04:00