-
Notifications
You must be signed in to change notification settings - Fork 456
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
[bug] ensure non-empty $HOME in deployments #1337
Comments
This might be an issue with I will do some more testing tomorrow but if |
This does not set the |
will making |
@Privatecoder Please confirm @dvaldivia 's proposal above |
this will probably work however it would still be a workaround as changing the runtime class for a specific deployment is not always an option. A fix would require to ensure a non-empty |
I'm not sure that I'm following. The helm charts for tenant already contain runtimeClassName.
This looks like a crun issue still. The Could you clarify if you prefer if minio pods don't start up if there is no Also based on the conversation up to now we have these below options. I'm also looking into these now
|
Following my post here I found, that the issue was fixed for podman like this. So This looks like a crun issue still. is obviously the case but we should still make sure that Adding a configurable
Ideally we implement these two and additionally add a fix like it has been implemented for podman |
@Privatecoder isn't this missing |
@dvaldivia I came across this issue when I tried to deploy MinIO to a new cluster which was using As I could not figure out what the issue was initially I was glad to solve this eventually with some help. Digging into this I found other threads such as the – also mentioned – podman-issue-thread. After fixing the operator and console by making the However & to sum it up: Imho one would expect to be able to deploy a chart without manually fixing env-vars (other deployments have I also think that since this might be an easy fix, MinIO should incorporate something similar to the fix here (or others). |
we were able to replicate the issue, @allanrogerr will send a fix for tenants in the particular case of |
Like I wrote: If the |
sure, let's document this @allanrogerr |
It will be fixed in #1381 |
Add a note for tenants on spec.pools.runtimeClassName as requested on minio#1337
Added to UI in minio/console#2626 |
Expected Behavior
Always ensure non-empty
$HOME
in deploymentsCurrent Behavior
$HOME
inminio-operator
andconsole
-pods is empty when usingcrun
ascontainerd
-runtime, i.e.echo $HOME
=> empty.operator
called pod with theminio/console
-image therefore gets stuck in crash-loop after installing with an error-msgconsole: <ERROR> Unable to get mcConfigDir. exit status 2.
.nginx
for example, have env-vars set correctly, i.e. not emptyecho $HOME
=>/root
.Possible Solution
Ensure
$HOME
is not empytySteps to Reproduce (for bugs)
Deploy minio-operator through krew or helm on a K8s v1.24.7 cluster with containerd 1.6.9 / crun 1.6
Your Environment
The text was updated successfully, but these errors were encountered: