docker-images: builds fail: openstack/ussuri branch no longer exists

Bug #2019015 reported by Davlet Panech
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Luan Nunes Utimura

Bug Description

Brief Description
-----------------
The ussuri branch has reached EOL recently and is in the process of being removed from various openstack git repos. This causes our docker image builds to fail.

So far, it looks like only stx-heat is affected, but I expect all openstack images to start failing shortly.

Severity
--------
Critical

Steps to Reproduce
------------------
Try to build stx-heat docker images

Expected Behavior
------------------
Build succeeds

Actual Behavior
----------------
Build fails: "fatal: couldn't find remote ref stable/ussuri"

Reproducibility
---------------
Reproducible

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
master/2023-05-09

Last Pass
---------
master/2023-05-04

Timestamp/Logs
--------------

http://mirror.starlingx.cengn.ca/mirror/starlingx/master/debian/monolithic/20230508T060000Z/logs/build-docker-images-stable.log.txt

[2023-05-08T17:54:48.579Z] + git fetch https://opendev.org/openstack/heat.git stable/ussuri
[2023-05-08T17:54:48.579Z] fatal: couldn't find remote ref stable/ussuri
[2023-05-08T17:54:48.579Z] The command '/bin/sh -c /opt/loci/stx-scripts/install.sh' returned a non-zero code: 128

Test Activity
-------------
N/A

Workaround
----------
N/A

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to upstream (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/upstream/+/882745

Changed in starlingx:
status: New → In Progress
Changed in starlingx:
assignee: nobody → Luan Nunes Utimura (lutimura)
tags: added: stx.9.0 stx.distro.openstack
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/upstream/+/882762

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to upstream (master)

Reviewed: https://review.opendev.org/c/starlingx/upstream/+/882745
Committed: https://opendev.org/starlingx/upstream/commit/7243a5140f8b8989099ad70f8c63a3507eab5c2e
Submitter: "Zuul (22348)"
Branch: master

commit 7243a5140f8b8989099ad70f8c63a3507eab5c2e
Author: Luan Nunes Utimura <email address hidden>
Date: Tue May 9 16:08:45 2023 -0300

    stx-heat: Use commit hash in PROJECT_REF

    It has been observed that the stx-openstack helm charts build started to
    fail since the `stable/ussuri` branch was removed from the upstream
    project `openstack/heat`.

    In order to be able to build the helm charts again, we must change the
    `PROJECT_REF` value to use a commit hash in place of the branch name.

    This change proposes the use of the following commit SHA:

      Repository Former stable/ussuri branch and ussuri-eol tag's
                            HEAD (as of May 9th)
    * openstack/heat 5466ede853bde7d636943cba017ed8265dcfd260

    Test Plan:
    PASS - Build stx-debian base image
    PASS - Build wheels tarball
    PASS - Build stx-heat image

    Partial-Bug: 2019015

    Change-Id: I785d704c68ca6d987f30a57c5068677eef1e77f2
    Signed-off-by: Luan Nunes Utimura <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/c/starlingx/upstream/+/882762
Committed: https://opendev.org/starlingx/upstream/commit/67c274141ac494d5d4eaf46d438190d9ffd56e7f
Submitter: "Zuul (22348)"
Branch: master

commit 67c274141ac494d5d4eaf46d438190d9ffd56e7f
Author: Luan Nunes Utimura <email address hidden>
Date: Tue May 9 19:16:03 2023 -0300

    stx-openstack: Use commit hash in PROJECT_REF

    As the `stable/ussuri` branch is potentially being removed from all
    OpenStack repositories -- as seen in `openstack/heat` [1] -- we should
    consider using a different `PROJECT_REF` for all LOCI-based container
    images in stx-openstack to avoid possible build breaks in the future.

    This change proposes the use of the following commit SHAs:

      Repository stable/ussuri's HEAD (as of May 9th)
    * openstack/aodh 4366d6eae1aad4e15aeca4bc7e8b5e757c7601e8
    * openstack/ironic 859e51c8b4b8344827b5bba1f9a0b737ffbc1ebc
    * openstack/barbican cc076f24e55c24a6fc8e57ca606130090fb6369b
    * openstack/ceilometer bcada72c3aaeeb2a86de3368b1787a9253c9d55b
    * openstack/cinder 79b012fbc8b6bc9dcce2c8c52a6fa63976a0309f
    * openstack/glance 6f03ccd47772e02f810de8fa3158afddc4a9c158
    * openstack/horizon e6f3952b878d6b04fde9742987e0f37a1cfad3e5
    * openstack/keystone 1ab860a08e527ca9e0c82a49fbf004d415fec991
    * openstack/neutron fe2445d99c430bb080ac45a19e4958b1ae7c9857
    * openstack/nova 3fe8880d3759cbd7b19d75dcf235dfd5c511be13
    * openstack/placement 5a865abc2545544870ad972f70cd54ebd14c19a8

    Note: Gnocchi is in [2] and currently points to a specific semver.

    [1] https://opendev.org/openstack/heat
    [2] https://github.com/gnocchixyz/gnocchi

    Test Plan:
    PASS - Build stx-debian base image
    PASS - Build wheels tarball
    PASS - Build all the stx-openstack images affected by this change

    Partial-Bug: 2019015

    Change-Id: Ibf589444237664dd9e4ab8314ca1c8ad44f80ec7
    Signed-off-by: Luan Nunes Utimura <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to upstream (r/stx.8.0)

Fix proposed to branch: r/stx.8.0
Review: https://review.opendev.org/c/starlingx/upstream/+/882972

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to upstream (r/stx.7.0)

Fix proposed to branch: r/stx.7.0
Review: https://review.opendev.org/c/starlingx/upstream/+/883068

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to upstream (r/stx.6.0)

Fix proposed to branch: r/stx.6.0
Review: https://review.opendev.org/c/starlingx/upstream/+/883079

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to upstream (r/stx.8.0)

Reviewed: https://review.opendev.org/c/starlingx/upstream/+/882972
Committed: https://opendev.org/starlingx/upstream/commit/945acc1251ff0db0e775d48b42a429abdbf652e6
Submitter: "Zuul (22348)"
Branch: r/stx.8.0

commit 945acc1251ff0db0e775d48b42a429abdbf652e6
Author: Luan Nunes Utimura <email address hidden>
Date: Tue May 9 16:08:45 2023 -0300

    stx-openstack: Use commit hash in PROJECT_REF

    As the `stable/ussuri` branch is potentially being removed from all
    OpenStack repositories -- as seen in `openstack/heat` [1] -- we should
    consider using a different `PROJECT_REF` for all LOCI-based container
    images in stx-openstack to avoid possible build breaks in the future.

    This change proposes the use of the following commit SHAs:

      Repository stable/ussuri's HEAD (as of May 9th)
    * openstack/aodh 4366d6eae1aad4e15aeca4bc7e8b5e757c7601e8
    * openstack/ironic 859e51c8b4b8344827b5bba1f9a0b737ffbc1ebc
    * openstack/barbican cc076f24e55c24a6fc8e57ca606130090fb6369b
    * openstack/ceilometer bcada72c3aaeeb2a86de3368b1787a9253c9d55b
    * openstack/cinder 79b012fbc8b6bc9dcce2c8c52a6fa63976a0309f
    * openstack/glance 6f03ccd47772e02f810de8fa3158afddc4a9c158
    * openstack/heat 5466ede853bde7d636943cba017ed8265dcfd260
    * openstack/horizon e6f3952b878d6b04fde9742987e0f37a1cfad3e5
    * openstack/keystone 1ab860a08e527ca9e0c82a49fbf004d415fec991
    * openstack/neutron fe2445d99c430bb080ac45a19e4958b1ae7c9857
    * openstack/nova 3fe8880d3759cbd7b19d75dcf235dfd5c511be13
    * openstack/placement 5a865abc2545544870ad972f70cd54ebd14c19a8

    Note: Gnocchi is in [2] and currently points to a specific semver.

    [1] https://opendev.org/openstack/heat
    [2] https://github.com/gnocchixyz/gnocchi

    Test Plan:
    PASS - Build stx-debian base image
    PASS - Build wheels tarball
    PASS - Build all the stx-openstack images affected by this change

    Cherry-pick notes:
    ------------------

      Originally, this update was made through two commits (on `master`):

        1) 7243a51 - stx-heat: Use commit hash in PROJECT_REF:
           This commit changed the `PROJECT_REF` only for `stx-heat`, which,
           at the time, was the image responsible for breaking the
           `stx-openstack` build.

        2) 67c2741 - stx-openstack: Use commit hash in PROJECT_REF:
           This commit did the same thing as 1) but for all other
           `stx-openstack` images, for prevention purposes.

      Since the two are strongly related, this cherry-pick combines them
      into a single change that effectively updates all the `stx-openstack`
      images at once.

    Partial-Bug: 2019015

    Change-Id: Ibf589444237664dd9e4ab8314ca1c8ad44f80ec7
    Signed-off-by: Luan Nunes Utimura <email address hidden>
    (cherry picked from commit 67c274141ac494d5d4eaf46d438190d9ffd56e7f)
    (cherry picked from commit 7243a5140f8b8989099ad70f8c63a3507eab5c2e)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to upstream (r/stx.7.0)
Download full text (3.2 KiB)

Reviewed: https://review.opendev.org/c/starlingx/upstream/+/883068
Committed: https://opendev.org/starlingx/upstream/commit/5d1f133a19ebee4729c11650bc79d242b5db411b
Submitter: "Zuul (22348)"
Branch: r/stx.7.0

commit 5d1f133a19ebee4729c11650bc79d242b5db411b
Author: Luan Nunes Utimura <email address hidden>
Date: Tue May 9 16:08:45 2023 -0300

    stx-openstack: Use commit hash in PROJECT_REF

    As the `stable/ussuri` branch is potentially being removed from all
    OpenStack repositories -- as seen in `openstack/heat` [1] -- we should
    consider using a different `PROJECT_REF` for all LOCI-based container
    images in stx-openstack to avoid possible build breaks in the future.

    This change proposes the use of the following commit SHAs:

      Repository stable/ussuri's HEAD (as of May 9th)
    * openstack/aodh 4366d6eae1aad4e15aeca4bc7e8b5e757c7601e8
    * openstack/ironic 859e51c8b4b8344827b5bba1f9a0b737ffbc1ebc
    * openstack/barbican cc076f24e55c24a6fc8e57ca606130090fb6369b
    * openstack/ceilometer bcada72c3aaeeb2a86de3368b1787a9253c9d55b
    * openstack/cinder 79b012fbc8b6bc9dcce2c8c52a6fa63976a0309f
    * openstack/glance 6f03ccd47772e02f810de8fa3158afddc4a9c158
    * openstack/heat 5466ede853bde7d636943cba017ed8265dcfd260
    * openstack/horizon e6f3952b878d6b04fde9742987e0f37a1cfad3e5
    * openstack/keystone 1ab860a08e527ca9e0c82a49fbf004d415fec991
    * openstack/neutron fe2445d99c430bb080ac45a19e4958b1ae7c9857
    * openstack/nova 3fe8880d3759cbd7b19d75dcf235dfd5c511be13
    * openstack/placement 5a865abc2545544870ad972f70cd54ebd14c19a8

    Note: Gnocchi is in [2] and currently points to a specific semver.

    [1] https://opendev.org/openstack/heat
    [2] https://github.com/gnocchixyz/gnocchi

    Test Plan:
    PASS - Build stx-debian base image
    PASS - Build wheels tarball
    PASS - Build all the stx-openstack images affected by this change

    General cherry-pick notes:
    --------------------------

      Originally, this update was made through two commits (on `master`):

        1) 7243a51 - stx-heat: Use commit hash in PROJECT_REF:
           This commit changed the `PROJECT_REF` only for `stx-heat`, which,
           at the time, was the image responsible for breaking the
           `stx-openstack` build.

        2) 67c2741 - stx-openstack: Use commit hash in PROJECT_REF:
           This commit did the same thing as 1) but for all other
           `stx-openstack` images, for prevention purposes.

      Since the two are strongly related, this cherry-pick combines them
      into a single change that effectively updates all the `stx-openstack`
      images at once.

    `r/stx.7.0` cherry-pick notes:
    ------------------------------

      As this release has images based on CentOS, the original changes had
      to be adapted to change the files corresponding to that OS.

    Partial-Bug: 2019015

    Change-Id: Ibf589444237664dd9e4ab8314ca1c8ad44f80ec7
    Signed-off-by: Luan Nunes Utimura <email address hidden>
    (cherry picked from commit 67c27414...

Read more...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to upstream (r/stx.6.0)
Download full text (3.5 KiB)

Reviewed: https://review.opendev.org/c/starlingx/upstream/+/883079
Committed: https://opendev.org/starlingx/upstream/commit/52961f16e1505a46e5bc7746a596eb570118759b
Submitter: "Zuul (22348)"
Branch: r/stx.6.0

commit 52961f16e1505a46e5bc7746a596eb570118759b
Author: Luan Nunes Utimura <email address hidden>
Date: Tue May 9 16:08:45 2023 -0300

    stx-openstack: Use commit hash in PROJECT_REF

    As the `stable/ussuri` branch is potentially being removed from all
    OpenStack repositories -- as seen in `openstack/heat` [1] -- we should
    consider using a different `PROJECT_REF` for all LOCI-based container
    images in stx-openstack to avoid possible build breaks in the future.

    This change proposes the use of the following commit SHAs:

      Repository stable/ussuri's HEAD (as of May 9th)
    * openstack/aodh 4366d6eae1aad4e15aeca4bc7e8b5e757c7601e8
    * openstack/ironic 859e51c8b4b8344827b5bba1f9a0b737ffbc1ebc
    * openstack/barbican cc076f24e55c24a6fc8e57ca606130090fb6369b
    * openstack/ceilometer bcada72c3aaeeb2a86de3368b1787a9253c9d55b
    * openstack/cinder 79b012fbc8b6bc9dcce2c8c52a6fa63976a0309f
    * openstack/glance 6f03ccd47772e02f810de8fa3158afddc4a9c158
    * openstack/heat 5466ede853bde7d636943cba017ed8265dcfd260
    * openstack/horizon e6f3952b878d6b04fde9742987e0f37a1cfad3e5
    * openstack/keystone 1ab860a08e527ca9e0c82a49fbf004d415fec991
    * openstack/neutron fe2445d99c430bb080ac45a19e4958b1ae7c9857
    * openstack/nova 3fe8880d3759cbd7b19d75dcf235dfd5c511be13
    * openstack/panko 0a8d5b4fc0169108468404e88d12ee6fefed4e63
    * openstack/placement 5a865abc2545544870ad972f70cd54ebd14c19a8

    Note: Gnocchi is in [2] and currently points to a specific semver.

    [1] https://opendev.org/openstack/heat
    [2] https://github.com/gnocchixyz/gnocchi

    Test Plan:
    PASS - Build stx-debian base image
    PASS - Build wheels tarball
    PASS - Build all the stx-openstack images affected by this change

    General cherry-pick notes:
    --------------------------

      Originally, this update was made through two commits (on `master`):

        1) 7243a51 - stx-heat: Use commit hash in PROJECT_REF:
           This commit changed the `PROJECT_REF` only for `stx-heat`, which,
           at the time, was the image responsible for breaking the
           `stx-openstack` build.

        2) 67c2741 - stx-openstack: Use commit hash in PROJECT_REF:
           This commit did the same thing as 1) but for all other
           `stx-openstack` images, for prevention purposes.

      Since the two are strongly related, this cherry-pick combines them
      into a single change that effectively updates all the `stx-openstack`
      images at once.

    `r/stx.6.0` cherry-pick notes:
    ------------------------------

      Since this release has images based on CentOS, the original changes
      had to be adapted to change the files corresponding to that OS.

      Additionally, as this is the only currently maintained release that
      still builds `stx-panko`, the build instructio...

Read more...

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
tags: added: stx.6.0 stx.7.0 stx.8.0
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.