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

Feat suggestion: Show progress in ops image create #1602

Open
0xdoggo opened this issue Apr 4, 2024 · 5 comments
Open

Feat suggestion: Show progress in ops image create #1602

0xdoggo opened this issue Apr 4, 2024 · 5 comments

Comments

@0xdoggo
Copy link

0xdoggo commented Apr 4, 2024

I have problem create new image with DO, it often hangs even I see the new image has been created on DO spaces, and images being shown as pending.

Update: It's not hang, it works just fine after looking at the code I understand what it does. I think we should output progress to terminal.

Suggestions:
I think we can have simple progress bar showing if it's uploading and changing to finish. For now it's empty.

@0xdoggo 0xdoggo changed the title DO create image often hangs Feat suggestion: Show progress in ops image create Apr 4, 2024
@0xdoggo
Copy link
Author

0xdoggo commented Apr 4, 2024

I use nightly version and it seems to be much faster.

@eyberg
Copy link
Contributor

eyberg commented Apr 4, 2024

DO can be slow if you are uploading a large image/volume,

right now looks like a fairly naive poll here: https://github.com/nanovms/ops/blob/master/provider/digitalocean/digital_ocean_image.go#L67-L73 - if DO's api has changed since this has been written we might be able to change how this works

@0xdoggo
Copy link
Author

0xdoggo commented Apr 5, 2024

I have my node working, very interesting piece of software. Btw, what is the place to do random discussion? I would like to ask, that 2 in a row, my node on DO runs for about 9 hours, and it's just dead. What is the flow to troubleshoot and fix this kind of problem? Can we download the dead image and check what's going on? Thanks

@eyberg
Copy link
Contributor

eyberg commented Apr 5, 2024

you can discuss non-feature/non-bug stuff on the discussions tab or we do have https://forums.nanovms.com/ as well which I think we'd prefer

as for your particular issue with the '9 hours and its dead' - we're going to need some more information on what you're running into; is the instance still up? if so you can drop into the serial console and take a screenshot or copy/paste what you see there and if it's a kernel issue you'd probably see something; if the instance actually powered off then yes you can download the image and run it locally - if it crashed there might be a crash log inside of it that we can look at too; regardless of whether you have stuff from serial or not we're going to need something that can reproduce what you're seeing but first I'd check there

@0xdoggo
Copy link
Author

0xdoggo commented Apr 5, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants