master iso build broken because of base docker image

Bug #1336903 reported by Aleksandra Fedorova
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Max Rasskazov

Bug Description

We get an error during nailgun docker container build because we have base docker image with newer packages then those hold in our internal repositories.

Here is the error:

Uploading context
Step 0 : FROM fuel/centos
 ---> 6cfbb482a117
Step 1 : MAINTAINER Matthew Mosesohn <email address hidden>
 ---> Using cache
 ---> e083c7c5ba14
Step 2 : RUN rm -rf /etc/yum.repos.d/*;echo -e "[nailgun]\nname=Nailgun Local Repo\nbaseurl=http://$(route -n | awk '/^0.0.0.0/ { print $2 }'):25907/os/x86_64/\ngpgcheck=0" > /etc/yum.repos.d/nailgun.repo; yum clean all; yum --quiet install -y httpd cobbler dnsmasq xinetd tftp-server; ln -s /etc/dnsmasq.conf /etc/cobbler.dnsmasq.conf
 ---> Running in 21d8626f69fa
Loaded plugins: fastestmirror
Cleaning repos: nailgun
Cleaning up Everything

Error: Package: libxml2-python-2.7.6-14.el6.x86_64 (nailgun)
           Requires: libxml2 = 2.7.6-14.el6
           Installed: libxml2-2.7.6-14.el6_5.1.x86_64 (@CentOS/$releasever)
               libxml2 = 2.7.6-14.el6_5.1
           Available: libxml2-2.7.6-14.el6.x86_64 (nailgun)
               libxml2 = 2.7.6-14.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 ---> ff82466741a1

And this is the log from inside the base image http://fuel-mirror.msk.mirantis.net/fwm/5.1/docker/fuel-centos.tar.xz
which we use for iso builds:

$ sudo docker load -i fuel-centos.tar.xz
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
fuel/centos latest 6cfbb482a117 4 weeks ago 178.6 MB
$ sudo docker run -i -t 6cfbb482a117 /bin/bash

bash-4.1# yum repolist
Loaded plugins: fastestmirror
base | 3.7 kB 00:00
base/primary_db | 4.4 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 19 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 3.7 MB 00:00
repo id repo name status
base CentOS-6 - Base 6367
extras CentOS-6 - Extras 14
updates CentOS-6 - Updates 1103
repolist: 7484
bash-4.1# yum list libxml2
Loaded plugins: fastestmirror
Determining fastest mirrors
 * base: centos-mirror.rbc.ru
 * extras: centos-mirror.rbc.ru
 * updates: centos-mirror.rbc.ru
Installed Packages
libxml2.x86_64 2.7.6-14.el6_5.1 @CentOS/$releasever
Available Packages
libxml2.i686 2.7.6-14.el6_5.2 updates
libxml2.x86_64 2.7.6-14.el6_5.2 updates

Changed in fuel:
importance: Undecided → Critical
assignee: nobody → Matthew Mosesohn (raytrac3r)
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

In http://jenkins-product.srt.mirantis.net:8080/job/fuel_master_iso/285/consoleFull

we have

Potential match for libxml2-python from libxml2-python-2.7.6-14.el6.x86_64
Potential match for libxml2-python from libxml2-python-2.7.6-14.el6_5.1.x86_64
Potential match for libxml2-python from libxml2-python-2.7.6-14.el6_5.2.x86_64

Then something changed at our local mirrors and we got only
Matched libxml2-python-2.7.6-14.el6.x86_64 to require for libxml2-python

in the next run http://jenkins-product.srt.mirantis.net:8080/job/fuel_master_iso/287/consoleFull

It seems we have regenerated mirrors, but didn;t regenerate the fuel-centos.tar.xz image

Revision history for this message
Roman Vyalov (r0mikiam) wrote :

Need check jenkins job for sync mirrors-local-msk

Changed in fuel:
assignee: Matthew Mosesohn (raytrac3r) → Max Rasskazov (mrasskazov)
status: New → In Progress
Roman Vyalov (r0mikiam)
Changed in fuel:
status: In Progress → Fix Released
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.