Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-46224

[RFE] rhel_system_roles.ha_cluster - export pcsd and OS configuration

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: Generate New Ti...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • rhel-system-roles
    • 13
    • 0
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Feature
    • Hide
      .The `ha_cluster` RHEL System Role can now export OS and `pcsd` configurations

      Previously, when using the `ha_cluster` RHEL System Role to export the configuration of an existing cluster, the export did not include important OS-level settings such as repository, firewall, or SELinux configurations. This resulted in an incomplete definition, making it difficult to fully recreate a cluster from the exported data.

      With this enhancement, the `ha_cluster` role's export functionality now gathers and exports OS-level and `pcsd` daemon configurations from cluster nodes.

      As a result, you can generate a more complete cluster definition from an existing deployment. This is useful for recreating the cluster or for bringing a cluster that was not created with the `ha_cluster` role under its management. The exported data now includes the following variables:

      * `ha_cluster_enable_repos`
      * `ha_cluster_enable_repos_resilient_storage`
      * `ha_cluster_manage_firewall`
      * `ha_cluster_manage_selinux`
      * `ha_cluster_install_cloud_agents`
      * `ha_cluster_pcs_permission_list`
      Show
      .The `ha_cluster` RHEL System Role can now export OS and `pcsd` configurations Previously, when using the `ha_cluster` RHEL System Role to export the configuration of an existing cluster, the export did not include important OS-level settings such as repository, firewall, or SELinux configurations. This resulted in an incomplete definition, making it difficult to fully recreate a cluster from the exported data. With this enhancement, the `ha_cluster` role's export functionality now gathers and exports OS-level and `pcsd` daemon configurations from cluster nodes. As a result, you can generate a more complete cluster definition from an existing deployment. This is useful for recreating the cluster or for bringing a cluster that was not created with the `ha_cluster` role under its management. The exported data now includes the following variables: * `ha_cluster_enable_repos` * `ha_cluster_enable_repos_resilient_storage` * `ha_cluster_manage_firewall` * `ha_cluster_manage_selinux` * `ha_cluster_install_cloud_agents` * `ha_cluster_pcs_permission_list`
    • Done
    • Done
    • Done
    • Not Required
    • None

      Goal

      • As an ha_cluster role user, I want to be able to export pcsd and various other pieces of configuration of existing cluster setup so that when running the exported configuration as a ha_cluster role playbook I am able to recreate the same cluster.
      • This expects that corosync configuration is already being exported as described in RHEL-46219

      Acceptance Criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • The following variables are handled in the export
        • ha_cluster_pcsd_public_key_src
        • ha_cluster_pcsd_private_key_src
        • ha_cluster_pcsd_certificates
        • ha_cluster_pcs_permission_list
        • ha_cluster_enable_repos
        • ha_cluster_enable_repos_resilient_storage
        • ha_cluster_manage_firewall
        • ha_cluster_manage_selinux
        • ha_cluster_install_cloud_agents
        • ha_cluster_fence_agent_packages
        • ha_cluster_extra_packages
      •  

              rmeggins@redhat.com Richard Megginson
              tojeline@redhat.com Tomas Jelinek
              Tomas Jelinek Tomas Jelinek
              Michal Nováček Michal Nováček
              Michal Stubna Michal Stubna
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: