c8s integration jobs are broken because of failure during installing r10k

Bug #2016056 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-openstack-integration
New
Undecided
Unassigned

Bug Description

Currently c8s integration jobs in <=stable/yoga are consistently failing.
Looking at the job log it seems installing r10k fails because it tries to pull puppet_semantics which is not compatible with old ruby version c8s.

example
https://zuul.opendev.org/t/openstack/build/db276509b5ea49ec9da994a7a6a778e6

```
2023-04-13 04:13:49.702043 | centos-8-stream | --------------------------------------------------------------------------------
2023-04-13 04:13:49.702065 | centos-8-stream | | Install r10k |
2023-04-13 04:13:49.702133 | centos-8-stream | --------------------------------------------------------------------------------
2023-04-13 04:13:49.702274 | centos-8-stream | + '[' centos8 == centos8 ']'
2023-04-13 04:13:49.702318 | centos-8-stream | + gem install --no-user-install --minimal-dep --verbose --no-document --install-dir=/home/zuul/workspace/puppet-openstack-integration/.bundled_gems --bindir=/home/zuul/workspace/puppet-openstack-integration/.bundled_gems/bin/ faraday-net_http -v '< 3.0.0'
...
2023-04-13 04:13:51.111270 | centos-8-stream | + gem install --no-user-install --minimal-dep --verbose --no-document --install-dir=/home/zuul/workspace/puppet-openstack-integration/.bundled_gems --bindir=/home/zuul/workspace/puppet-openstack-integration/.bundled_gems/bin/ r10k -v '< 3.15.0'
...
2023-04-13 04:13:53.340151 | centos-8-stream | /home/zuul/workspace/puppet-openstack-integration/.bundled_gems/gems/minitar-0.9/Manifest.txtERROR: Error installing r10k:
2023-04-13 04:13:53.340245 | centos-8-stream | semantic_puppet requires Ruby version >= 2.7.0. The current ruby version is 2.5.0.
2023-04-13 04:13:53.343713 | centos-8-stream |
```

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-openstack-integration (stable/xena)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-openstack-integration (stable/wallaby)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-openstack-integration (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/puppet-openstack-integration/+/880255
Committed: https://opendev.org/openstack/puppet-openstack-integration/commit/e3ababb6498e65d1e2ef1d27d1e39a981935463b
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit e3ababb6498e65d1e2ef1d27d1e39a981935463b
Author: Takashi Kajinami <email address hidden>
Date: Thu Apr 13 12:45:55 2023 +0900

    Stable-only: Pin semantic_puppet in CentOS 8

    semantic_puppet >= 1.1.0 requires ruby >= 2.7.0 so can no longer be
    installed in ruby 2.6.0 in CentOS 8.

    Closes-Bug: #2016056
    Change-Id: Iadff3de808a012c42c2c9a7edb24385c64c7ae78

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-openstack-integration (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/puppet-openstack-integration/+/880185
Committed: https://opendev.org/openstack/puppet-openstack-integration/commit/3f6b89c64b4b996f21d66d92669b4bdb8042efa7
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 3f6b89c64b4b996f21d66d92669b4bdb8042efa7
Author: Takashi Kajinami <email address hidden>
Date: Thu Apr 13 12:45:55 2023 +0900

    Stable-only: Pin semantic_puppet in CentOS 8

    semantic_puppet >= 1.1.0 requires ruby >= 2.7.0 so can no longer be
    installed in ruby 2.6.0 in CentOS 8.

    Closes-Bug: #2016056
    Change-Id: Iadff3de808a012c42c2c9a7edb24385c64c7ae78
    (cherry picked from commit e3ababb6498e65d1e2ef1d27d1e39a981935463b)
    (cherry picked from commit e3ababb6498e65d1e2ef1d27d1e39a981935463b)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-openstack-integration (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/puppet-openstack-integration/+/880184
Committed: https://opendev.org/openstack/puppet-openstack-integration/commit/577ed3d24b452ab6f3dc089a5c01e3902fa9ca7c
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 577ed3d24b452ab6f3dc089a5c01e3902fa9ca7c
Author: Takashi Kajinami <email address hidden>
Date: Thu Apr 13 12:45:55 2023 +0900

    Stable-only: Pin semantic_puppet in CentOS 8

    semantic_puppet >= 1.1.0 requires ruby >= 2.7.0 so can no longer be
    installed in ruby 2.6.0 in CentOS 8.

    Closes-Bug: #2016056
    Change-Id: Iadff3de808a012c42c2c9a7edb24385c64c7ae78
    (cherry picked from commit e3ababb6498e65d1e2ef1d27d1e39a981935463b)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-openstack-integration (stable/victoria)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-openstack-integration (stable/ussuri)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-openstack-integration (stable/train)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-openstack-integration (stable/train)

Reviewed: https://review.opendev.org/c/openstack/puppet-openstack-integration/+/881680
Committed: https://opendev.org/openstack/puppet-openstack-integration/commit/42800f0b4ca717f94cead67f3b98d7418c7f15c1
Submitter: "Zuul (22348)"
Branch: stable/train

commit 42800f0b4ca717f94cead67f3b98d7418c7f15c1
Author: Alfredo Moralejo <email address hidden>
Date: Wed May 19 13:08:45 2021 +0200

    Stable-only: Pin semantic_puppet in CentOS 8

    semantic_puppet >= 1.1.0 requires ruby >= 2.7.0 so can no longer be
    installed in ruby 2.6.0 in CentOS 8.

    Backport note:
    This backport removes the version check, because we run no tests in
    CentOS 9 in this branch while we run some tests in CentOS 7.
    In addition, distro check is also removed, because the same pin is
    required in Ubuntu Bionic.

    Also, pinning of puppet_forge is removed, because r10k 2.6.4 requires
    puppet_forge 2.2.8, which is conflicting with the pin which requires
    2.2.6 .

    Conflicts:
            install_modules.sh

    Closes-Bug: #2016056
    Change-Id: Iadff3de808a012c42c2c9a7edb24385c64c7ae78

tags: added: in-stable-train
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.