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

Update to 17.1 minor version fails due to openvswitch version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhos-17.1.z
    • rhos-17.1.8
    • tripleo-ansible
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-ops-day1day2-upgrades
    • None
    • Hide
      .Minor update fails because source repositories are enabled for Open vSwitch

      When the source repositories are enabled, the minor update fails on the task
      "Always ensure the openvswitch service is enabled and running after upgrade"
      with the error 'error={"changed": false, "msg": "Unable to enable service openvswitch: Failed to enable unit: Unit file openvswitch.service does not exist.\n"}'

      All RHOSP 17.1 versions are affected.

      *Workaround:* Disable the source repositories.
      Show
      .Minor update fails because source repositories are enabled for Open vSwitch When the source repositories are enabled, the minor update fails on the task "Always ensure the openvswitch service is enabled and running after upgrade" with the error 'error={"changed": false, "msg": "Unable to enable service openvswitch: Failed to enable unit: Unit file openvswitch.service does not exist.\n"}' All RHOSP 17.1 versions are affected. *Workaround:* Disable the source repositories.
    • Known Issue
    • Done
    • Moderate

      To Reproduce

      • doing minor update from 17.1.4 to 17.1.8 triggered this issue at openstack undercloud upgrade

      2025-07-24 11:13:04,775 p=725370 u=root n=ansible | 2025-07-24 11:13:04.775396 | 52540059-74d6-aa6b-70b2-000000000839 | TASK | Always ensure the openvswitch service is enabled and running after upgrades
      2025-07-24 11:13:05,072 p=725370 u=root n=ansible | 2025-07-24 11:13:05.071679 | 52540059-74d6-aa6b-70b2-000000000839 | FATAL | Always ensure the openvswitch service is enabled and running after upgrades | rhosp-director01 | error=

      {"changed": false, "msg": "Unable to enable service openvswitch: Failed to enable unit: Unit file openvswitch.service does not exist.\n"}

      Expected behavior

      • openstack undercloud upgrade complete successfully

      Bug impact

      • minor update stuck at openstack undercloud upgrade

      Known workaround

      • /usr/share/ansible/plugins/modules/tripleo_ovs_upgrade.py

      Once we comment out these two lines within the file:

      • # remove_package_noaction(module, ovs_pkgs,
      • # excludes=['selinux'])
        + remove_package_noaction(module, ovs_pkgs,
        + excludes=['selinux'])

      openvswitch rpm doesn't get deleted, and upgrade process finishes successfully.

       

              jbadiapa@redhat.com Juan Payno
              rhn-support-alisci Andrea Lisci
              rhos-dfg-upgrades
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: