nanovms / ops

ops - build and run nanos unikernels

Home Page:https://ops.city

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feat suggestion: Show progress in ops image create

0xdoggo opened this issue · comments

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.

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

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

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

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