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

Make EDPM deployment not disrupt OVS dataplane traffic when openvswitch package is updated

XMLWordPrintable

    • 8
    • False
    • Hide

      None

      Show
      None
    • False
    • Proposed
    • No Docs Impact
    • ansible-collection-containers-podman-1.9.4-3.el9ost
    • Proposed
    • Proposed
    • None
    • Release Note Not Required
    • Hide

      RHOSO18Beta waived:Upgrade: data plane disruption

      Show
      RHOSO18Beta waived: Upgrade : data plane disruption
    • Approved
    • 8
    • Important

      Both during adoption and later during updates/upgrades of the EDPM nodes we should make sure that openvswitch package update won't disrupt the dataplane traffic.

      In TripleO it was done with hack https://github.com/openstack-archive/tripleo-heat-templates/blob/stable/wallaby/deployment/undercloud/undercloud-upgrade.yaml#L126-L145 and on overclouds https://github.com/openstack-archive/tripleo-heat-templates/blob/stable/wallaby/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml#L468-L515 The hack was effectively skipping some parts of rpm installation for the package.

      Right now in the OSP 18, after https://github.com/openstack-k8s-operators/edpm-ansible/pull/539 was merged we don't run update packages for update/upgrades but that may change in future.

      As per OVS folks, the right way to update vswitchd is to use flow-restore-wait option in db to affect how vswitchd restarts; then store / restore flows using ovs-ofctl; then disable the option. These steps can be orchestrated in ansible.

      Note: a similar problem also applies to podified OVS. There, RPM hack definitely doesn't apply, so it would be wise to come up with some common solution to both scenarios.

      Note: this bug is only about EDPM node side. Podified OVS handling of OVS image updates should be tracked in a separate bug (to be reported.)

        1. upgrade_output.txt
          58 kB
        2. upgrade_output_no_scripts.txt
          46 kB
        3. playbook_results.txt
          15 kB
        4. steps_and_info.txt
          27 kB
        5. steps_and_info-1.txt
          27 kB

              mtomaska@redhat.com Miro Tomaska
              skaplons@redhat.com Slawomir Kaplonski
              Bharath M V Bharath M V
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: