master iso build broken because of base docker image
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.
---> Running in 21d8626f69fa
Loaded plugins: fastestmirror
Cleaning repos: nailgun
Cleaning up Everything
Error: Package: libxml2-
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://
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-
* extras: centos-
* updates: centos-
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) |
Changed in fuel: | |
status: | In Progress → Fix Released |
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 python- 2.7.6-14. el6_5.1. x86_64 python- 2.7.6-14. el6_5.2. x86_64
Potential match for libxml2-python from libxml2-
Potential match for libxml2-python from libxml2-
Then something changed at our local mirrors and we got only python- 2.7.6-14. el6.x86_ 64 to require for libxml2-python
Matched libxml2-
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