Dear Tom,
I tried to follow your advice, and in this way, I was trying to do a little test: put 2 cloudlets through Virtualbox.
I installed Virtualbox, OS is Ubuntu 14.04 and I installed elijah-provisioning.
I was able to import a VM base, this base appears if I type the cloudlet list-base command. However, it gives an error:
"Failed to initialize KVM: No such file or directory
No accelerator found!
Error, make sure previous VM is closed and check QEMU_ARGUMENT
Failed to create overlay "
> mickael@mickael-VirtualBox:~$ cloudlet list-base
> hash value path
> ------------------------------------------------------------------------------------------
> abda52a61692094b3b7d45c9647d022f5e297d1b788679eb93735374007576b8 /home/mickael/.cloudlet/abda52a61692094b3b7d45c9647d022f5e297d1b788679eb93735374007576b8/precise.raw
> ------------------------------------------------------------------------------------------
> mickael@mickael-VirtualBox:~$ cloudlet overlay /home/mickael/.clou692094b3b7d45c9647d022f5e297d1b788679eb93735374007576b8/precise.raw -- -redir tcp:2222::22 -redir tcp:8080::80
> INFO QEMU access file : /tmp/cloudlet-qemu-7A05Ug/qemu-trim-log
> INFO start monitoring at /var/tmp/cloudletfs-Yq6vtn/disk/streams/chunks_modified
> INFO start monitoring at /var/tmp/cloudletfs-Yq6vtn/disk/streams/chunks_accessed
> INFO start monitoring at /var/tmp/cloudletfs-Yq6vtn/memory/streams/chunks_accessed
> INFO start monitoring at /tmp/cloudlet-qemu-7A05Ug/qemu-trim-log
> INFO * Overlay creation configuration
> INFO - {'DISK_ONLY': False,
> 'FREE_SUPPORT': False,
> 'TRIM_SUPPORT': True,
> 'XRAY_SUPPORT': False,
> 'ZIP_CONTAINER': True}
> INFO restoring VM...
> ERROR internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games HOME=/home/mickael USER=mickael LOGNAME=mickael /usr/local/bin/cloudlet_qemu-system-x86_64 -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?' -device 'usb-storage,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory
> failed to initialize KVM: No such file or directory
> No accelerator found!
> ERROR failed : reasons - <domain xmlns:ns0="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
>name>cloudlet-543793584db34094af90406bcad9c2c8</name>
>uuid>54379358-4db3-4094-af90-406bcad9c2c8</uuid>
>memory unit="KiB">1048576</memory>
>currentMemory unit="KiB">1048576</currentMemory>
>vcpu placement="static">4</vcpu>
> <os>
> <type arch="x86_64" machine="pc-1.0">hvm</type>
> <boot dev="hd" />
> </os>
> <features>
> <acpi />
> </features>
> <cpu match="exact" mode="custom">
> <topology cores="4" sockets="1" threads="1" />
> <model fallback="forbid">core2duo</model></cpu>
> <clock offset="utc" />
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>destroy</on_crash>
> <devices>
> <emulator>/usr/local/bin/cloudlet_qemu-system-x86_64</emulator>
> <disk device="disk" type="file">
> <driver name="qemu" type="raw" />
> <source file="/var/tmp/cloudletfs-Yq6vtn/disk/image" />
> <target bus="ide" dev="hda" />
> <address bus="0" controller="0" target="0" type="drive" unit="0" />
> </disk>
> <disk device="cdrom" type="file">
> <driver name="qemu" type="raw" />
> <source file="/var/lib/cloudlet/conf/ovftransport.iso" />
> <target bus="ide" dev="hdc" />
> <readonly />
> <address bus="1" controller="0" target="0" type="drive" unit="0" />
> </disk>
> <controller index="0" type="ide">
> <address bus="0x00" domain="0x0000" function="0x1" slot="0x01" type="pci" />
> </controller>
> <interface type="user">
> <mac address="52:54:00:9f:a8:da" />
> <model type="virtio" />
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x03" type="pci" />
> </interface>
> <input bus="ps2" type="mouse" />
> <graphics autoport="yes" keymap="en-us" listen="127.0.0.1" port="-1" type="vnc">
> <listen address="127.0.0.1" type="address" />
> </graphics>
> <video>
> <model heads="1" type="cirrus" vram="9216" />
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x02" type="pci" />
> </video>
> <memballoon model="virtio">
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x04" type="pci" />
> </memballoon>
> </devices>
> <ns0:commandline><ns0:arg value="-cloudlet" /><ns0:arg value="raw=suspend,logfile=/tmp/cloudlet-qemu-7A05Ug/qemu-trim-log" /><ns0:arg value="-redir" /><ns0:arg value="tcp:2222::22" /><ns0:arg value="-redir" /><ns0:arg value="tcp:8080::80" /></ns0:commandline><seclabel relabel="yes" type="dynamic" /></domain>
> XML: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games HOME=/home/mickael USER=mickael LOGNAME=mickael /usr/local/bin/cloudlet_qemu-system-x86_64 -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?' -device 'usb-storage,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory
> failed to initialize KVM: No such file or directory
> No accelerator found!
> Error, make sure previous VM is closed and check QEMU_ARGUMENT, args - {}
> ERROR failed at Traceback (most recent call last):
> File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 93, in decorated_function
> return function(self, *args, **kwargs)
> File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 229, in resume_basevm
> self.base_mem_fuse, self.new_xml_str)
> File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 1245, in run_snapshot
> restore_with_config(conn, mem_snapshot, new_xml_string)
> File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 1337, in restore_with_config
> raise CloudletGenerationError(message)
> CloudletGenerationError: <domain xmlns:ns0="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
> <name>cloudlet-543793584db34094af90406bcad9c2c8</name>
> <uuid>54379358-4db3-4094-af90-406bcad9c2c8</uuid>
> <memory unit="KiB">1048576</memory>
> <currentMemory unit="KiB">1048576</currentMemory>
> <vcpu placement="static">4</vcpu>
> <os>
> <type arch="x86_64" machine="pc-1.0">hvm</type>
> <boot dev="hd" />
> </os>
> <features>
> <acpi />
> </features>
> <cpu match="exact" mode="custom">
> <topology cores="4" sockets="1" threads="1" />
> <model fallback="forbid">core2duo</model></cpu>
> <clock offset="utc" />
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>destroy</on_crash>
> <devices>
> <emulator>/usr/local/bin/cloudlet_qemu-system-x86_64</emulator>
> <disk device="disk" type="file">
> <driver name="qemu" type="raw" />
> <source file="/var/tmp/cloudletfs-Yq6vtn/disk/image" />
> <target bus="ide" dev="hda" />
> <address bus="0" controller="0" target="0" type="drive" unit="0" />
> </disk>
> <disk device="cdrom" type="file">
> <driver name="qemu" type="raw" />
> <source file="/var/lib/cloudlet/conf/ovftransport.iso" />
> <target bus="ide" dev="hdc" />
> <readonly />
> <address bus="1" controller="0" target="0" type="drive" unit="0" />
> </disk>
> <controller index="0" type="ide">
> <address bus="0x00" domain="0x0000" function="0x1" slot="0x01" type="pci" />
> </controller>
> <interface type="user">
> <mac address="52:54:00:9f:a8:da" />
> <model type="virtio" />
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x03" type="pci" />
> </interface>
> <input bus="ps2" type="mouse" />
> <graphics autoport="yes" keymap="en-us" listen="127.0.0.1" port="-1" type="vnc">
> <listen address="127.0.0.1" type="address" />
> </graphics>
> <video>
> <model heads="1" type="cirrus" vram="9216" />
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x02" type="pci" />
> </video>
> <memballoon model="virtio">
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x04" type="pci" />
> </memballoon>
> </devices>
> <ns0:commandline><ns0:arg value="-cloudlet" /><ns0:arg value="raw=suspend,logfile=/tmp/cloudlet-qemu-7A05Ug/qemu-trim-log" /><ns0:arg value="-redir" /><ns0:arg value="tcp:2222::22" /><ns0:arg value="-redir" /><ns0:arg value="tcp:8080::80" /></ns0:commandline><seclabel relabel="yes" type="dynamic" /></domain>
> XML: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games HOME=/home/mickael USER=mickael LOGNAME=mickael /usr/local/bin/cloudlet_qemu-system-x86_64 -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?' -device 'usb-storage,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory
> failed to initialize KVM: No such file or directory
> No accelerator found!
> Error, make sure previous VM is closed and check QEMU_ARGUMENT
> INFO close Stream monitoring thread
> INFO Fuse close pipe
> INFO NO chunks has been waited at FUSE
> INFO close Fuse Exec thread
> INFO close File monitoring thread
> ERROR Traceback (most recent call last):
> File "/usr/local/bin/cloudlet", line 193, in main
> machine = vm_overlay.resume_basevm()
> File "/usr/local/lib/python2.7/dist-packages/elijah/provisioning/synthesis.py", line 102, in decorated_function
> raise e
> CloudletGenerationError: <domain xmlns:ns0="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
> <name>cloudlet-543793584db34094af90406bcad9c2c8</name>
> <uuid>54379358-4db3-4094-af90-406bcad9c2c8</uuid>
> <memory unit="KiB">1048576</memory>
> <currentMemory unit="KiB">1048576</currentMemory>
> <vcpu placement="static">4</vcpu>
> <os>
> <type arch="x86_64" machine="pc-1.0">hvm</type>
> <boot dev="hd" />
> </os>
> <features>
> <acpi />
> </features>
> <cpu match="exact" mode="custom">
> <topology cores="4" sockets="1" threads="1" />
> <model fallback="forbid">core2duo</model></cpu>
> <clock offset="utc" />
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>destroy</on_crash>
> <devices>
> <emulator>/usr/local/bin/cloudlet_qemu-system-x86_64</emulator>
> <disk device="disk" type="file">
> <driver name="qemu" type="raw" />
> <source file="/var/tmp/cloudletfs-Yq6vtn/disk/image" />
> <target bus="ide" dev="hda" />
> <address bus="0" controller="0" target="0" type="drive" unit="0" />
> </disk>
> <disk device="cdrom" type="file">
> <driver name="qemu" type="raw" />
> <source file="/var/lib/cloudlet/conf/ovftransport.iso" />
> <target bus="ide" dev="hdc" />
> <readonly />
> <address bus="1" controller="0" target="0" type="drive" unit="0" />
> </disk>
> <controller index="0" type="ide">
> <address bus="0x00" domain="0x0000" function="0x1" slot="0x01" type="pci" />
> </controller>
> <interface type="user">
> <mac address="52:54:00:9f:a8:da" />
> <model type="virtio" />
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x03" type="pci" />
> </interface>
> <input bus="ps2" type="mouse" />
> <graphics autoport="yes" keymap="en-us" listen="127.0.0.1" port="-1" type="vnc">
> <listen address="127.0.0.1" type="address" />
> </graphics>
> <video>
> <model heads="1" type="cirrus" vram="9216" />
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x02" type="pci" />
> </video>
> <memballoon model="virtio">
> <address bus="0x00" domain="0x0000" function="0x0" slot="0x04" type="pci" />
> </memballoon>
> </devices>
> <ns0:commandline><ns0:arg value="-cloudlet" /><ns0:arg value="raw=suspend,logfile=/tmp/cloudlet-qemu-7A05Ug/qemu-trim-log" /><ns0:arg value="-redir" /><ns0:arg value="tcp:2222::22" /><ns0:arg value="-redir" /><ns0:arg value="tcp:8080::80" /></ns0:commandline><seclabel relabel="yes" type="dynamic" /></domain>
> XML: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games HOME=/home/mickael USER=mickael LOGNAME=mickael /usr/local/bin/cloudlet_qemu-system-x86_64 -no-user-config -device '?' -device 'pci-assign,?' -device 'virtio-blk-pci,?' -device 'virtio-net-pci,?' -device 'scsi-disk,?' -device 'PIIX4_PM,?' -device 'usb-redir,?' -device 'ide-drive,?' -device 'usb-host,?' -device 'scsi-generic,?' -device 'usb-storage,?') unexpected exit status 1: Could not access KVM kernel module: No such file or directory
> failed to initialize KVM: No such file or directory
> No accelerator found!
> Error, make sure previous VM is closed and check QEMU_ARGUMENT
I try many times to close Virtualbox VM and restart again, create new Virtualbox VM and it appears allways.Virtualbox is working properly, in the PC BIOS the virtualization function is on, I'm not really sure what's happening.
Thank you again for your help in overcoming this problem.