Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-14686

Package openvswitch2.17 conflicts with openvswitch2.15 during the 4.12 to 4.13 upgrade of RHEL worker

XMLWordPrintable

    • Critical
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-14333. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-14000. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-11677. The following is the description of the original issue:

      Description of problem:

      After manually workaround https://issues.redhat.com/browse/OCPBUGS-11409, run the upgrade playbook for RHEL workers, it failed at step
       
      TASK [openshift_node : Install openshift packages] 
      fatal: [10.0.128.6]: FAILED! => {"ansible_job_id": "904418717610.191975", "attempts": 3, "changed": false, "failures": [], "finished": 1, "msg": "Depsolve Error occurred: \n Problem: problem with installed package openvswitch2.15-2.15.0-133.el8fdp.x86_64\n  - package openvswitch2.17-2.17.0-77.el8fdp.x86_64 conflicts with openvswitch2.15 provided by openvswitch2.15-2.15.0-133.el8fdp.x86_64\n  - package openvswitch2.17-2.17.0-77.el8fdp.x86_64 conflicts with openvswitch2.15 provided by openvswitch2.15-2.15.0-9.el8fdp.x86_64\n  - cannot install the best candidate for the job", "rc": 1, "results": [], "results_file": "/root/.ansible_async/904418717610.191975", "started": 1, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
       
      
      openvswitch2.17-2.17.0-77.el8fdp.x86_64 and openvswitch2.15-2.15.0-133.el8fdp.x86_64 are both provided by the rhel-8-fast-datapath-rpms repo, in 4.12 ansible playbook, we're specifying "openvswitch2.15"[1] to be installed on the RHEL node, while in 4.13, it's already updated to "openvswitch2.17"[2]. 
      
      [1]https://github.com/openshift/openshift-ansible/blob/release-4.12/roles/openshift_node/defaults/main.yml#L85
      [2]https://github.com/openshift/openshift-ansible/blob/release-4.13/roles/openshift_node/defaults/main.yml#L85
      
      
      And looks openvswitch2.15-2.15.0-133.el8fdp.x86_64 couldn't be updated to openvswitch2.17-2.17.0-77.el8fdp.x86_64 directly, it has to be removed before installing the openvswitch2.17 package. 
      
      [root@gpei-test-ansible-core ~]# rpm -q openvswitch2.15openvswitch2.15-2.15.0-133.el8fdp.x86_64
      
      [root@gpei-test-ansible-core ~]# yum install openvswitch2.17
      Last metadata expiration check: 0:05:28 ago on Wed 12 Apr 2023 01:45:47 AM EDT.Error:  Problem: problem with installed package openvswitch2.15-2.15.0-133.el8fdp.x86_64  - package openvswitch2.17-2.17.0-77.el8fdp.x86_64 conflicts with openvswitch2.15 provided by openvswitch2.15-2.15.0-133.el8fdp.x86_64  - package openvswitch2.17-2.17.0-77.el8fdp.x86_64 conflicts with openvswitch2.15 provided by openvswitch2.15-2.15.0-9.el8fdp.x86_64  - package openvswitch2.17-2.17.0-77.el8fdp.x86_64 conflicts with openvswitch2.15 provided by openvswitch2.15-2.15.0-109.el8fdp.x86_64  - package ...
        - package openvswitch2.17-2.17.0-77.el8fdp.x86_64 conflicts with openvswitch2.15 provided by openvswitch2.15-2.15.0-130.el8fdp.x86_64  - cannot install the best candidate for the job(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
      
      [root@gpei-test-ansible-core ~]# yum swap openvswitch2.15 openvswitch2.17
      Last metadata expiration check: 0:05:34 ago on Wed 12 Apr 2023 01:45:47 AM EDT.Dependencies resolved.====================================================================================================================== Package                 Architecture   Version                   Repository                                     Size======================================================================================================================Installing: openvswitch2.17         x86_64         2.17.0-77.el8fdp          fast-datapath-for-rhel-8-x86_64-rpms           17 MRemoving: openvswitch2.15         x86_64         2.15.0-133.el8fdp         @fast-datapath-for-rhel-8-x86_64-rpms          57 M
      Transaction Summary======================================================================================================================Install  1 PackageRemove   1 Package
      Total download size: 17 MIs this ok [y/N]: yDownloading Packages:openvswitch2.17-2.17.0-77.el8fdp.x86_64.rpm                                            42 MB/s |  17 MB     00:00    ----------------------------------------------------------------------------------------------------------------------Total                                                                                  41 MB/s |  17 MB     00:00     Running transaction checkTransaction check succeeded.Running transaction testTransaction test succeeded.Running transaction  Preparing        :                                                                                              1/1   Running scriptlet: openvswitch2.17-2.17.0-77.el8fdp.x86_64                                                      1/1   Running scriptlet: openvswitch2.17-2.17.0-77.el8fdp.x86_64                                                      1/2   Installing       : openvswitch2.17-2.17.0-77.el8fdp.x86_64                                                      1/2   Running scriptlet: openvswitch2.17-2.17.0-77.el8fdp.x86_64                                                      1/2   Running scriptlet: openvswitch2.15-2.15.0-133.el8fdp.x86_64                                                     2/2   Erasing          : openvswitch2.15-2.15.0-133.el8fdp.x86_64                                                     2/2   Running scriptlet: openvswitch2.15-2.15.0-133.el8fdp.x86_64                                                     2/2   Verifying        : openvswitch2.17-2.17.0-77.el8fdp.x86_64                                                      1/2   Verifying        : openvswitch2.15-2.15.0-133.el8fdp.x86_64                                                     2/2 
      Installed:  openvswitch2.17-2.17.0-77.el8fdp.x86_64                                                                             Removed:  openvswitch2.15-2.15.0-133.el8fdp.x86_64                                                                            
      Complete!
      
      
      
      
      
      

      Version-Release number of selected component (if applicable):

      openshift-ansible-4.13.0-202303212128.p0.gb19390b.assembly.stream.el8.noarch.rpm

      How reproducible:

      Always

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

              Unassigned Unassigned
              openshift-crt-jira-prow OpenShift Prow Bot
              Gaoyun Pei Gaoyun Pei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: