Update of CentOS to 7.2 broke docker

Bug #1526005 reported by Igor Yozhikov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Opinion
Critical
Dmitry Teselkin

Bug Description

Usage of docker centos:centos7 image during ISO build lead to errors after update attempt because new version of CentOS released.

Running yum update failed with next error:
Total 14 MB/s | 53 MB 00:00:03
Running transaction check
Running transaction test

Transaction check error:
  file /usr/lib64/libsystemd-daemon.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/libsystemd-id128.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/libsystemd-journal.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/libsystemd-login.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/libudev.so.1 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/security/pam_systemd.so from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64

Error Summary
-------------

Changed in fuel:
importance: Undecided → Critical
Changed in fuel:
assignee: nobody → MOS Linux (mos-linux)
Changed in fuel:
assignee: MOS Linux (mos-linux) → Dmitry Teselkin (teselkin-d)
status: New → In Progress
Changed in fuel:
assignee: Dmitry Teselkin (teselkin-d) → Igor Yozhikov (iyozhikov)
Changed in fuel:
assignee: Igor Yozhikov (iyozhikov) → Dmitry Teselkin (teselkin-d)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (master)

Change abandoned by Dmitry Teselkin (<email address hidden>) on branch: master
Review: https://review.openstack.org/257488
Reason: https://review.openstack.org/#/c/257526/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Dmitry Teselkin (<email address hidden>) on branch: master
Review: https://review.openstack.org/257526
Reason: Updated packages 'systemd-container-*-EOL' were added to upstream repositories to make upgrade procedure correct.

Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :

Not a bug since an updated packages were released in upstream repositories. Now they correctly replace existing (obsoleted) packages and 'yum update' doesn't fail anymore.

Changed in fuel:
status: In Progress → Invalid
Revision history for this message
boris rousseau (boris-rousseau) wrote :

Hi,

I have the exact same issue.
Can you please tell me how can I solve it ?

Thanks

Revision history for this message
Martinfrn (mart-33) wrote :

Hi,

Same issue too.
Any idea ?

Revision history for this message
Martinfrn (mart-33) wrote :

I think they made an update, everything is working now

Revision history for this message
Ajay (ajaygautam) wrote :

This is still an issue!

Dockerfile:

FROM centos:7
...
RUN yum -y install mesa-dri-drivers libexif libcanberra-gtk2 libcanberra
...

$ docker rmi -f $(docker images --filter dangling=true -q)
...

$ docker build .
...
...
Transaction check error:
  file /usr/lib64/libsystemd-daemon.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/libsystemd-id128.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/libsystemd-journal.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/libsystemd-login.so.0 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/libudev.so.1 from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64
  file /usr/lib64/security/pam_systemd.so from install of systemd-libs-219-19.el7.x86_64 conflicts with file from package systemd-container-libs-208.20-6.el7.centos.x86_64

Error Summary
-------------

The command '/bin/sh -c yum -y install mesa-dri-drivers libexif libcanberra-gtk2 libcanberra' returned a non-zero code: 1

Changed in fuel:
status: Invalid → Opinion
Ilya Kutukov (ikutukov)
tags: added: area-mos
tags: added: docker
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.