Comments (27)
Hi @johnbent - Can we use docker image created as part of #89 for this. Developer can setup VM on any platform and follow steps mentioned at #89 (comment) to generate rpm's/artifacts.
Also Developer can use artifacts generated from above steps to perform CORTX deployment on local VM . Provisioner accepts target repo url as file:///var/artifacts/0/
.
from cortx-re.
@shailesh-vaidya whatever. The user just have to take OVA, check out the code and be able to build and run the code right away.
Makes sense?
from cortx-re.
Hey @andriytk that's what we're working towards. Thanks for the succinct definition of done. @justinzw will be testing the instructions @shailesh-vaidya posted above and if it works (especially if it works just as your succinctly describe), @justinzw will be working to get this documented with @VenkyOS .
@VenkyOS , when we get this documented, here's how I want the links to work:
https://github.com/Seagate/cortx/blob/main/CONTRIBUTING.md#prerequisites -> new_file_in_parent_doc_dir
from cortx-re.
@johnbent - Noted.
from cortx-re.
Hello @VenkyOS , @justinzw - Please let me know if you face any issues in testing build instructions located at #89 (comment) to generate rpm's/artifacts.
from cortx-re.
@VenkyOS - Hope other than timing there no issue. Can you please document steps . It does takes around 45mins to build full stack in Jenkins environment also.
from cortx-re.
@shailesh-vaidya - Yes. Timing is an issue. I followed your instructions in the document. Shall I document and format the same in RST format? If yes, which repository should it be placed.
from cortx-re.
@justinzw Could you please validate steps once.
@VenkyOS - I feel we can put this document in https://github.com/Seagate/cortx repo. We are using GitHub Docker registry to store docker images. Hence we can make docker image public without making https://github.com/Seagate/cortx-re public.
Refer - https://github.com/orgs/Seagate/packages/container/package/cortx-build
from cortx-re.
@justinzw , @VenkyOS Please use make clean build -i
for now. This is required due to known issue in cortx-manager build. Its tracked in EOS-16486 Exclude return code check for csm_setup and csm_test.
from cortx-re.
@shailesh-vaidya - Sure. But, is it fine to showcase the Known Issue.
from cortx-re.
@VenkyOS Yes. You can showcase it as known issue. CSM team is working on fixing it.
from cortx-re.
@shailesh-vaidya - Done.
from cortx-re.
@andriytk @johnbent We have published docker image to build entire CORTX at https://github.com/orgs/Seagate/packages/container/package/cortx-build
Instructions to build CORTX packages using this Docker image is documented at - https://github.com/Seagate/cortx/blob/main/doc/Release_Build_Creation.rst
from cortx-re.
Does it allow build and run Motr on the VM?
cc @hessio
from cortx-re.
@andriytk This docker image supports only build Motr and the other components. Running Motr through it is not possible as of now.
from cortx-re.
Then this is not what's needed.
from cortx-re.
I asked @hessio to look at this also. @shailesh-vaidya, after building it, how do we run it? That, as @andriytk points out, is clearly the next step and I think @hessio got stuck there as well.
from cortx-re.
How to start a singlenode cluster on the VM (Motr+Hare) is described at https://github.com/Seagate/cortx-hare.
from cortx-re.
Adding details from email thread here
@hessio and me tested single node cluster on the VM (Motr+Hare) is described at https://github.com/Seagate/cortx-hare/blob/main/README.md .
I was able to follow document within Seagate Network . However just want to note few points,
lctl list_nids
was giving below error. I observed that lnet module was not loaded at https://github.com/Seagate/cortx-hare/blob/main/README.md#prepare-the-cdf stage. I need to load it usingmodprobe lnet
command.
[root@ssc-vm-1613 ~]# lctl list_nids
opening /dev/lnet failed: No such file or directory
hint: the kernel modules may not be loaded
IOC_LIBCFS_GET_NI error 2: No such file or directory
make deinstall
was failing with error as below. Need to install lbzip2 package usingyum install lbzip2 -y
to fix this.
tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
make: *** [vendor/dhall-bin/1.26.1/bin/dhall] Error 2
- At Run I/O test. steps command gives following error. However test worked.
[root@ssc-vm-1613 ~]# /opt/seagate/cortx/hare/libexec/m0crate-io-conf >/tmp/m0crate-io.yaml
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
Usage: grep [OPTION]... PATTERN [FILE]...
Try 'grep --help' for more information.
- hctl status showing two unknown services.
[root@ssc-vm-1613 ~]# hctl status
Data pool:
# fid name
0x6f00000000000001:0x2f 'the pool'
Profile:
# fid name: pool(s)
0x7000000000000001:0x4f 'default': 'the pool' None None
Services:
localhost (RC)
[started] hax 0x7200000000000001:0x6 192.168.15.233@tcp:12345:1:1
[started] confd 0x7200000000000001:0x9 192.168.15.233@tcp:12345:2:1
[started] ioservice 0x7200000000000001:0xc 192.168.15.233@tcp:12345:2:2
_[unknown] m0_client 0x7200000000000001:0x29 192.168.15.233@tcp:12345:4:1
[unknown] m0_client 0x7200000000000001:0x2c 192.168.15.233@tcp:12345:4:2_
Devices:
localhost
[M0_NC_UNKNOWN] /dev/null
[M0_NC_UNKNOWN] /dev/loop1
[M0_NC_UNKNOWN] /dev/loop2
[M0_NC_UNKNOWN] /dev/loop3
[M0_NC_UNKNOWN] /dev/loop4
[M0_NC_UNKNOWN] /dev/loop5
[M0_NC_UNKNOWN] /dev/loop6
[M0_NC_UNKNOWN] /dev/loop7
[M0_NC_UNKNOWN] /dev/loop8
[M0_NC_UNKNOWN] /dev/loop9
[M0_NC_UNKNOWN] /dev/loop0
from cortx-re.
Can we close this issue based on this devvm we have available in the motr repo https://github.com/Seagate/cortx-motr/releases/tag/ova-centos79
from cortx-re.
See also Seagate/cortx-motr#1355.
Here is also CentOS 8 based OVA - https://github.com/andriytk/cortx-motr/releases/tag/centos83ova.
from cortx-re.
Ok so it is ok to close this issue as we have this requirement?
Or should we wait until Seagate/cortx-motr#1355 is merged?
from cortx-re.
For the convenience of the Seagate development team, this issue has been mirrored in a private Seagate Jira Server: https://jts.seagate.com/browse/EOS-28332. 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.
from cortx-re.
Closing as as we have CentOS 8 based OVA - https://github.com/andriytk/cortx-motr/releases/tag/centos83ova
and - Seagate/cortx-motr#1355
from cortx-re.
Patrick Hession commented in Jira Server:
Issue closed
from cortx-re.
Patrick Hession commented in Jira Server:
Issue closed
from cortx-re.
Patrick Hession commented in Jira Server:
Issue closed
from cortx-re.
Related Issues (20)
- CVE-2022-36087 (Medium) detected in oauthlib-3.2.1-py3-none-any.whl - autoclosed HOT 7
- Test Board-Genius Sync HOT 2
- CVE-2022-24439 (Critical) detected in GitPython-3.1.29-py3-none-any.whl HOT 1
- CVE-2022-23491 (Medium) detected in certifi-2022.9.24-py3-none-any.whl - autoclosed HOT 1
- CVE-2022-40897 (Medium) detected in setuptools-36.0.1-py2.py3-none-any.whl HOT 1
- CVE-2023-23931 (Medium) detected in cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl HOT 1
- CVE-2023-0286 (High) detected in cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl HOT 1
- CVE-2023-25577 (High) detected in Werkzeug-2.2.2-py3-none-any.whl HOT 1
- CVE-2023-23934 (Low) detected in Werkzeug-2.2.2-py3-none-any.whl HOT 1
- CVE-2023-30861 (High) detected in Flask-1.1.1-py2.py3-none-any.whl HOT 1
- Merge HW deployment code HOT 4
- Combine NODECLI and OPTIMIZED HW Deployment HOT 4
- CVE-2021-33503 (High) detected in urllib3-1.25.11-py2.py3-none-any.whl HOT 16
- cortx-all image generation instructions for community. HOT 3
- BG test HOT 4
- CVE-2021-21330 (Medium) detected in aiohttp-3.6.1-cp37-cp37m-manylinux1_x86_64.whl - autoclosed HOT 3
- CVE-2021-41496 (High) detected in numpy-1.21.5-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl - autoclosed HOT 3
- CVE-2021-34141 (Medium) detected in numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl HOT 10
- CVE-2022-24302 (Medium) detected in paramiko-2.7.1-py2.py3-none-any.whl - autoclosed HOT 5
- Need to change our template asking for new third party software HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cortx-re.