OpenLiberty / OpenLiberty/ci.docker

infinispan-client-setup.sh failing on yum install maven

Open
#320 6 comments 0 reactions 1 assignee View on GitHub

@kabicin is already working on this.

Since Aug 4, 2022.

containers zenhub-dev
Dominant language
Shell
Stars
48
Forks
60
Avg merge
3h 2m
Merged PRs (30d)
3

Description

Starting just a day or two ago, with the exact same Dockerfile, infinispan-client-setup.sh started reporting this error:

+ yum install -y maven
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:00:21 ago on Fri 03 Jun 2022 02:37:02 AM UTC.
All matches were filtered out by modular filtering for argument: maven
Error: Unable to find a match: maven
The command '/bin/sh -c infinispan-client-setup.sh' returned a non-zero code: 1

In an internal Slack conversation, it was suggested that it might be necessary to run

yum module enable maven:3.6

And this does indeed seem to have allowed the script to succeed, although perhaps only, so far, when running only the infinispan-client stage. When running both stages, I'm not sure yet if this works. It still hasn't for my local builds with Rancher Desktop. Still to be attempted with docker build under GitHub Actions CI...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.