different rpm packages install are failing

Bug #1754669 reported by Michele Baldessari on 2018-03-09
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Critical
Unassigned

Bug Description

On https://review.openstack.org/#/c/550741/ we are failing to install gcc it seems. From http://logs.openstack.org/41/550741/1/check/puppet-openstack-unit-4.8-centos-7/49ef448/job-output.txt.gz#_2018-03-09_10_46_45_365500:

2018-03-09 10:46:45.365500 | centos-7 | "msg": "Error: Package: libquadmath-devel-4.8.5-16.el7_4.1.x86_64 (updates)\n Requires: gcc = 4.8.5-16.el7_4.1\n Installed: gcc-4.8.5-16.el7_4.2.x86_64 (@updates)\n gcc = 4.8.2-16.el7_4\n gcc = 4.8.5-16.el7_4.2\n Available: gcc-4.8.5-16.el7.x86_64 (base)\n gcc = 4.8.5-16.el7\n gcc = 4.8.2-16.el7\n Available: gcc-4.8.5-16.el7_4.1.x86_64 (updates)\n gcc = 4.8.5-16.el7_4.1\n gcc = 4.8.2-16.el7_4\nError: Package: libstdc++-devel-4.8.5-16.el7_4.1.x86_64 (updates)\n Requires: libstdc++(x86-64) = 4.8.5-16.el7_4.1\n Installed: libstdc++-4.8.5-16.el7_4.2.x86_64 (@updates)\n libstdc++(x86-64) = 4.8.5-16.el7_4.2\n Available: libstdc++-4.8.5-16.el7.x86_64 (base)\n libstdc++(x86-64) = 4.8.5-16.el7\n Available: libstdc++-4.8.5-16.el7_4.1.x86_64 (updates)\n libstdc++(x86-64) = 4.8.5-16.el7_4.1\nError: Package: gcc-c++-4.8.5-16.el7_4.1.x86_64 (updates)\n Requires: gcc = 4.8.5-16.el7_4.1\n Installed: gcc-4.8.5-16.el7_4.2.x86_64 (@updates)\n gcc = 4.8.2-16.el7_4\n gcc = 4.8.5-16.el7_4.2\n Available: gcc-4.8.5-16.el7.x86_64 (base)\n gcc = 4.8.5-16.el7\n gcc = 4.8.2-16.el7\n Available: gcc-4.8.5-16.el7_4.1.x86_64 (updates)\n gcc = 4.8.5-16.el7_4.1\n gcc = 4.8.2-16.el7_4\nError: Package: gcc-gfortran-4.8.5-16.el7_4.1.x86_64 (updates)\n Requires: gcc = 4.8.5-16.el7_4.1\n Installed: gcc-4.8.5-16.el7_4.2.x86_64 (@updates)\n gcc = 4.8.2-16.el7_4\n gcc = 4.8.5-16.el7_4.2\n Available: gcc-4.8.5-16.el7.x86_64 (base)\n gcc = 4.8.5-16.el7\n gcc = 4.8.2-16.el7\n Available: gcc-4.8.5-16.el7_4.1.x86_64 (updates)\n gcc = 4.8.5-16.el7_4.1\n gcc = 4.8.2-16.el7_4\n",
2018-03-09 10:46:45.365610 | centos-7 | "rc": 1,

Where as on http://logs.openstack.org/37/551237/1/check/tripleo-ci-centos-7-undercloud-oooq/f16686c/logs/undercloud/home/zuul/undercloud_install.log.txt.gz#_2018-03-09_10_36_22 we are failing on systemd install:
2018-03-09 10:36:22 | 2018-03-09 10:36:22,140 INFO: Error: Execution of '/bin/yum -d 0 -e 0 -y install systemd-python' returned 1: Error: Package: systemd-python-219-42.el7_4.7.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,141 INFO: Requires: systemd = 219-42.el7_4.7
2018-03-09 10:36:22 | 2018-03-09 10:36:22,141 INFO: Installed: systemd-219-42.el7_4.10.x86_64 (@updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,141 INFO: systemd = 219-42.el7_4.10
2018-03-09 10:36:22 | 2018-03-09 10:36:22,141 INFO: Available: systemd-219-42.el7.x86_64 (quickstart-centos-base)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,142 INFO: systemd = 219-42.el7
2018-03-09 10:36:22 | 2018-03-09 10:36:22,142 INFO: Available: systemd-219-42.el7_4.1.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,142 INFO: systemd = 219-42.el7_4.1
2018-03-09 10:36:22 | 2018-03-09 10:36:22,142 INFO: Available: systemd-219-42.el7_4.4.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,143 INFO: systemd = 219-42.el7_4.4
2018-03-09 10:36:22 | 2018-03-09 10:36:22,143 INFO: Available: systemd-219-42.el7_4.6.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,143 INFO: systemd = 219-42.el7_4.6
2018-03-09 10:36:22 | 2018-03-09 10:36:22,143 INFO: Available: systemd-219-42.el7_4.7.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,144 INFO: systemd = 219-42.el7_4.7
2018-03-09 10:36:22 | 2018-03-09 10:36:22,144 INFO: You could try using --skip-broken to work around the problem
2018-03-09 10:36:22 | 2018-03-09 10:36:22,144 INFO: You could try running: rpm -Va --nofiles --nodigest
2018-03-09 10:36:22 | 2018-03-09 10:36:22,145 INFO: Error: /Stage[main]/Ironic::Drivers::Ansible/Package[systemd-python]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install systemd-python' returned 1: Error: Package: systemd-python-219-42.el7_4.7.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,145 INFO: Requires: systemd = 219-42.el7_4.7
2018-03-09 10:36:22 | 2018-03-09 10:36:22,145 INFO: Installed: systemd-219-42.el7_4.10.x86_64 (@updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,146 INFO: systemd = 219-42.el7_4.10
2018-03-09 10:36:22 | 2018-03-09 10:36:22,146 INFO: Available: systemd-219-42.el7.x86_64 (quickstart-centos-base)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,146 INFO: systemd = 219-42.el7
2018-03-09 10:36:22 | 2018-03-09 10:36:22,146 INFO: Available: systemd-219-42.el7_4.1.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,146 INFO: systemd = 219-42.el7_4.1
2018-03-09 10:36:22 | 2018-03-09 10:36:22,147 INFO: Available: systemd-219-42.el7_4.4.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,147 INFO: systemd = 219-42.el7_4.4
2018-03-09 10:36:22 | 2018-03-09 10:36:22,147 INFO: Available: systemd-219-42.el7_4.6.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,147 INFO: systemd = 219-42.el7_4.6
2018-03-09 10:36:22 | 2018-03-09 10:36:22,148 INFO: Available: systemd-219-42.el7_4.7.x86_64 (quickstart-centos-updates)
2018-03-09 10:36:22 | 2018-03-09 10:36:22,148 INFO: systemd = 219-42.el7_4.7
2018-03-09 10:36:22 | 2018-03-09 10:36:22,148 INFO: You could try using --skip-broken to work around the problem
2018-03-09 10:36:22 | 2018-03-09 10:36:22,148 INFO: You could try running: rpm -Va --nofiles --nodigest

Emilien Macchi (emilienm) wrote :
tags: added: promotion-blocker
Changed in tripleo:
milestone: none → rocky-1
Alfredo Moralejo (amoralej) wrote :

The actual problem is missing updates in http://mirror.dfw.rax.openstack.org/centos/7/updates/x86_64/Packages

While the image has systemd-219-42.el7_4.10.x86_64 installed from updates (which was updated on 8-Mar at 14:43 http://mirror.centos.org/centos-7/7/updates/x86_64/Packages/?C=M;O=D), that update is not found in http://mirror.dfw.rax.openstack.org/centos/7/updates so when it tries to install python-systemd, it fails to resolve dependencies as the newest version available is ystemd-python-219-42.el7_4.7.x86_64.

We need to get mirrors in sync with mirror.centos.org

Alfredo Moralejo (amoralej) wrote :

To be more precise, all package updates after 5-March are missing in http://mirror.dfw.rax.openstack.org/centos/7/updates/x86_64/Packages

Emilien Macchi (emilienm) wrote :

Infra is changing the mirror source: https://review.openstack.org/#/c/551318/

Alex Schultz (alex-schultz) wrote :

The new mirror source has propagated so jobs are no longer failing because of this.

Changed in tripleo:
status: Triaged → Fix Released
Michele Baldessari (michele) wrote :

This is a different issue. Let's follow it up in https://bugs.launchpad.net/tripleo/+bug/1755168

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers