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

宿主机重启导致vg卷处于未激活状态 #182

Open
antmoveh opened this issue Apr 13, 2023 · 0 comments
Open

宿主机重启导致vg卷处于未激活状态 #182

antmoveh opened this issue Apr 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@antmoveh
Copy link
Contributor

What happened:

What you expected to happen:

How to reproduce it:

Anything else we need to know?:

Environment:

  • CSI Driver version:
  • Kubernetes version (use kubectl version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

节点上存在挂载的Carina创建的lvm存储卷,并且挂载到容器内中使用,此时将宿主机重启,Pod无法启动,存储卷无法挂载成功

  1. 此时进入carina-node容器内,执行vgs vgdisplay指令可用观察到vg卷处于未激活状态
  2. 执行vgchange -ay vg-name 即可激活,此次存储卷恢复正常
  3. 优化建议,在carina-node启动时检查宿主机上vg卷是否激活,未激活情况下执行激活指令
@antmoveh antmoveh added the bug Something isn't working label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant