CLOUDSTACK-8964: Fix KVM snap to vol and snap to templ, no delegate for Ovm3..#962
CLOUDSTACK-8964: Fix KVM snap to vol and snap to templ, no delegate for Ovm3..#962snuf wants to merge 1 commit intoapache:masterfrom
Conversation
|
Eh that's odd, it's supposed to wait for 2 seconds, waited for 1.002 and then fails because it waited too short ? what am I missing here ? ntpd ? :) java.lang.AssertionError: Didn't block long enough, expected at least 2000 and got 1002 |
…or Ovm3. Snapshot to volume, snapshot to template was tested with KVM. Ovm3 does not have this functionality yet, but was giving a wrong answer on a delegation request, the delegation is however not required and has been removed. Guru's should ideally check... again, initially "failed" on not related thing... and now aborted ?
|
I've built EL6 RPMs from https://github.com/snuf/cloudstack/archive/6efe627e8e11c18acf62ff02b85007de122a917c and "yum reinstall" management and agent. No go. Volume creation from snapshot still fails with this: http://fpaste.org/282421/44552050/raw/ Template creation from snapshot works OK. Do note I have removed the Ovm3Guru from the hypervisor guru, excluding it again does not make a difference. |
|
@NuxRo interesting... I'm checking out my commit again and rebuilding to test again, I'm running both at the same time though... so that might explain something perhaps.. |
|
@snuf The org.apache.cloudstack.utils.hypervisor.HypervisorUtilsTest.checkVolumeFileForActivityTest(HypervisorUtilsTest.java:70) test is IMHO a known issue. Are you building against JDK 8 or 7? |
|
@borisroman problem is that some of our jenkins build slaves ("our" are the project ones) fail, so "restarting" it and hoping you'll end up on a build slave that does work is kind of what i did.... cough. |
|
@NuxRo tested all the scenarios and I'm getting different results as before and different results than you, this is an excerpt of the log testing the various options: http://fpaste.org/282859/45595257/raw/ |
|
@snuf is there a list of all hv gurus? I'd like to exclude all of them (bar kvm), see if that helps. |
|
@NuxRo here's a list, there is no KVM Guru... ? |

Snapshot to volume, snapshot to template was tested with KVM.
Ovm3 does not have this functionality yet. The Ovm3HypervisorGuru was however giving an incorrect answer to a delegation request, which should never have been implemented.