So since euca2ools did not have enough work for me to continue at it for the rest of the semester, I decided I ll simply jump on our main project the Eutester project. It has been a good day so far, most things went well I heard some people had problems with version mismatches so I downloaded and installed everything from source code their most up-to-date versions of “all the things” (boto/m2crypto/paramiko/eutester). Reading through the wiki that the eutester group of guys has set up on cs.worcester.edu, and following some links to blogg posts from the developers, I managed to run some tests on our newly installed Eucalyptus 3 cloud which is still not able to keep a VM instance running.
>>> eucaops.get_emi() Image:emi-238B37D9 >>> emi = eucaops.get_emi() >>> reservations = eucaops.run_instance(emi) Attempting to run instance-store image Image:emi-238B37D9 in group default Beginning poll loop for the 1 found in Reservation:r-860340D3 Beginning poll loop for instance Instance:i-0696428B to go to running Instance(i-0696428B) State(pending), sleeping 10s Instance(i-0696428B) State(pending), sleeping 10s Instance(i-0696428B) State(pending), sleeping 10s Instance(i-0696428B) State(pending), sleeping 10s Instance(i-0696428B) State(pending), sleeping 10s Instance(i-0696428B) State(terminated) Poll(5) time elapsed (51) [CRITICAL]: [TEST_REPORT] FAILED: Instance:i-0696428B did not enter the proper state and was left in terminated
After some looking around found out about the existence of nc.log file, and here is the portion of the fail runs:
[EUCAFATAL] Failed to connect to qemu:///system [i-16F93EC9] could not contact the hypervisor, abandoning the instance [i-16F93EC9] state change for instance: Staging -> Shutoff (Pending) doDescribeResource: cores=1/2 mem=1604/1732 disk=11/13 iqn=iqn.1994-05.com.redhat:262aa1ddbe2 [i-16F93EC9] Pending pub=0.0.0.0 priv=0.0.0.0 mac=d0:0d:16:F9:3E:C9 vlan=-24 net=-1 plat=linux vols= [EUCAFATAL ] Failed to connect to qemu:///system [i-16F93EC9] cleaning up state for instance [i-16F93EC9] stopping the network (vlan=-24) [EUCAWARN ] vnetStopNetworkManaged(): supplied vlan '-24' is out of range (0 - 4096), nothing to do [i-16F93EC9] state change for instance: Shutoff -> Teardown (Teardown) [EUCAFATAL ] Failed to connect to qemu:///system
After trying to work my way through an old bug report and fix on the above problem, I decided I should check if Hardware Virtualization, which turned out it was the right idea, because in this case it is turned off in the BIOS.
From the blog Live and Code » WSU CS by dhimitraq and used with permission of the author. All other rights reserved by the author.