Comment 5 for bug 1806853

Revision history for this message
yatin (yatinkarel) wrote :

<<< forgot to add.. both scenario1 and 4 have previously/recently passed the deployment (e.g. at [1]) which <<< is what leads me to believe this might be some recently committed code causing this

<<< [1] http://logs.openstack.org/08/619508/10/check/tripleo-ci-centos-7-scenario001-standalone/d3d5873/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz#_2018-11-30_14_30_26

So the reason that they passed on 30th and then failing, i am not sure about the commit u mentioned in ceph ansible is the cause for all issues(Note issue is seen in -minimal job in RDO phase1 as well where i don't think ceph-ansible is used, there it just fails while installing tripleoclient), what i can say it's related to CentOS 7.6 release around 2nd December which have created issues with the python-docker(python2-docker-3.3.0-1.el7.noarch) we ship in RDO and python-docker-py(python-docker-py-1.10.6-7.el7.noarch.rpm in 7.6 vs python-docker-py-1.10.6-4.el7.noarch.rpm in 7.5) from CentOS base repo.

and reason is in CentOS 7.6 they bumped the epoch[3] for python-docker-py which in RDO we used to Obsolete([1]), We need to handle the versions from Base and RDO(might need an update of python-docker to handle Obsoletes for python-docker-py also should consider overcloud pkg-map entry for docker-py). I am not aware of python-docker-py vs python-docker so need to check git history or if someone else(may be apevec, amoralej) who have context.

python-docker-py is to be installed in overcloud image[2], before 7.6 python2-docker was getting installed because of [1], and after 7.6 python-docker-py(with epoch) is installed. and later when python2-docker is being installed it fails.

[3]
diff --git a/python-docker-py.spec b/python-docker-py.spec
index 2c2e14b..3d1496c 100644
--- a/python-docker-py.spec
+++ b/python-docker-py.spec
@@ -8,7 +8,8 @@

 Name: python-%{project}
 Version: %{docker_py_version}
-Release: 5%{?dist}
+Epoch: 1
+Release: 6%{?dist}
 Summary: An API client for docker written in Python
 License: ASL 2.0
 URL: https://github.com/%{owner}/%{project}/
@@ -90,6 +91,9 @@ popd

 %changelog
+* Thu Oct 25 2018 Tomas Tomecek <email address hidden> - 1:1.10.6-6
+- increase epoch so pycreds can be updated
+
 * Thu Oct 25 2018 Tomas Tomecek <email address hidden> - 1.10.6-5
 - use correct version for pycreds #1641795

[1] [centos@dlrn ~]$ rpm -qp --obsoletes https://trunk.rdoproject.org/centos7-master/deps/latest/noarch/python2-docker-3.3.0-1.el7.noarch.rpm
python-docker < 3.3.0-1.el7
python-docker-py < 2

[2] http://git.openstack.org/cgit/openstack/tripleo-puppet-elements/tree/elements/overcloud-base/pkg-map#n9