-
Notifications
You must be signed in to change notification settings - Fork 124
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
ironic-ipa-downloader: Permission Denied #602
Comments
This issue is currently awaiting triage. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Is there any reproduction steps, or is it just that you notice this behavior when Ironic has crashed/relocated? Can you also share the versions of BMO, ironic-ipa-downloader and Ironic-image you're using? BMO submodule SHA matches |
These are the images I am using: image: quay.io/metal3-io/ironic-ipa-downloader
image: quay.io/metal3-io/ironic:release-26.0
image: quay.io/metal3-io/baremetal-operator:release-0.8 I've not got to sandboxing this yet. On both clusters ironic was working and then at some point it stops working with the error that is can't write to the shared folder. |
Hmm, there is a discrepancy here with the BMO submodule SHA and the image version. If the manifests are from BMO 0.6 and the image is from 0.8, this can lead to various errors as BMO contains the Ironic manifests as well. |
So I was working on a feature related to this project last week. IMO this issue is exactly what the error message say you most likely have no volume backing up the /shared, if the ipa-downloader can't find /shared it will try to create it and probably it tries to create it with a user who has no permissions or on a read only root FS. Please make sure you have the mount and the volume configured properly for the Ironic Pod. I have checked the script without the whole Ironic thing and it works and it also works in our tests too . /triage needs-information |
Another potential issue (especially if using a custom way to deploy Ironic): mismatch between the users used to run Ironic. |
Hello,
I popped up on Kubernetes Slack last week with an issue a client was having with Metal3 Ironic in that they couldn't deploy hosts and I was asked to raise an issue here. We found that the ironic pod was in Init:CrashLoopBackOff.
From
kubectl logs -n baremetal-operator-system ironic-5468f99647-72xw6 -c ironic-ipa-downloader
:# git submodule status -9490d85c1655e252a4b93513a65acaffa7dff5fc baremetal-operator
I then lost access to that client but another client today has this issue also - these are where the logs came from above. These were previously working instances.
The volumes are backed by Longhorn but all health data seems good for Longhorn.
Both clients are using Rancher K3S version
v1.23.17+k3s1
and the same versions of Longhorn, metal etc.I'm the process of creating a sandboxed version of the issue where I can experiment with, not disturbing the clients' systems.
The text was updated successfully, but these errors were encountered: