Containers not updating with rpms from Depends-On patches.

Bug #1933962 reported by Sandeep Yadav
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Incomplete
High
Ronelle Landy

Bug Description

Description:-

Containers are not updating with rpms from Depends-On patches.

In testpatch: https://review.rdoproject.org/r/c/testproject/+/28458/79//COMMIT_MSG

We added Depends-On following patches:-

https://review.opendev.org/c/openstack/tripleo-heat-templates/+/798328
https://review.opendev.org/c/openstack/tripleo-common/+/798327

New rpm from patch was installed correctly on the host but not in the container:-

Host:-

https://logserver.rdoproject.org/58/28458/79/check/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-train-with-pre/57b6979/logs/undercloud/var/log/extra/package-list-installed.txt.gz

~~~
openstack-tripleo-common.noarch 11.7.1-0.20210629055939.d4fe1ff.el8 @gating-repo
openstack-tripleo-common-containers.noarch 11.7.1-0.20210629055939.d4fe1ff.el8 @gating-repo
~~~

rpm inside mistral_executor container:-

https://logserver.rdoproject.org/58/28458/79/check/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-train-with-pre/57b6979/logs/undercloud/var/log/extra/podman/containers/mistral_executor/log/dnf.rpm.log.txt.gz

~~~
2021-06-28T18:44:41+0000 SUBDEBUG Installed: python3-tripleo-common-11.7.1-0.20210618005811.90725a9.el8.noarch
2021-06-28T18:44:41+0000 SUBDEBUG Installed: openstack-tripleo-common-11.7.1-0.20210618005811.90725a9.el8.noarc
~~~

This was noticed in train branch, could be present in other branches.

Tags: alert
summary: - Containers not updating with rpms from with Depends-On patches.
+ Containers not updating with rpms from Depends-On patches.
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Ronelle Landy (rlandy) wrote :

It looks like the rpm from tripleo-heat-templates was updated:

*** mistral_executor rpm update info ***
openstack-tripleo-heat-templates.noarch 11.6.1-0.20210629055715.becfe49.el8 @gating-repo

https://logserver.rdoproject.org/58/28458/79/check/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-train-with-pre/57b6979/logs/undercloud/var/log/extra/podman/containers/mistral_executor/log/dnf.rpm.log.txt.gz

2021-06-29T06:17:20+0000 SUBDEBUG Upgrade: openstack-tripleo-heat-templates-11.6.1-0.20210629055715.becfe49.el8.noarch
2021-06-29T06:17:20+0000 SUBDEBUG Upgraded: openstack-tripleo-heat-templates-11.6.1-0.20210625131448.1be1855.el8.noarch
2021-06-29T08:16:36+0000 INFO --- logging initialized ---

Checking tripleo-common change

Revision history for this message
Ronelle Landy (rlandy) wrote :

This may be a complete side point but ... when we build overcloud images in OVB, we don't add gating repo to the list of dib_yum_repo_conf

Revision history for this message
Ronelle Landy (rlandy) wrote :

One other observation:

Package openstack-tripleo-common-container-base.noarch 11.7.1-0.20210618005811.90725a9.el8 will be installed

is the container

openstack-tripleo-common-container-base noarch 11.7.1-0.20210618005811.90725a9.el8 delorean-component-tripleo 28 k

The following are listed in https://logserver.rdoproject.org/58/28458/79/check/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001-train-with-pre/57b6979/logs/undercloud/var/log/extra/package-list-installed.txt.gz:

openstack-tripleo-common.noarch 11.7.1-0.20210629055939.d4fe1ff.el8 @gating-repo
openstack-tripleo-common-containers.noarch 11.7.1-0.20210629055939.d4fe1ff.el8 @gating-repo
python3-tripleo-common.noarch 11.7.1-0.20210629055939.d4fe1ff.el8 @gating-repo

not sure about last package

Revision history for this message
wes hayutin (weshayutin) wrote :

@Sandeep please put up fresh DNM tripleo-common patch and rerun a test-project job so we can look at the results again.

Thanks

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :
Ronelle Landy (rlandy)
Changed in tripleo:
assignee: nobody → Ronelle Landy (rlandy)
Revision history for this message
wes hayutin (weshayutin) wrote :

https://review.rdoproject.org/r/c/testproject/+/28458 has added tripleo-common to the mistral containers.. this is not a bug..

Changed in tripleo:
status: Triaged → Incomplete
Revision history for this message
Ronelle Landy (rlandy) wrote :

[mistral@07e8be4c570b /]$ rpm -qa | grep tripleo-common
openstack-tripleo-common-containers-11.7.1-0.20210701182411.3a44fc2.el8.noarch
openstack-tripleo-common-11.7.1-0.20210701182411.3a44fc2.el8.noarch
python3-tripleo-common-11.7.1-0.20210701182411.3a44fc2.el8.noarch
openstack-tripleo-common-container-base-11.7.1-0.20210701182411.3a44fc2.el8.noarch

checked mistral-executor container ^^ after patch was rebased and job was in rerun

Revision history for this message
Ronelle Landy (rlandy) wrote :
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Hello Ronelle,

Thanks and this is interesting, Just curious - Do we need to rebase the patch even if the patch is not in merge conflict for this to work?

The original issue, found in patchset 79: https://review.rdoproject.org/r/c/testproject/+/28458/79//COMMIT_MSG

Was depending on tripleo-common patch -
https://review.opendev.org/c/openstack/tripleo-common/+/798327 , this patch never faced merge conflict and was merged in its 1st patchset version.

Revision history for this message
Ronelle Landy (rlandy) wrote :

I don't think the patch was ever in merge conflict.
I simply rebased the patch from https://bugs.launchpad.net/tripleo/+bug/1933962/comments/5 - there was no merge conflict during the rebase.

When we install packages on the undercloud, we explicitly mark gating-repo as priority 1 and delorean-current as 10 and the drln components as 20.
In container updates we consider the update repos, gating, delorean-current and component

Changed in tripleo:
milestone: xena-2 → xena-3
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.