stepping-stone / vm-manager

The stoney cloud web interface.
http://www.stoney-cloud.org/
Other
0 stars 0 forks source link

Display information of a streaming VM #50

Closed meichenberger closed 10 years ago

meichenberger commented 10 years ago

The information displayed for a running VM that is in streaming mode should be:

Running, streaming [5.1 %]

See Transcript http://osbd.stepping-stone.ch/wiki/2013-05-16_Telko_DEVROOM_/_stepping_stone_GmbH#Transcript (Item No. 14) and http://wiki.stoney-cloud.org/index.php/stoney_conductor:_VM_States#Virtual_Machines (Status No. 2, 6 and 11).

The following screen shot show, the sequence is wrong and that the percentage number is not shortened correctly: vm-manager_streaming

meichenberger commented 10 years ago

Tested with: Version 1.2.10.4

flinx27 commented 10 years ago

How should the percentage be calculated if there are several disks?

meichenberger commented 10 years ago

Either display a percentage value per disk (one value per line) or display the lowest value (as the lowest value gives us the closest estimate on the finishing time).

dev-zero commented 10 years ago

The "values" we get for calculating the progress is an abstract cursor plus it's end. So, I would simply calculate it as: sum(current cursor for all block jobs)/sum(end cursor for all block jobs)

dev-zero commented 10 years ago

after the last commits, the vm-manager does not display any streaming information, respectively falsely unlinks the vm and the template even though the streaming has not even remotely finished.