[one-users] CentOS 7 - KVM - OpenNebula 4.8 from Marketplace doesn't start

Javier Fontan jfontan at opennebula.org
Tue Sep 2 04:18:07 PDT 2014


Hi, I've just uploaded a new version of the image with the correct format.

On Tue, Aug 26, 2014 at 11:52 AM, Pavel Tankov
<pavel.tankov at strategyobject.com> wrote:
>> We are going to convert it to a more compatible version and reupload.
>
> Hello, guys. Any progress on that?
> Thanks.
>
>
> On 08/21/2014 04:23 PM, Javier Fontan wrote:
>>
>> We found a problem with the format of that image. It only works with
>> qemu >= 1.10. We are going to convert it to a more compatible version
>> and reupload.
>>
>> In case you have a machine with a newer qemu version you can use this
>> command to convert it:
>>
>> $ qemu-img convert -f qcow2 -O qcow2 -o compat=0.10 <orig_image>
>> <dest_image>
>>
>> Sorry for the inconveniences.
>>
>> On Thu, Aug 21, 2014 at 10:16 AM, Pavel Tankov
>> <pavel.tankov at strategyobject.com> wrote:
>>>
>>> Hello Users,
>>>
>>> I have the following setup:
>>>
>>> Physical host: CentOS 6.5 (64 bit, of course), KVM, all set up following
>>> the Quickstart Guide here:
>>> http://docs.opennebula.org/4.8/design_and_installation/quick_starts/qs_centos_kvm.html
>>> Opennebula 4.8.0
>>>
>>> I got from the Marketplace the image named CentOS 7 - KVM - OpenNebula
>>> 4.8. Imported it and it and created the template automatically for me. I
>>> modified the template to add my ssl public key to be able to login as root,
>>> added a network and pretty much that was it. I tried to instantiate the
>>> template, but the VM keeps getting into the FAILED status.
>>>
>>> Do you have any idea why it wouldn't start? Thanks in advance.
>>>
>>> Here is the VM log:
>>>
>>> ============================ BEGIN LOG ================================
>>> Wed Jul 30 18:00:53 2014 [DiM][I]: New VM state is ACTIVE.
>>> Wed Jul 30 18:00:53 2014 [LCM][I]: New VM state is PROLOG.
>>> Wed Jul 30 18:00:56 2014 [LCM][I]: New VM state is BOOT
>>> Wed Jul 30 18:00:56 2014 [VMM][I]: Generating deployment file:
>>> /var/lib/one/vms/9/deployment.0
>>> Wed Jul 30 18:00:56 2014 [VMM][I]: ExitCode: 0
>>> Wed Jul 30 18:00:56 2014 [VMM][I]: Successfully execute network driver
>>> operation: pre.
>>> Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
>>> Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute virtualization
>>> driver operation: deploy.
>>> Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
>>> Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute network driver
>>> operation: post.
>>> Wed Jul 30 18:00:57 2014 [LCM][I]: New VM state is RUNNING
>>> Thu Jul 31 14:03:18 2014 [LCM][I]: New VM state is SHUTDOWN
>>> Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
>>> Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute virtualization
>>> driver operation: shutdown.
>>> Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
>>> Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute network driver
>>> operation: clean.
>>> Thu Jul 31 14:03:51 2014 [LCM][I]: New VM state is EPILOG
>>> Thu Jul 31 14:03:51 2014 [DiM][I]: New VM state is DONE
>>> Thu Aug 7 12:09:20 2014 [DiM][I]: New VM state is ACTIVE.
>>> Thu Aug 7 12:09:20 2014 [LCM][I]: New VM state is PROLOG.
>>> Thu Aug 7 12:09:21 2014 [LCM][I]: New VM state is BOOT
>>> Thu Aug 7 12:09:21 2014 [VMM][I]: Generating deployment file:
>>> /var/lib/one/vms/9/deployment.0
>>> Thu Aug 7 12:09:21 2014 [VMM][I]: ExitCode: 0
>>> Thu Aug 7 12:09:21 2014 [VMM][I]: Successfully execute network driver
>>> operation: pre.
>>> Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
>>> Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute virtualization
>>> driver operation: deploy.
>>> Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
>>> Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute network driver
>>> operation: post.
>>> Thu Aug 7 12:09:22 2014 [LCM][I]: New VM state is RUNNING
>>> Thu Aug 7 12:24:05 2014 [LCM][I]: New VM state is SHUTDOWN
>>> Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
>>> Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute virtualization
>>> driver operation: shutdown.
>>> Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
>>> Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute network driver
>>> operation: clean.
>>> Thu Aug 7 12:24:15 2014 [LCM][I]: New VM state is EPILOG
>>> Thu Aug 7 12:24:16 2014 [DiM][I]: New VM state is DONE
>>> Tue Aug 19 16:03:52 2014 [DiM][I]: New VM state is ACTIVE.
>>> Tue Aug 19 16:03:52 2014 [LCM][I]: New VM state is PROLOG.
>>> Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is BOOT
>>> Tue Aug 19 16:03:53 2014 [VMM][I]: Generating deployment file:
>>> /var/lib/one/vms/9/deployment.0
>>> Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
>>> Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver
>>> operation: pre.
>>> Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
>>> Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute virtualization
>>> driver operation: deploy.
>>> Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
>>> Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver
>>> operation: post.
>>> Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is RUNNING
>>> Tue Aug 19 16:05:37 2014 [LCM][I]: New VM state is CLEANUP.
>>> Tue Aug 19 16:05:37 2014 [DiM][I]: New VM state is DONE
>>> Tue Aug 19 16:05:37 2014 [VMM][W]: Ignored: LOG I 9 Driver command for 9
>>> cancelled
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error: failed to get
>>> domain 'one-9'
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error: Domain not
>>> found: no domain with matching name 'one-9'
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 0
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute
>>> virtualization driver operation: cancel.
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 0
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute
>>> network driver operation: clean.
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute
>>> transfer manager driver operation: tm_delete.
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute
>>> transfer manager driver operation: tm_delete.
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute
>>> transfer manager driver operation: tm_delete.
>>>
>>> Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: CLEANUP SUCCESS 9
>>>
>>> Thu Aug 21 10:59:24 2014 [Z0][DiM][I]: New VM state is ACTIVE.
>>> Thu Aug 21 10:59:24 2014 [Z0][LCM][I]: New VM state is PROLOG.
>>> Thu Aug 21 10:59:25 2014 [Z0][LCM][I]: New VM state is BOOT
>>> Thu Aug 21 10:59:25 2014 [Z0][VMM][I]: Generating deployment file:
>>> /var/lib/one/vms/9/deployment.0
>>> Thu Aug 21 10:59:25 2014 [Z0][VMM][I]: ExitCode: 0
>>> Thu Aug 21 10:59:25 2014 [Z0][VMM][I]: Successfully execute network
>>> driver operation: pre.
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][I]: Command execution fail: cat << EOT
>>> | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/9/deployment.0'
>>> 'localhost' 9 localhost
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][I]: error: Failed to create domain
>>> from /var/lib/one//datastores/0/9/deployment.0
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][I]: error: internal error process
>>> exited while connecting to monitor: qemu-kvm: -drive
>>> file=/var/lib/one//datastores/0/9/disk.0,if=none,id=drive-ide0-0-0,format=qcow2,cache=none:
>>> 'drive-ide0-0-0' uses a qcow2 feature which is not supported by this qemu
>>> version: QCOW version 3
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][I]: qemu-kvm: -drive
>>> file=/var/lib/one//datastores/0/9/disk.0,if=none,id=drive-ide0-0-0,format=qcow2,cache=none:
>>> could not open disk image /var/lib/one//datastores/0/9/disk.0: Operation not
>>> supported
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][I]:
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][E]: Could not create domain from
>>> /var/lib/one//datastores/0/9/deployment.0
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][I]: ExitCode: 255
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][I]: Failed to execute virtualization
>>> driver operation: deploy.
>>> Thu Aug 21 10:59:26 2014 [Z0][VMM][E]: Error deploying virtual machine:
>>> Could not create domain from /var/lib/one//datastores/0/9/deployment.0
>>> Thu Aug 21 10:59:26 2014 [Z0][DiM][I]: New VM state is FAILED
>>> =============================== END LOG
>>> =========================================
>>>
>>> --
>>> Pavel Tankov
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>
> --
> Pavel Tankov
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan


More information about the Users mailing list