Hello,

I have installed the Ubuntu 12.04 packages for OpenNebula 3.7.80.  After
installing the packages, I modified the sunstone config to listen on
0.0.0.0.
After logging in I obtained the Ubuntu KVM Image from the OpenNebula
mearketplace, created a template with, 10 GB HDD, 1 GB swap, 1 CPU and 4
VCPUs, and no networking.  When I create the image I get the following log
entry.

/var/lib/one/datastores/0/1/deployment.0 does exist, however it is empty. I
have attached "/var/lib/one/1/deployment.0" below the log.  Running the
failed "/var/tmp/one/vmm/kvm/deploy
/var/lib/one//datastores/0/1/deployment.0" does not fail from the command
line, however, it doesn't appear to do anything either.

I did add the VM Host to the sunstone server, and it appears in a `onevm
list`.

I found a couple of other threads on the mailing list where other users had
the same issue (the link escapes me at the moment), though the solution of
setting the user and group to oneadmin / cloud in the kvm config does not
resolve the issue.

Any thoughts on where to start troubleshooting?

Thanks,
Jon


Sat Oct 20 21:58:49 2012 [DiM][I]: New VM state is ACTIVE.
Sat Oct 20 21:58:50 2012 [LCM][I]: New VM state is PROLOG.
Sat Oct 20 21:58:50 2012 [VM][I]: Virtual Machine has no context
Sat Oct 20 21:58:53 2012 [TM][I]: mkimage: Making filesystem of 10240M
and type ext4 at 10.42.0.68:/var/lib/one//datastores/0/1/disk.0
Sat Oct 20 21:58:53 2012 [TM][I]: ExitCode: 0
Sat Oct 20 21:58:54 2012 [TM][I]: mkimage: Making filesystem of 1024M
and type swap at 10.42.0.68:/var/lib/one//datastores/0/1/disk.1
Sat Oct 20 21:58:54 2012 [TM][I]: ExitCode: 0
Sat Oct 20 21:58:54 2012 [LCM][I]: New VM state is BOOT
Sat Oct 20 21:58:54 2012 [VMM][I]: Generating deployment file:
/var/lib/one/1/deployment.0
Sat Oct 20 21:58:54 2012 [VMM][I]: ExitCode: 0
Sat Oct 20 21:58:54 2012 [VMM][I]: Successfully execute network driver
operation: pre.
Sat Oct 20 21:58:54 2012 [VMM][I]: Command execution fail: cat << EOT
| /var/tmp/one/vmm/kvm/deploy
/var/lib/one//datastores/0/1/deployment.0 10.42.0.68 1 10.42.0.68
Sat Oct 20 21:58:54 2012 [VMM][I]: error: failed to get domain
'/var/lib/one//datastores/0/1/deployment.0'
Sat Oct 20 21:58:54 2012 [VMM][I]: error: Domain not found: no domain
with matching name '/var/lib/one//datastores/0/1/deployment.0'
Sat Oct 20 21:58:54 2012 [VMM][I]: error: Failed to create domain from
/var/lib/one//datastores/0/1/deployment.0
Sat Oct 20 21:58:54 2012 [VMM][I]: error: unknown OS type hvmSat Oct
20 21:58:54 2012 [VMM][E]: Could not create domain from
/var/lib/one//datastores/0/1/deployment.0
Sat Oct 20 21:58:54 2012 [VMM][I]: ExitCode: 255
Sat Oct 20 21:58:54 2012 [VMM][I]: Failed to execute virtualization
driver operation: deploy.Sat Oct 20 21:58:54 2012 [VMM][E]: Error
deploying virtual machine: Could not create domain from
/var/lib/one//datastores/0/1/deployment.0
Sat Oct 20 21:58:55 2012 [DiM][I]: New VM state is FAILED


# /var/lib/one/1/deployment.0

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
        <name>one-1</name>
        <vcpu>4</vcpu>
        <cputune>
                <shares>1024</shares>
        </cputune>
        <memory>524288</memory>
        <os>
                <type arch='x86_64'>hvm</type>
                <boot dev='hd'/>
        </os>
        <devices>
                <emulator>/usr/bin/kvm</emulator>
                <disk type='file' device='disk'>
                        <source file='/var/lib/one//datastores/0/1/disk.0'/>
                        <target dev='hda'/>
                        <driver name='qemu' type='qcow2' cache='default'/>
                </disk>
                <disk type='file' device='disk'>
                        <source file='/var/lib/one//datastores/0/1/disk.1'/>
                        <target dev='hdb'/>
                        <driver name='qemu' type='raw' cache='default'/>
                </disk>
                <graphics type='vnc' listen='0.0.0.0' port='5901'/>
        </devices>
        <features>
                <acpi/>
        </features>

</domain>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to