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

Can not disable mayastor with microk8s #235

Open
jniclas opened this issue Sep 18, 2023 · 2 comments
Open

Can not disable mayastor with microk8s #235

jniclas opened this issue Sep 18, 2023 · 2 comments

Comments

@jniclas
Copy link

jniclas commented Sep 18, 2023

Summary

Enabled Mayastor and used it with three PVs and wanted to disable it again. Removed the PVCs and PVs and executed microk8s disable mayastor --remove-storage. Process stucks at

Infer repository core for addon mayastor
diskpool.openebs.io "microk8s-<host>-pool" deleted

It does not run in a timeout, but keeps in this state for hours. Nothing happens. Can only remove mayastor with Helm with cli.
Same behaviour withour --remove-storage

What Should Happen Instead?

Mayastor should be disabled.

Reproduction Steps

  1. run microk8s enable mayastor
  2. use volumes
  3. remove volumes
  4. run microk8s disable mayastor --remove-storage

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

@ktsakalozos
Copy link
Member

Hi @jniclas thank you for reporting this.

The disable script for mayastor is in [1]. Would it be possible to share an inspection report so as to understand exactly the state of your cluster?

[1] https://github.com/canonical/microk8s-core-addons/blob/main/addons/mayastor/disable

@jniclas
Copy link
Author

jniclas commented Sep 22, 2023

I already reset my cluster, but did another re-setup with mayastor today and the error occurred again. Here is the inspection file.
inspection-report-20230922_172657.tar.gz

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

2 participants