ad14905521
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> |
||
---|---|---|
.. | ||
centos | ||
src | ||
tox.ini |