Kubernetes.core dependency on openshift-clients makes install fail in an UBI based execution environment

Hi,
I stumbled upon this issue maybe a week ago.
I building an UBI8 based execution environment which has a dependency on kubernetes.core.
When creating it, i noticed that ansible-builder added openshift-clients as a dependency which made the EE build fail as that RPM is not available in the UBI repositories.

I found a RH “access” article with a ““solution”” which wasn’t really a solution since it required a subscription in order to get the required RPM. Now, I know I can probably just build the RPM myself, or use the workaround suggested in #537, but, by having a quick look in the collection ( I’m not super familiar with it ), I could not find any reference to openshift libraries ( as it should be, IMO ).

My question is: Is this still an actual dependency? I am aware it used to be in the past, but that seems to have been removed ( I had found the commit/PR that removed it but can’t find it again. I’ll P.S. if I do ).

( If it’s not a dependency anymore, I’m happy to just remove it myself )

Thanks!

Shaps

I build execution environments myself since ansible-builder’s versions were gigantic by comparison, and I never included anything openshift related since we use regular kubernetes and have no need of it. My execution environments work perfectly.

Looking at the 24.6.1 version of the AWX EE container image from quay, I don’t see anything with “openshift” in the name in the RPM list or in pip, so I surmise even RedHat doesn’t include that in their default AWX EE.

Hi,
Maybe I wasn’t very clear. This issue is not strictly related to awx or execution environments. This issue is specifically to do with the kubernetes.core collection and only when building an UBI based EE.

If you look at the bindep.txt file for the collection, you can see that the openshift-clients is required as a dependency for both EL8/9