[one-users] When DEV_PREFIX="sd" Failed to deploy VM

Lawrence Chiong junix88 at gmail.com
Mon Aug 13 12:58:31 PDT 2012


Hello there,

Need again your help regarding issues I found when I used "sd" as my
DEVICE_PREFIX. Below is my resulting deployment file as shown:

oneimage]# cat /var/lib/one/datastores/0/214/deployment.0
*<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
    <name>one-214</name>
    <vcpu>1</vcpu>
    <memory>1048576</memory>
    <os>
        <type arch='x86_64'>hvm</type>
        <boot dev='hd'/>
    </os>
    <devices>
        <emulator>/usr/libexec/qemu-kvm</emulator>
        <disk type='file' device='disk'>
            <source file='/var/lib/one//datastores/0/214/disk.0'/>
            <target dev='sda'/>
            <driver name='qemu' type='raw' cache='default'/>
        </disk>
        <interface type='bridge'>
            <source bridge='br0'/>
            <mac address='02:00:c0:a8:01:1e'/>
        </interface>
        <graphics type='vnc' listen='0.0.0.0' port='6114'/>
    </devices>
    <features>
        <acpi/>
    </features>

</domain>*

And this is the log file in the oned.log during deployment -

Mon Aug 13 13:50:39 2012 [TM][D]: Message received: TRANSFER SUCCESS 214 -
Mon Aug 13 13:50:39 2012 [VMM][D]: Message received: LOG I 214 ExitCode: 0
Mon Aug 13 13:50:39 2012 [VMM][D]: Message received: LOG I 214 Successfully
execute network driver operation: pre.
Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 Command
execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy
/var/lib/one//datastores/0/214/deployment.0 localhost 214 localhost
Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 error:
Failed to create domain from /var/lib/one//datastores/0/214/deployment.0
Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 error:
Unable to read from monitor: Connection reset by peer
Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG E 214 Could not
create domain from /var/lib/one//datastores/0/214/deployment.0
Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 ExitCode: 255
Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: LOG I 214 Failed to
execute virtualization driver operation: deploy.
*Mon Aug 13 13:50:40 2012 [VMM][D]: Message received: DEPLOY FAILURE 214
Could not create domain from /var/lib/one//datastores/0/214/deployment.0*

Did I missed something here?

Thank you.

Junix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120813/9b0b25de/attachment-0002.htm>


More information about the Users mailing list