Skip to content

Conversation

@ciarams87
Copy link
Contributor

Proposed changes

NAP builds are failing with:

subscription-manager is disabled when running inside a container. Please refer to your host system for subscription management.

Looks a change has occurred in the latest version of RH that requires the host system building the container be a RHEL image when trying to use subscription manager. This has already been the case for ubi9 (although there is a workaround), but now the latest version of ubi8 has the same behaviour (but the workaround doesn't work). This happens both in the pipeline and locally. This commit pins the ubi image version for now while we come up with a better long-term solution.

See https://serverfault.com/questions/1106847/rhel-9-in-docker-container-on-macos-subscription-manager-is-disabled-when-runni

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

@ciarams87 ciarams87 requested a review from a team as a code owner November 17, 2022 14:12
@ciarams87 ciarams87 merged commit 56d721a into main Nov 17, 2022
@ciarams87 ciarams87 deleted the pin-ubi8-image branch November 17, 2022 14:43
@ciarams87 ciarams87 added the chore Pull requests for routine tasks label Nov 17, 2022
coolbry95 pushed a commit to coolbry95/kubernetes-ingress that referenced this pull request Nov 18, 2022
Pin ubi8 image to unblock nap ubi builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Pull requests for routine tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants