tripleo-ci-centos-9-undercloud-upgrade is failing undercloud upgrade - No such file or directory: '/home/zuul/tripleo-deploy/undercloud/tripleo-heat-installer-templates/environments/deployed-server-noop-ctlplane.yaml'

Bug #1996933 reported by Ronelle Landy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

tripleo-ci-centos-9-undercloud-upgrade is failing the undercloud upgrade step with:

2022-11-17 16:31:11 | Exception: <urlopen error [Errno 2] No such file or directory: '/home/zuul/tripleo-deploy/undercloud/tripleo-heat-installer-templates/environments/deployed-server-noop-ctlplane.yaml'>
2022-11-17 16:31:11 | Traceback (most recent call last):
2022-11-17 16:31:11 | File "/usr/lib64/python3.9/urllib/request.py", line 1503, in open_local_file
2022-11-17 16:31:11 | stats = os.stat(localfile)
2022-11-17 16:31:11 | FileNotFoundError: [Errno 2] No such file or directory: '/home/zuul/tripleo-deploy/undercloud/tripleo-heat-installer-templates/environments/deployed-server-noop-ctlplane.yaml'

The failure started on 11/17:
https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ci-centos-9-undercloud-upgrade&skip=0

Example logs:

https://52850518c18ef65996ff-4b7d4da09de7dae33770cacbfd550cfb.ssl.cf2.rackcdn.com/864387/2/check/tripleo-ci-centos-9-undercloud-upgrade/871280a/logs/undercloud/home/zuul/undercloud_upgrade.log

https://14928b1c83cb753e9778-e66afa9c5b07ebbf36793ab7ddc56f1f.ssl.cf1.rackcdn.com/864892/1/check/tripleo-ci-centos-9-undercloud-upgrade/fc18059/logs/undercloud/home/zuul/undercloud_upgrade.log

Revision history for this message
Ronelle Landy (rlandy) wrote :
Changed in tripleo:
milestone: none → antelope-1
importance: Undecided → Critical
status: New → Triaged
tags: added: promotion-blocker
Revision history for this message
Ronelle Landy (rlandy) wrote :
Revision history for this message
Ronelle Landy (rlandy) wrote :
Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Job is back to green, we don't need this revert anymore:

https://zuul.opendev.org/t/openstack/builds?job_name=tripleo-ci-centos-9-undercloud-upgrade&skip=0

We need to check for root cause why job failed earlier.

Ronelle Landy (rlandy)
Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
Douglas Viroel (dviroel) wrote :
Changed in tripleo:
status: Fix Released → Triaged
Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
Takashi Kajinami (kajinamit) wrote :

Please check whether https://review.opendev.org/c/openstack/python-tripleoclient/+/861548 is included in the tested contents properly.
IMO this is not a code bug but something quite wrong with CI. The failure is intermittent and inconsistent.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

I was trying to check the package used in the latest failure[1] but the package used in the job run no longer exists in the mirror.

However, the current package available[2] is a bit older one but contains the above patch which removed usage of the file.

[1]
https://zuul.opendev.org/t/openstack/build/92cff9c1a02e42ebbc220cd1123d8617
https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_92c/867189/1/check/tripleo-ci-centos-9-undercloud-upgrade/92cff9c/logs/undercloud/var/log/extra/package-list-installed.txt

python3-tripleoclient.noarch 19.0.1-0.20221209142914.1a5eab6.el9 @delorean-current

[2]
python3-tripleoclient-19.0.1-0.20221208191412.b5e59b5.el9.noarch.rpm

Revision history for this message
chandan kumar (chkumar246) wrote :

With this patch 867195: [DNM] Debug undercloud-upgrade | https://review.opendev.org/c/openstack/python-tripleoclient/+/867195, it will give the rpm version of packages needs to be updated.

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

Dumping the related conversation in #tripleo

<ykarel> tkajinam, marios|ruck if it's in upgrade job it might be related to versioning thing and iirc it happens after every release until new tags are pushed for master
<ykarel> may be you to recall something with Sem-Ver: api-break
<ykarel> how it was handled in past
<marios|ruck> ykarel: vaguely :)
<marios|ruck> ykarel: but it seems to be fixed now i mean it may be something else
<ykarel> marios|ruck, i think it will be random as dlrn will build package with timestamp so it will depend on when zed/master package last built
<ykarel> https://trunk.rdoproject.org/api-centos9-zed/api/report.html?package=tripleo-ansible vs https://trunk.rdoproject.org/api-centos9-master-uc/api/report.html?package=tripleo-ansible
<marios|ruck> ykarel: ack ok will revisit this in a bit thanks
<ykarel> ack

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

OK now I understand what is happening
Currently we have
  19.0.1-0.20221209142914.1a5eab6.el9 in zed
and
  19.0.1-0.20221208191412.b5e59b5.el9 in master.

Because we use the same version for zed and master, and the master package was built BEFORE zed package was build, the package is not updated properly during upgrade.

Revision history for this message
Marios Andreou (marios-b) wrote :

yes thanks Takashi for digging and Chandan for posting https://review.opendev.org/c/openstack/releases/+/867196

I spoke with ykarel last Thursday about this (and it has come up before though I was unable to find the launchpad bug #). I was going to work on it on Friday but a personal issue came up and I was out.

We may get some pushback from the release team cores for releases/+/867196 because of the breaking semver (we shouldn't really bump major at this point but we need it to signal the new series) but in the end we should be OK especially now as 'independent' release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ci (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tripleo-ci/+/867224

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ci (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ci/+/867224
Committed: https://opendev.org/openstack/tripleo-ci/commit/44dc3e18f09559dcfc9a350245f0849df26d2eeb
Submitter: "Zuul (22348)"
Branch: master

commit 44dc3e18f09559dcfc9a350245f0849df26d2eeb
Author: Douglas Viroel <email address hidden>
Date: Mon Dec 12 10:54:35 2022 -0300

    Set tripleo-ci-centos-9-undercloud-upgrade to non-voting

    This patch changes tripleo-ci-centos-9-undercloud-upgrade to a
    non-voting job due to an issue, reported in LP 1996933.
    Job can be reverted to voting when the related bug gets fixed.

    Related-Bug: #1996933
    Change-Id: I603875c5633d122d95ea1fed5061eead04e3b0c0

Revision history for this message
chandan kumar (chkumar246) wrote :
Changed in tripleo:
status: Triaged → 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.