Collapse the glance filesystem into platform
The filesystem /opt/cgcs is removed and its content moved under /opt/platform. Resources related to drbd-cgcs and /opt/cgcs are updated to drbd-plaform and /opt/plaform or removed. Tested in AIO-SX, AIO-DX and Standard hardware labs. Depends-On: https://review.opendev.org/674360 Partial-Bug: 1830142 Change-Id: Id5bda3e8772cba1a8cd9f6d6d1fac221985dffc7 Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
This commit is contained in:
parent
009d8ee096
commit
256c40751a
@ -34,7 +34,7 @@
|
|||||||
config_permdir: "{{ platform_path }}/config/{{ software_version }}"
|
config_permdir: "{{ platform_path }}/config/{{ software_version }}"
|
||||||
puppet_permdir: "{{ platform_path }}/puppet/{{ software_version }}"
|
puppet_permdir: "{{ platform_path }}/puppet/{{ software_version }}"
|
||||||
armada_permdir: "{{ platform_path }}/armada/{{ software_version }}"
|
armada_permdir: "{{ platform_path }}/armada/{{ software_version }}"
|
||||||
helm_charts_permdir: "{{ cgcs_path }}/helm_charts"
|
helm_charts_permdir: "{{ platform_path }}/helm_charts"
|
||||||
patching_permdir: "/opt/patching"
|
patching_permdir: "/opt/patching"
|
||||||
patching_repo_permdir: "/www/pages/updates"
|
patching_repo_permdir: "/www/pages/updates"
|
||||||
extension_permdir: "/opt/extension"
|
extension_permdir: "/opt/extension"
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
platform_path: /opt/platform
|
platform_path: /opt/platform
|
||||||
cgcs_path: /opt/cgcs
|
|
||||||
platform_conf_path: /etc/platform
|
platform_conf_path: /etc/platform
|
||||||
backup_in_progress_flag: "{{ platform_conf_path }}/.backup_in_progress"
|
backup_in_progress_flag: "{{ platform_conf_path }}/.backup_in_progress"
|
||||||
host_override_backup_file: "{{ inventory_hostname }}_override_backup.yml"
|
host_override_backup_file: "{{ inventory_hostname }}_override_backup.yml"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
tiller_img: gcr.io/kubernetes-helm/tiller:v2.13.1
|
tiller_img: gcr.io/kubernetes-helm/tiller:v2.13.1
|
||||||
armada_img: quay.io/airshipit/armada:dd2e56c473549fd16f94212b553ed58c48d1f51b-ubuntu_bionic
|
armada_img: quay.io/airshipit/armada:dd2e56c473549fd16f94212b553ed58c48d1f51b-ubuntu_bionic
|
||||||
source_helm_bind_dir: /opt/cgcs/helm_charts
|
source_helm_bind_dir: /opt/platform/helm_charts
|
||||||
target_helm_bind_dir: /www/pages/helm_charts
|
target_helm_bind_dir: /www/pages/helm_charts
|
||||||
helm_repo_name_apps: starlingx
|
helm_repo_name_apps: starlingx
|
||||||
helm_repo_name_platform: stx-platform
|
helm_repo_name_platform: stx-platform
|
||||||
|
@ -105,12 +105,10 @@
|
|||||||
failed_when: false
|
failed_when: false
|
||||||
with_items:
|
with_items:
|
||||||
- lvextend -L20G /dev/cgts-vg/pgsql-lv
|
- lvextend -L20G /dev/cgts-vg/pgsql-lv
|
||||||
- lvextend -L10G /dev/cgts-vg/cgcs-lv
|
|
||||||
- lvextend -L16G /dev/cgts-vg/dockerdistribution-lv
|
- lvextend -L16G /dev/cgts-vg/dockerdistribution-lv
|
||||||
- lvextend -L40G /dev/cgts-vg/backup-lv
|
- lvextend -L40G /dev/cgts-vg/backup-lv
|
||||||
- drbdadm -- --assume-peer-has-space resize all
|
- drbdadm -- --assume-peer-has-space resize all
|
||||||
- resize2fs /dev/drbd0
|
- resize2fs /dev/drbd0
|
||||||
- resize2fs /dev/drbd3
|
|
||||||
- resize2fs /dev/drbd8
|
- resize2fs /dev/drbd8
|
||||||
|
|
||||||
- name: Fail if file system resizing failed for a reason other than it has been done already
|
- name: Fail if file system resizing failed for a reason other than it has been done already
|
||||||
@ -128,11 +126,9 @@
|
|||||||
failed_when: false
|
failed_when: false
|
||||||
with_items:
|
with_items:
|
||||||
- lvextend -L40G /dev/cgts-vg/pgsql-lv
|
- lvextend -L40G /dev/cgts-vg/pgsql-lv
|
||||||
- lvextend -L20G /dev/cgts-vg/cgcs-lv
|
|
||||||
- lvextend -L50G /dev/cgts-vg/backup-lv
|
- lvextend -L50G /dev/cgts-vg/backup-lv
|
||||||
- drbdadm -- --assume-peer-has-space resize all
|
- drbdadm -- --assume-peer-has-space resize all
|
||||||
- resize2fs /dev/drbd0
|
- resize2fs /dev/drbd0
|
||||||
- resize2fs /dev/drbd3
|
|
||||||
|
|
||||||
- name: Fail if additional resizing failed for a reason other than it has been done already
|
- name: Fail if additional resizing failed for a reason other than it has been done already
|
||||||
fail:
|
fail:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
platform_conf_path: /etc/platform
|
platform_conf_path: /etc/platform
|
||||||
helm_charts_permdir: /opt/cgcs/helm_charts
|
helm_charts_permdir: /opt/platform/helm_charts
|
||||||
patching_permdir: /opt/patching
|
patching_permdir: /opt/patching
|
||||||
patching_repo_permdir: /www/pages/updates
|
patching_repo_permdir: /www/pages/updates
|
||||||
extension_permdir: /opt/extension
|
extension_permdir: /opt/extension
|
||||||
|
Loading…
Reference in New Issue
Block a user