clonos / control-pane

ClonOS WEB control panel (CBSD WEB UI)
https://clonos.tekroutine.com
128 stars 31 forks source link

Status view for fetching ISO #19

Open shithead opened 5 years ago

shithead commented 5 years ago

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.

olevole commented 5 years ago

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 commented 5 years ago

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.