image_sanity fails for centos9 overcloud-full image build

Bug #1950453 reported by Marios Andreou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
High
Unassigned

Bug Description

As part of the overcloud-full image build we have a sanity check (invoked with 'image_sanity: true' in the zuul job variables) that performs a simple check on the built image [1][2] (default is to list installed rpms).

This is not working on centos9 images as can be seen at [3][4][5] - the image fails to boot and times out with trace like:

        2021-11-09 12:51:58.033688 | primary | iPXE (http://ipxe.org) 00:05.0 C000 PCI2.10 PnP PMM+7FF8D6E0+7FECD6E0 C000
 2021-11-09 12:51:58.053148 | primary | Press Ctrl-B to configure iPXE (PCI 00:05.0)...
 2021-11-09 12:51:58.053223 | primary |
 2021-11-09 12:51:58.053241 | primary |
 2021-11-09 13:42:12.985184 | RUN END RESULT_TIMED_OUT: [untrusted : opendev.org/openstack/tripleo-ci/playbooks/tripleo-buildimages/run-v3.yaml@master]

For now we will have to disable the image_sanity for centos9 overcloud-full image while we investigate.

Note: for master (and soon wallaby) the default overcloud image is no longer overcloud-full but instead the overcloud-hardened-uefi image, which does not have the image_sanity check enabled.

[1] https://opendev.org/openstack/tripleo-ci/src/commit/e6a036545aa0d3dd543562703b0f87f3267dacd2/roles/oooci-build-images/tasks/image_sanity.yaml#L24
[2] https://opendev.org/openstack/tripleo-ci/src/commit/e6a036545aa0d3dd543562703b0f87f3267dacd2/roles/oooci-build-images/defaults/main.yaml#L53
[3] https://af0eb05e30f4936061b6-4a299ff78fba409899c97719d91e9af9.ssl.cf2.rackcdn.com/815108/3/check/tripleo-buildimage-overcloud-full-centos-9/e7204c8/job-output.txt
[4] https://logserver.rdoproject.org/openstack-periodic-integration-main-cs9/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-centos-9-buildimage-overcloud-full-master/74cc454/job-output.txt
[5] https://logserver.rdoproject.org/openstack-periodic-integration-main-cs9/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-centos-9-buildimage-overcloud-full-master/1205cff/job-output.txt

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/+/815108
Committed: https://opendev.org/openstack/tripleo-ci/commit/9942c04a5f646066e74787c5a649f18dc0f19f1f
Submitter: "Zuul (22348)"
Branch: master

commit 9942c04a5f646066e74787c5a649f18dc0f19f1f
Author: Marios Andreou <email address hidden>
Date: Fri Oct 22 13:44:13 2021 +0300

    Wire up centos9 master buildimage jobs for check and gate

    The job definitions are added at [1] and the new
    single-centos-9-node nodeset is added in the parent at [2]

    Also fixes issue with the 'release' var which is not present
    in the check/gate version of these jobs so we try to discover
    it using the relevant build-containers tasks.

    This also disables the image_sanity check for overcloud-full
    because of related-bug.

    Finally adds wallaby to the branches negative match for c9
    build jobs as we aren't ready for W yet.

    Related-Bug: 1950453

    [1] https://review.opendev.org/c/openstack/tripleo-ci/+/813618
    [2] https://review.opendev.org/c/openstack/tripleo-ci/+/816821

    Change-Id: I5c78c975afa3efb2c478339cacd006e064b24e71

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.