Coder Social home page Coder Social logo

Comments (4)

mukul-seagate11 avatar mukul-seagate11 commented on August 31, 2024

Hello,

Is it possible to use github releases (as @mukul-seagate11 suggested it maybe be) to host VM images for the opensource community? For Seagate-only people, here is an OVA image that we would like to test whether it can be hosted by github: LINK.

Thanks!

@johnbent, It will be easy to test as OVA file will get downloaded in terms of api or URL in GitHub release as per https://github.com/Seagate/cortx-re/releases via wget or curl

Also, I am unable to access the mentioned 'LINK' page

from cortx-re.

stale avatar stale commented on August 31, 2024

This issue/pull request has been automatically marked as stale because it has not had recent activity. Tagging @shailesh-vaidya

from cortx-re.

shailesh-vaidya avatar shailesh-vaidya commented on August 31, 2024

@mukul-seagate11 AFAIK we are able to test upload/download .ova file in GitHub Release. Can we mark this issue as closed.

from cortx-re.

mukul-seagate11 avatar mukul-seagate11 commented on August 31, 2024

@shailesh-vaidya, yes correct as per or test we can close the Issue, here is the details,

File <2GB as,

[root@ssc-vm-0785 ~]# githubrelease --github-token 6a9f526b91e14f5522d1d14738c4b725170a80d2 asset Seagate/cortx-re upload OVA cortxvm_opensource_v2.zip
uploading 'OVA' release asset(s) (found 1):
uploading cortxvm_opensource_v2.zip
[####################################] 1.90G/1.90G 100% cortxvm_opensource_v2.zip
download_url: https://github.com/Seagate/cortx-re/releases/download/OVA/cortxvm_opensource_v2.zip

Larger File >2GB as,

[8/27 7:44 PM] Puja Mudaliar
[root@ssc-vm-0785 test]# githubrelease --github-token 6a9f526b91e14f5522d1d14738c4b725170a80d2 asset Seagate/cortx-re upload OVA dummy_largefile.txt
uploading 'OVA' release asset(s) (found 1):
uploading dummy_largefile.txt
[------------------------------------] 1.16M/4.00G 0% dummy_largefile.txt
Traceback (most recent call last):
File "/bin/githubrelease", line 11, in
sys.exit(main())
File "/usr/lib/python2.7/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.7/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/github_release.py", line 631, in _cli_asset_upload
gh_asset_upload(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/github_release.py", line 116, in with_check_for_credentials
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/github_release.py", line 760, in gh_asset_upload
repo_name, tag_name, upload_url, filename, verbose, dry_run)
File "/usr/lib/python2.7/site-packages/github_release.py", line 704, in _upload_release_file
data=_ProgressFileReader(f, reporter))
File "/usr/lib/python2.7/site-packages/github_release.py", line 65, in _request
response = request(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 486, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 598, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error(32, 'Broken pipe'))

OVA file uploaded in https://github.com/Seagate/cortx-re/releases/tag/OVA

from cortx-re.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.