Seagate / cortx

CORTX Community Object Storage is 100% open source object storage uniquely optimized for mass capacity storage devices.

Home Page:https://github.com/Seagate/cortx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pip: No module named setuptools_rust

osmboy opened this issue · comments

Problem

Once the OVA boots , excute build-prep-1node.sh script just throws an error.

Expected behavior

build-prep-1node.sh -dev get everything ready

How to reproduce

Start VM,
log in ,

./build-prep-1node.sh -dev
...
No module named setuptools_rust

Deployment information

VMware ESXi™ Version: 6.7.0 Update 1 (Build 10302608)
Guest OS: Other 3.x Linux (64-bit)
Compatibility Workstation 12 (VM version 12)
VMware Tools: Yes
CPUs: 4
Memory :5.86 GB
Host name: cmu
OVA: https://github.com/Seagate/cortx-motr/releases/tag/ova-centos79

Additional information

No response

For the convenience of the Seagate development team, this issue has been mirrored in a private Seagate Jira Server: https://jts.seagate.com/browse/CORTX-34305. Note that community members will not be able to access that Jira server but that is not a problem since all activity in that Jira mirror will be copied into this GitHub issue.

it will use python cryptophy, so you should install the follow deps first

  1. setuptools-rust
pip3 install setuptools-rust
  1. wheel
pip3 install wheel
  1. rust compile
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh &&  source "$HOME/.cargo/env"

you may need install cortx-py-utils first

yum install gcc rpm-build python36 python36-pip python36-devel python36-setuptools openssl-devel libffi-devel -y
git clone --recursive https://github.com/Seagate/cortx-utils -b main
cd ./cortx-utils/py-utils
python3 setup.py bdist_wheel
cd dist
pip3 install cortx_py_utils-1.0.0-py3-none-any.whl

1, error with /dev/lnet not found, solution here:

systemctl restart lnet

but hctl bootstrap --mkfs singlenode.yaml report a mistake

2022-09-16 11:25:13: Generating cluster configuration...2022-09-16 11:25:13,788 cfgen 23551 [INFO] Checking dhall versions
2022-09-16 11:25:13,794 cfgen 23551 [INFO] Validating the provided CDF file structure
INFO:cfgen:Validating the provided CDF file structure
2022-09-16 11:25:13,839 cfgen 23551 [INFO] Enriching cluster description
INFO:cfgen:Enriching cluster description
2022-09-16 11:25:14,850 cfgen 23551 [INFO] Validating node descriptions
INFO:cfgen:Validating node descriptions
2022-09-16 11:25:14,852 cfgen 23551 [INFO] Validating pool descriptions
INFO:cfgen:Validating pool descriptions
2022-09-16 11:25:14,852 cfgen 23551 [INFO] Validating profile descriptions
INFO:cfgen:Validating profile descriptions
2022-09-16 11:25:14,854 cfgen 23551 [INFO] Validations passed
INFO:cfgen:Validations passed
2022-09-16 11:25:14,861 cfgen 23551 [INFO] Generating consul configuration
INFO:cfgen:Generating consul configuration
2022-09-16 11:25:14,862 cfgen 23551 [INFO] Generating consul KV structure
INFO:cfgen:Generating consul KV structure
2022-09-16 11:25:14,868 cfgen 23551 [INFO] Generating confd.dhall
INFO:cfgen:Generating confd.dhall
 OK
2022-09-16 11:25:15: Starting Consul server on this node............. OK
2022-09-16 11:25:26: Importing configuration into the KV store... OK
2022-09-16 11:25:26: Starting Consul on other nodes...Consul ready on all nodes
2022-09-16 11:25:26: Updating Consul configuration from the KV store... OK
2022-09-16 11:25:28: Waiting for the RC Leader to get elected......... OK
2022-09-16 11:25:35: Starting Motr (phase1, mkfs)...Job for motr-mkfs@0x7200000000000001:0x1.service failed because the control process exited with error code. See "systemctl status motr-mkfs@0x7200000000000001:0x1.service" and "journalctl -xe" for details.

image

Hi @osmboy thanks a lot for trying this out. I will download and try this on my own machine to see if I can recreate your issue and try to resolve it

Queen Treats Dread
image005
Aka Tilwana Simone Colson...21 Bridge's as used as the regency Flow Commission Office..****

commented

This issue/pull request has been marked as needs attention as it has been left pending without new activity for 4 days. Tagging @mukul-seagate11 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.

Closing as an obsolete