Skip to content
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

How to uninstall Genie plugin #212

Open
icy opened this issue Aug 11, 2020 · 5 comments
Open

How to uninstall Genie plugin #212

icy opened this issue Aug 11, 2020 · 5 comments
Assignees

Comments

@icy
Copy link

icy commented Aug 11, 2020

I'd need to uninstall the plugin on some cluster. However it looked like the system still recognizes the one when I try to delete the pugin (kubectl delete -f- manifest.yaml)

NetworkPlugin cni failed to set up pod "foo-bar" network: CNI Genie Add IP internal error: 
Error getting annotations for pod (foo-bar): No pod or env var found, result: %!!(MISSING)s(<nil>)

Am I missing something?

Thanks

@icy
Copy link
Author

icy commented Aug 12, 2020

We actually installed the plugin via https://quay.io/repository/huawei-cni-genie/genie-plugin?tab=history

https://raw.githubusercontent.com/Huawei-PaaS/CNI-Genie/master/conf/1.8/genie-plugin.yaml

Delete the installation (kubectl delete -f- < genie-plugin) doesn't help much

@karthikeyansundararajan-agi
Copy link

Does anyone have answer for this in 2021? For me when I recreate the node, I didn't get this error. But getting this error in existing node. I believe some cleanup is needed in the host filesystem.

@MohammedNoureldin
Copy link

MohammedNoureldin commented Dec 28, 2022

Did you figure out a solution?

This is annoying, I tried to install it, it could not be installed. Now I want to continue working without it, now my pods cannot be created because the CNI Genie is stuck and cannot be removed.

@vinaykul vinaykul self-assigned this Dec 28, 2022
@vinaykul
Copy link
Collaborator

@MohammedNoureldin Could you please share with me additional information to help me repro the issue?

  1. K8s version on which CNI-Genie is being deployed.
  2. Yaml used to deploy CNI-Genie

@icy
Copy link
Author

icy commented Dec 30, 2022

Did you figure out a solution?

This is annoying, I tried to install it, it could not be installed. Now I want to continue working without it, now my pods cannot be created because the CNI Genie is stuck and cannot be removed.

I think what I did in the past (work) to uninstall the plugin was as below

Of course please make sure you have some alternative CNI on your system otherwise everything would get stuck after you uninstall cni-genie plugin.

Hope this helps. Though I think there would be some better way.

Edit: type fix. docker-build note.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants