openshift / ocm-container

Containerized environment for accessing OpenShift v4 clusters, packing necessary tools/scripts
Apache License 2.0
11 stars 64 forks source link

Backplane Console is not working on MacOS #296

Open iamkirkbater opened 4 months ago

iamkirkbater commented 4 months ago

With the recent addition of the Persistent Image cache pass through for access to pre-load the images from within the container, the permissions on this directory is wrong on MacOS and needs to be debugged.

Specifically, when I don't turn off persistent images for ocm-container ocm backplane console will fail with a permissions issue attempting to untar the image after it's downloaded.

When I turn off the persistent images with --no-persistent-images I'm able to access the console from within the container.

My guess is that this has to do with passing the image cache through to the podman machine from our local user directories which is owned by our individual user on the mac, but we run as the root user inside the container.

openshift-bot commented 1 month ago

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

openshift-bot commented 4 weeks ago

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten /remove-lifecycle stale