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

PVC won't bound in HA mode #30

Closed
niulechuan opened this issue Mar 28, 2022 · 0 comments
Closed

PVC won't bound in HA mode #30

niulechuan opened this issue Mar 28, 2022 · 0 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@niulechuan
Copy link
Contributor

niulechuan commented Mar 28, 2022

Because we watch DRBD events use nsenter use -t, so host ${PATH} is not working in container:
https://github.com/hwameistor/local-storage/blob/6668a3af1b80a5c2d5c0c499820f74161819adc4/pkg/member/node/configer/drbd.go#L507

Besides we didn't providedrbdsetup in Dockerfile:
https://github.com/hwameistor/local-storage/blob/6668a3af1b80a5c2d5c0c499820f74161819adc4/build/Dockerfile#L1-L7

So we got no DRBD events to fill up m.resourceCache map.
https://github.com/hwameistor/local-storage/blob/6668a3af1b80a5c2d5c0c499820f74161819adc4/pkg/member/node/configer/drbd.go#L507-L508

@niulechuan niulechuan changed the title PVC won't bound in HA PVC won't bound in HA mode Mar 28, 2022
@niulechuan niulechuan self-assigned this Mar 28, 2022
@niulechuan niulechuan added the kind/bug Categorizes issue or PR as related to a bug. label Mar 28, 2022
@angel0507 angel0507 transferred this issue from another repository Jul 14, 2022
angel0507 added a commit to angel0507/hwameistor that referenced this issue Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant