Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-155

add generic interface to configure sysctl to the OpenstackDataplaneNode CRD

XMLWordPrintable

      As per the design docs for the interaction between service operators
      configuraiton of RHEL is out os scope of the service operators adn should be done centrally by the datapalne operator.

      To enable this a generic interfaces is requried to allow configuring sysctl paramters.

      This story tracks adding a key value sysctlOverirdes field to the OpenstackDataplaneNode CRD.

      the edpm_kernel role can already be reused to manage sysctl configuration on a node
      we should review the current default and update them to enable all values we expect to always set and exposed a
      sysctlExtraSettings filed to map to the edpm_kernel_sysctl_extra_settings ansible paramater.

      the defaults should enable vm.unprivileged_userfaultfd=1 to enable postcopy live migration and ovs-dpdk.

      https://github.com/openstack-k8s-operators/edpm-ansible/blob/0958a37c75abff86323232f4778135d6d12cacd8/roles/edpm_nova_compute/tasks/configure.yml#L27

      and the existing values in edpm_kernel_sysctl_extra_settings

      https://github.com/openstack-k8s-operators/edpm-ansible/blob/0958a37c75abff86323232f4778135d6d12cacd8/roles/edpm_kernel/defaults/main.yml#L27-L61

      should be moved to edpm_kernel_sysctl_settings to have a clean seperateion between out default and the user provided overrides.

      https://github.com/openstack-k8s-operators/edpm-ansible/blob/0958a37c75abff86323232f4778135d6d12cacd8/roles/edpm_kernel/vars/main.yml

              bdobreli@redhat.com Bohdan Dobrelia
              smooney@redhat.com Sean Mooney
              rhos-dfg-compute
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: