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
Running mizu fails silently with no logs #706
Comments
Hey @peter-dolkens, Can you please run again with If no zip logs generated, Can you please send us Thanks! |
Hi @RoyUP9, I performed those steps already - the CLI log is included in my initial report. No zip log was generated. |
Hey @peter-dolkens, I'll try to explain the difference between the When I would suggest using Thanks! |
Excellent - would be great if we could see a log message if it fails because it already exists. Even better - it would be great if it worked even if the namespace already exists! For now I'll look at adding an exception to our OPA policy Thanks |
Mizu should have printed an error message. We will look into that. Besides that, did you manage to get Mizu running? |
Managed to reproduce the bug by running mizu from a user which has no permissions to create k8s resources. |
Pushed a commit that should solve make Mizu print out the errors again. |
Sorry, I can confirm that after we added an exception to the policy controller to allow the mizu namespace, everything works as expected. I can try recreating the problem in a bit to see if an error is printed in this use case (for us, I've got permissions to create resources, but there's an admission controller enforcing a naming policy on those resources) |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
mizu tap
or any variant of it which does NOT includemizu-resources-namespace
and--namespaces
mizu tap --set mizu-resources-namespace=my-ns --namespaces=my-ns
mizu tap --set mizu-resources-namespace=mizu --namespaces=mizu
I'm admin on this cluster, and have even gone so far as to create the
mizu
namespace ahead of time after it failed originally.Expected behavior
mizu tap
command works withoutmizu-resources-namespace
and--namespaces
commandLogs
WARNING: No zip logs generated, only CLI logs.
Screenshots
n/a
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
We do have an OPA policy which enforces a naming scheme on our namespaces unless a certain label is added. As such, I tried adding the
mizu
namespace manually with thepartner: core
label.Additionally, the mac install instructions don't add mizu to your path, so I manually copied it to
/usr/local/bin/mizu
though the issue was happening even when executing in my home directory with./mizu
instead of justmizu
The text was updated successfully, but these errors were encountered: