Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing packages on top of UBI Minimal image in AWS ROSA environment #560

Open
hrishikeshvattoli opened this issue Dec 11, 2024 · 2 comments

Comments

@hrishikeshvattoli
Copy link

Hi,

I have deployed a container from the image provided by Stackable's Airflow image based on UBI minimal in our ROSA cluster. I can list the repos inside the container., but it can't find the packages I am looking for. As I understand it, RHEL only makes a subset of packages available through minimal UBI images. So my question is, how can I install additional packages we want to install that are available in full version of repos. We have redhat subscription and I can install the same package from the CRB repo in our EC2 machines.

@lfrancke
Copy link
Member

Hi,

that is a good question that has not come up before.

According to the RedHat docs it is possible to pass through entitlements from the host system to a container. But I'm not sure if this also applies to OpenShift/ROSA.

You said you tried and it failed. In that case I'd suggest one of us opens a support case with Red Hat to ask about best practices here. Shall we or do you want to?

Out of curiosity: Can you tell me what you're trying to install?

@hrishikeshvattoli
Copy link
Author

I tried installing the package libsmbclient-devel which is a dependency for pysmbc package. In our EC2 based deployments, this package is coming from CRB repos. This repo is present in the stackable UBI image but the package is not available.

sh-4.4$ yum provides libsmbclient-devel
Repository packages-microsoft-com-prod is listed more than once in the configuration
google-chrome 5.8 kB/s | 4.4 kB 00:00
packages-microsoft-com-prod 27 MB/s | 13 MB 00:00
Red Hat Universal Base Image 8 (RPMs) - BaseOS 3.2 MB/s | 722 kB 00:00
Red Hat Universal Base Image 8 (RPMs) - AppStream 8.1 MB/s | 3.3 MB 00:00
Red Hat Universal Base Image 8 (RPMs) - CodeReady Builder 1.2 MB/s | 186 kB 00:00
Error: No Matches found
sh-4.4$

Could you check with RedHat as well? I'll try from my end as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants