Container build job: periodic-tripleo-ci-build-containers-ubi-8-push is failing with dependencies issues cannot install crypto-policies/cyrus-sasl-lib and cyrus-sasl-lib

Bug #1902846 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
yatin

Bug Description

Description:-

Container build job: periodic-tripleo-ci-build-containers-ubi-8-push is failing with dependencies issues cannot install crypto-policies/cyrus-sasl-lib and cyrus-sasl-lib

Logs:-

https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-build-containers-ubi-8-push/a850ae3/logs/containers-consolidated-builds.log
~~~
 Problem: package python3-oslo-context-3.1.1-0.20201019091913.57dbded.el8.noarch requires python3-pbr, but none of the providers can be installed
  - package python3-pbr-5.4.3-2.el8.noarch requires git-core, but none of the providers can be installed
  - package git-core-2.18.4-2.el8_2.x86_64 requires openssh-clients, but none of the providers can be installed
  - package openssh-clients-8.0p1-4.el8_1.x86_64 requires openssh = 8.0p1-4.el8_1, but none of the providers can be installed
  - package python3-oslo-log-4.4.0-0.20201019090221.9b29c90.el8.noarch requires python3-oslo-context >= 2.20.0, but none of the providers can be installed
  - package crypto-policies-20200713-1.git51d1222.el8.noarch conflicts with openssh < 8.0p1-5 provided by openssh-8.0p1-4.el8_1.x86_64
  - package python3-manilaclient-2.3.0-0.20201014085009.c267433.el8.noarch requires python3-oslo-log >= 3.36.0, but none of the providers can be installed
  - package crypto-policies-scripts-20200713-1.git51d1222.el8.noarch requires crypto-policies = 20200713-1.git51d1222.el8, but none of the providers can be installed
  - conflicting requests
  - problem with installed package crypto-policies-scripts-20200713-1.git51d1222.el8.noarch
(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)
~~~

~~~
Error:
 Problem: package python3-os-service-types-1.7.0-0.20201019075253.0b2f473.el8.noarch requires python3-pbr >= 2.0.0, but none of the providers can be installed
  - package python3-pbr-5.4.3-2.el8.noarch requires git-core, but none of the providers can be installed
  - package git-core-2.18.4-2.el8_2.x86_64 requires openssh-clients, but none of the providers can be installed
  - package openssh-clients-8.0p1-4.el8_1.x86_64 requires openssh = 8.0p1-4.el8_1, but none of the providers can be installed
  - package python3-keystoneauth1-4.2.1-0.20201019085310.c2d2e7a.el8.noarch requires python3-os-service-types >= 1.2.0, but none of the providers can be installed
  - package crypto-policies-20200713-1.git51d1222.el8.noarch conflicts with openssh < 8.0p1-5 provided by openssh-8.0p1-4.el8_1.x86_64
  - package python3-collectd-gnocchi-1.7.2-0.20200416150916.de115a7.el8.noarch requires python3-keystoneauth1 >= 3.3.0, but none of the providers can be installed
  - package crypto-policies-scripts-20200713-1.git51d1222.el8.noarch requires crypto-policies = 20200713-1.git51d1222.el8, but none of the providers can be installed
  - conflicting requests
  - problem with installed package crypto-policies-scripts-20200713-1.git51d1222.el8.noarch
(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)
~~~

~~~
Error:
 Problem: package cyrus-sasl-plain-2.1.27-1.el8.x86_64 requires cyrus-sasl-lib(x86-64) = 2.1.27-1.el8, but none of the providers can be installed
  - cannot install both cyrus-sasl-lib-2.1.27-1.el8.x86_64 and cyrus-sasl-lib-2.1.27-5.el8.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)
~~~

tags: added: promotion-blocker
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Hello,

This started after we got latest 8.3 ubi image.

For now we are pinning UBI image to 8.2 for build containers job. We need to continue with pinning till Centos 8.3 is out.

[1] https://review.rdoproject.org/r/#/c/30762/
[2] https://review.opendev.org/#/c/761402/

wes hayutin (weshayutin)
Changed in tripleo:
status: New → Triaged
Revision history for this message
Alfredo Moralejo (amoralej) wrote :
Download full text (3.6 KiB)

The actual issue is having ubi based on RHEL 8.3 while having CentOS 8.2 and *not* the updated ubi repo enabled.

An alternate solution, instead of pinning to 8.2 in the image would be to re-add the ubi repository config which is being removed at some point. I've done some tests with the 8.3 image and the ubi repo enabled and works fine.

# dnf install python3-oslo-context --nogpgcheck
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Last metadata expiration check: 0:03:33 ago on Thu Nov 5 15:11:44 2020.
Dependencies resolved.
==============================================================================================================================================================================================
 Package Architecture Version Repository Size
==============================================================================================================================================================================================
Installing:
 python3-oslo-context noarch 3.1.1-0.20201019091913.57dbded.el8 delorean-component-common 25 k
Installing dependencies:
 git-core x86_64 2.27.0-1.el8 ubi-8-appstream 5.7 M
 less x86_64 530-1.el8 BaseOS 164 k
 libedit x86_64 3.1-23.20170329cvs.el8 BaseOS 102 k
 openssh x86_64 8.0p1-5.el8 ubi-8-baseos 520 k
 openssh-clients x86_64 8.0p1-5.el8 ubi-8-baseos 666 k
 python3-debtcollector noarch 2.2.0-0.20201019081120.649189d.el8 delorean-component-common 31 k
 python3-funcsigs noarch 1.0.2-17.el8 delorean-master-testing 30 k
 python3-pbr noarch 5.4.3-2.el8 delorean-master-testing 90 k
 python3-setuptools noarch 50.3.0-1.el8 delorean-master-testing 972 k
     replaci...

Read more...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.opendev.org/761632

Changed in tripleo:
assignee: nobody → Alfredo Moralejo (amoralej)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/761463
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=f73147065c3dc36d7ed3bc93b52f217455984827
Submitter: Zuul
Branch: master

commit f73147065c3dc36d7ed3bc93b52f217455984827
Author: Sagi Shnaidman <email address hidden>
Date: Wed Nov 4 22:33:15 2020 +0200

    Support custom base image for build containers

    Related-Bug: #1902846
    Change-Id: Ic9c9863d5a16aae882ab53510e3266509beec558

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/761702

Changed in tripleo:
assignee: Alfredo Moralejo (amoralej) → yatin (yatinkarel)
Revision history for this message
Marios Andreou (marios-b) wrote :

taking over as CI rover this week and catching up

I think we are done here... the job is pretty green at [1] (ignoring the 'SKIPPED' of last 2 days because of https://bugs.launchpad.net/tripleo/+bug/1907049).

Various related fixes have now merged at [2][3][4][5]

Moving this to fix-released please move back if you disagree.

[1] https://review.rdoproject.org/zuul/builds?job_name=periodic-tripleo-ci-build-containers-ubi-8-push
[2] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/761463/
[3] https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/761632/
[4] https://review.opendev.org/c/openstack/python-tripleoclient/+/761702/
[5] https://review.opendev.org/c/openstack/tripleo-common/+/763203

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 14.1.0

This issue was fixed in the openstack/python-tripleoclient 14.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 15.0.0

This issue was fixed in the openstack/python-tripleoclient 15.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 13.4.2

This issue was fixed in the openstack/python-tripleoclient 13.4.2 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 12.4.0

This issue was fixed in the openstack/python-tripleoclient 12.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.