config/puppet-manifests
Angie Wang ad14905521 Helm repository replication
Currently, starlingx helm local repository is only configured on
controller-0, that causes stx-openstack application apply failure
when controller-1 is active. This commit is to replicate helm
repository on both controllers.

To ensure charts synchronized on controllers, charts are placed
in drbd fs(/opt/cgcs/helm_charts). However, lighttpd is configured
in chroot environment(/www). So the directory /www/pages/helm_charts
is served by lighttpd as helm repository which means the request
looks for charts under /www/pages/helm_charts. In order to access
charts outside of the chroot /www, a bind mount is created to mount
/opt/cgcs/helm_charts on /www/pages/helm_charts. This mount resource
is managed by SM.

Validated:
 on AIO-DX, Standard
 - system application-upload on controller-0
   system host-swact controller-0
   system application-apply on controller-1
 - system application-upload on controller-0
   system host-swact controller-0
   reboot controller-0
   system application-delete on controller-1
   system application-upload with new tarball on controller-1
   system application-apply on active controller
 - system application-upload on controller-0
   reboot controller-0
   reboot controller-1
   system application-apply on active controller
 on AIO-SX,
 - system application-upload on controller-0
 - system application-apply

Story: 2004520
Task: 28343
Depends-On: https://review.openstack.org/#/c/630764/
Change-Id: I6c70e0f1866589888a826d8a890a21888c55633e
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-01-16 17:42:59 -05:00
..
centos Fix mtce.pp to handle missing /etc/rmonfiles.d directory 2019-01-14 20:40:15 +00:00
src Helm repository replication 2019-01-16 17:42:59 -05:00
tox.ini Update puppet module tox.ini files for puppet-lint 2019-01-02 15:27:09 -05:00