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

单机部署提示could not find or access ../curve-mds/bin/导致部署失败 #496

Closed
xlyhw opened this issue Aug 10, 2021 · 2 comments
Closed
Labels
question Further information is requested

Comments

@xlyhw
Copy link

xlyhw commented Aug 10, 2021

General Question

按照官方文档的指导,使用ansible-playbook命令部署单节点curve环境,在install mds bin阶段提示could not find or access ../curve-mds/bin/,导致部署失败。
image

查看脚本发现,在install mds bin阶段会将../curve-mds/bin/中的文件复制到/usr/bin中,但在../curve-mds目录下没有/bin目录,仅有DEBIAN和home两个文件夹。因此可以认为是curve-mds文件夹中没有mds组件,导致脚本无法找到源文件而报错。但整体阅读代码后并未找到下载或构建mds的命令,因此想请教一下如何解决这个问题。

OS:CentOS-8.2.2004
内核:4.18.0-193.el8.x86_64
openssl:1.1.1g FIPS 21 Apr 2020
gcc:8.4.1 20200928 (Red Hat 8.4.1-1)
curve:curve-1.0.4(1.2.1-rc0和1.3.0-beta2也有同样的问题)

@xlyhw xlyhw added the question Further information is requested label Aug 10, 2021
@SeanHai
Copy link
Contributor

SeanHai commented Aug 11, 2021

General Question

按照官方文档的指导,使用ansible-playbook命令部署单节点curve环境,在install mds bin阶段提示could not find or access ../curve-mds/bin/,导致部署失败。
image

查看脚本发现,在install mds bin阶段会将../curve-mds/bin/中的文件复制到/usr/bin中,但在../curve-mds目录下没有/bin目录,仅有DEBIAN和home两个文件夹。因此可以认为是curve-mds文件夹中没有mds组件,导致脚本无法找到源文件而报错。但整体阅读代码后并未找到下载或构建mds的命令,因此想请教一下如何解决这个问题。

OS:CentOS-8.2.2004
内核:4.18.0-193.el8.x86_64
openssl:1.1.1g FIPS 21 Apr 2020
gcc:8.4.1 20200928 (Red Hat 8.4.1-1)
curve:curve-1.0.4(1.2.1-rc0和1.3.0-beta2也有同样的问题)

这里ansible部署使用的是curve tar包,curve-mds/bin 目录是位于其中的,对应版本的tar包见https://github.com/opencurve/curve/releases;部署过程可参考:https://github.com/opencurve/curve/blob/master/docs/cn/deploy.md#%E5%AE%9E%E6%96%BD%E9%83%A8%E7%BD%B2

@aspirer
Copy link
Contributor

aspirer commented Aug 12, 2021

有问题再reopen

@aspirer aspirer closed this as completed Aug 12, 2021
ilixiaocui pushed a commit to ilixiaocui/curve that referenced this issue Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants