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

create logical pool failed #2100

Closed
DemoLiang opened this issue Nov 24, 2022 · 2 comments
Closed

create logical pool failed #2100

DemoLiang opened this issue Nov 24, 2022 · 2 comments
Assignees
Labels
bug Something isn't working repairing bug repairing

Comments

@DemoLiang
Copy link
Contributor

Describe the bug (描述bug)
1.当出现多chunkserver的时候,偶发性出现 create logical pool failed
image
Error-Code: 410019
Error-Description: create logical pool failed
Error-Clue: E 2022-11-24T16:47:20.309028+0800 350 curvefsTool.cpp:193] CreateLogicalPool Rpc response fail. Message is :statusCode: -12
E 2022-11-24T16:47:20.309067+0800 350 curvefsTool.cpp:1109] exec fail, ret = -12
How to Solve:

  • Website: https://github.com/opencurve/curveadm/wiki/errno4#410019
  • Log: /home/curve/.curveadm/logs/curveadm-2022-11-24_08-45-14.log
  • WeChat: opencurve_bot
    2.当再次执行curveadm deploy -k 后执行部署成功
    可能的远因是chunkserver上线和逻辑池初始化是并行的,chunkserver没上线完,就创建逻辑池失败了

To Reproduce (复现方法)
1.创建一个集群,然后chunkserver部署4*10,执行curveadm deploy
2.偶发性出现create logical pool failed

Expected behavior (期望行为)
1.执行部署成功

Versions (各种版本)
OS: ubuntu 20.04
Compiler:curvebs1.2
branch:
commit id:

Additional context/screenshots (更多上下文/截图)

@DemoLiang DemoLiang added the bug Something isn't working label Nov 24, 2022
@ilixiaocui ilixiaocui mentioned this issue Dec 8, 2022
2 tasks
@ilixiaocui
Copy link
Contributor

This is indeed a bug in the code.

It is judged in the code that only the status of the registered chunkservers is judged, and the unregistered chunkservers cannot be queried through the following interfaces.
https://github1s.com/opencurve/curveadm/blob/HEAD/internal/task/scripts/wait_chunkservers.go

@Wine93 will fix it.

Thanks for your proposal!

@ilixiaocui ilixiaocui added the repairing bug repairing label Dec 9, 2022
@Wine93
Copy link
Contributor

Wine93 commented Dec 21, 2022

@DemoLiang @ilixiaocui We have fixed it, it will be released with the v0.1.12-rc4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working repairing bug repairing
Projects
None yet
Development

No branches or pull requests

3 participants