-
Bug
-
Resolution: Done
-
Normal
-
rhos-17.1.4
Description of problem:
tripleo-ansible task with name "Special treatment for OpenvSwitch" fails if some extra, non-core, openvswitch packages are installed.
Version-Release number of selected component (if applicable):
17.1.3
How reproducible:
Always reproducible
Steps to Reproduce:
1. Deploy RHOSP 16.2 overcloud
2. Install openvswitch2.15-devel or openvswitch2.15-test on at least one overcloud node
3. Run overcloud upgrade
Actual results:
Overcloud upgrade breaks during execution of task "Special treatment for OpenvSwitch", on the host with extra openvswitch2.15 packages:
~~~
^[[0;31m2024-10-21 05:09:34.845965 | 2cc26024-0e20-fa42-5414-00000000187d | FATAL | Special treatment for OpenvSwitch | overcloud-novacompute-0 | error=
^[[0m
~~~
Expected results:
Overcloud upgrade tasks can correctly detect and upgrade all installed openvswitch2.15-* packages.
Additional info:
This issue has been already identified and documented [0], but I don't see the root cause investigated nor a BZ created yet, and therefore I'm creating one.
The root cause is likely in the regex inside this function [1], as the test or devel packages (and others) would not hit the regular expression [2]. Removing the packages as instructed on the KB is a good-enough workaround, but the problem should not happen in the first place.
[0] https://access.redhat.com/solutions/7057436
[1] https://opendev.org/openstack/tripleo-ansible/src/commit/31ed062a9c1cc2bbccc73ece1ed7307e58b390d1/tripleo_ansible/ansible_plugins/modules/tripleo_ovs_upgrade.py#L83-L96
[2] https://regexr.com/879bp
- external trackers