hci_prepare
Prepare steps and files needed when deploying Ceph services alongside with compute nodes using edpm_deploy role.
Privilege escalation
None.
Parameters
cifmw_hci_prepare_basedir: (String) Base directory. Defaults tocifmw_basedirwhich defaults to~/ci-framework-data.cifmw_hci_prepare_dataplane_dir: (String) Directory in whereedpm_deployrole will search for DataPlane kustomizations. Defaults to"{{ cifmw_manifests_dir }}kustomizations/dataplane".cifmw_hci_prepare_dryrun: (Boolean) Perform a dry run on a set of commands. Defaults toFalse.cifmw_hci_prepare_skip_load_parameters: Skip the initialload_parametersstep, which load vars to gather network information. Defaults toFalse.cifmw_hci_prepare_ceph_secret_path: “/tmp/k8s_ceph_secret.yml”cifmw_hci_prepare_enable_storage_mgmt: (Boolean) Creates a kustomization file to includestorage-mgmtnetwork in DataPlane deployment. Defaults toTrue.cifmw_hci_prepare_enable_repo_setup_service: (Boolean) Optionally addsrepo-setupservice to OpenStackDataPlaneNodeSet in both phase1 and phase2. Defaults toTrue.cifmw_hci_prepare_storage_mgmt_mtu: (Int) Storage-Management network MTU. Defaults to1500.cifmw_hci_prepare_storage_mgmt_vlan: (Int) Storage-Management network VLAn. Defaults to23.cifmw_hci_prepare_namespace: (String) Namespace to use to apply resources if install-yamls is not used. Defaults toopenstack.cifmw_hci_prepare_extra_services: (List) List of additional services to add to the OpenStackDataPlaneNodeSetserviceslist during HCI deployment. This allows you to customize which extra services are enabled on the EDPM nodes beyond the default set. Defaults to an empty list.
Examples
1 - How to deploy HCI using hci_prepare and edpm_deploy
- hosts: localhost
tasks:
- name: Prepare for HCI deploy phase 1
ansible.builtin.import_role:
name: hci_prepare
tasks_from: phase1.yml
- name: Deploy EDPM using edpm_deploy role
ansible.builtin.import_role:
name: edpm_deploy
- name: Deploy Ceph on edpm nodes
ansible.builtin.import_playbook: hooks/playbooks/ceph.yml
- name: Prepare for HCI deploy phase 2
ansible.builtin.import_role:
name: hci_prepare
tasks_from: phase2.yml
- name: Continue HCI deployment using edpm_deploy role
ansible.builtin.import_role:
name: edpm_deploy