Comment 8 for bug 1669462

Revision history for this message
Alfredo Moralejo (amoralej) wrote :

Regarding issue reported in comment #2

After analysing logs in http://logs.openstack.org/15/442315/2/check/gate-tripleo-ci-centos-7-multinode-upgrades-nv/5130095/logs/subnode-2/var/log/journal-text.txt.gz this is what is happening in node2:

1. At around Mar 07 12:38:10, delorean-ci repo is configured in subnode2:

COMMAND=/usr/bin/wget http://10.29.153.134:8766/current/delorean-ci.repo -O /etc/yum.repos.d/delorean-ci.repo
COMMAND=/usr/bin/sed -i -e s%priority=.*%priority=1% /etc/yum.repos.d/delorean-ci.repo

2. At Mar 07 12:38:13, delorean-ci repo is disabled:

COMMAND=/usr/bin/sed -i -e s/enabled=1/enabled=0/ /etc/yum.repos.d/delorean-ci.repo

My guess is that, it's https://review.openstack.org/#/c/441166/. It's preparing the system for initial deployment from previous release (ocata), and patch is for master, so delorean-ci shouldn't be needed.

3. At Mar 07 12:38:17 it configures ocata repos as expected to deploy ocata release:

COMMAND=/usr/bin/curl -Lvo /etc/yum.repos.d//delorean-deps.repo http://trunk.rdoproject.org/centos7-ocata/delorean-deps.repo
COMMAND=/usr/bin/sed -i -e s%priority=.*%priority=30% /etc/yum.repos.d//delorean-deps.repo
COMMAND=/usr/bin/curl -Lvo /etc/yum.repos.d//delorean.repo https://trunk.rdoproject.org/centos7-ocata/current//delorean.repo
COMMAND=/usr/bin/sed -i -e s%priority=.*%priority=20% /etc/yum.repos.d//delorean.repo
COMMAND=/usr/bin/sh -c > /etc/yum.repos.d//delorean-current.repo
COMMAND=/usr/bin/yum -y install yum-plugin-priorities

4. At Mar 07 12:40:14 it installs puppet-tripleo from ocata delorean repo as expected:

yum[23519]: Installed: puppet-tripleo-6.3.0-0.20170307041058.0cad4e0.el7.centos.noarch

5. At Mar 07 13:27:25 it enables delorean-ci again:

COMMAND=/usr/bin/sed -i -e s/enabled=0/enabled=1/ /etc/yum.repos.d/delorean-ci.repo

6. At Mar 07 13:31:29 it enables master repos:

COMMAND=/usr/bin/curl -Lvo /etc/yum.repos.d//delorean-deps.repo http://trunk.rdoproject.org/centos7/delorean-deps.repo
COMMAND=/usr/bin/sed -i -e s%priority=.*%priority=30% /etc/yum.repos.d//delorean-deps.repo
COMMAND=/usr/bin/curl -Lvo /etc/yum.repos.d//delorean.repo http://trunk.rdoproject.org/centos7/current-tripleo//delorean.repo
COMMAND=/usr/bin/sed -i -e s%priority=.*%priority=20% /etc/yum.repos.d//delorean.repo
COMMAND=/usr/bin/curl -Lvo /etc/yum.repos.d//delorean-current.repo http://trunk.rdoproject.org/centos7/current/delorean.repo
COMMAND=/usr/bin/sed -i -e s%priority=.*%priority=10% /etc/yum.repos.d//delorean-current.repo

But as version in delorean-ci (puppet-tripleo-6.2.0-0.20170307123624.8493b34.el7.centos.noarch) is < that the installed one, it doesn't get installed.

The recommended fix for this issue is to push high pre-release tag in master branch so that version in master is > that ocata.