control-pane icon indicating copy to clipboard operation
control-pane copied to clipboard

Status view for fetching ISO

Open shithead opened this issue 6 years ago • 2 comments

For create a bhyve vm it doesnt show porgess of fetch iso image. That make sometimes confuse in which state clonos is for the VM.

shithead avatar Apr 05 '19 16:04 shithead

Yes, at the moment this problem exists. For this reason, this is mentioned here: https://clonos.tekroutine.com/errata.html

Some commands already have a status update via queue ( CBSD used ws:// to send events directly in ClonOS ). But many commands do not yet have this support. Work is slow, but continues.

My current plan: make queue subsystem in CBSD more unversal, e.g. add queue.conf so that users can receive events in any backen - into redis, or AMQP (rabbit,beanstalk, zmq) or ws:// and so on and continue to implement support for progressbar/updates in atomic and long operations ( fetch, import, export, clone ..)

olevole avatar Apr 05 '19 17:04 olevole

By the way .. In CBSD there is a command fetch_iso ( https://www.bsdstore.ru/en/cbsd_fetch.html ) which can be used to pre-obtain images referenced by CBSD profiles,e.g:

(in latest CBSD, 12.0.8)

% cbsd fetch_iso dstdir=default keepname=0 cloud=0 ( for ISO ) % cbsd fetch_iso dstdir=default keepname=0 cloud=1 (for bhyve cloud images ) % cbsd fetch_iso dstdir=default keepname=0 cloud=1 conv2zvol=1 (for bhyve cloud images + auto convert them into ZVOL )

This can be used during the preparation of the hypervisor for work.

olevole avatar Apr 05 '19 18:04 olevole