[one-users] Adding ovs port: operation not supported

Túlio Gomes tulio.gomesbarbosa at gmail.com
Sun Dec 30 17:05:36 PST 2012


Hi there,

i'm trying to deploy a virtual machine using ttylinux image and open
vSwitch for test purpose.

My host was created as follow: im_mad=im_kvm; vm_mad=vmm_kvm;
vn_mad=ovswitch

ps.: i already configured ovswitch (bridge=br0; port=eth0)

But i got the following error during deploy:

Sun Dec 30 22:07:50 2012 [VMM][D]: Message received: LOG I 4 Command
execution fail: cat << EOT | /var/lib/one/var/tmp/one/vmm/kvm/deploy
/var/lib/one/var/datastores/0/4/deployment.0 ubuntu 4 ubuntu

Sun Dec 30 22:07:50 2012 [VMM][D]: Message received: LOG I 4 error: Failed
to create domain from /var/lib/one/var/datastores/0/4/deployment.0

Sun Dec 30 22:07:50 2012 [VMM][D]: Message received: LOG I 4 error: Unable
to add bridge br0 port vnet0: Operation not supported

Sun Dec 30 22:07:50 2012 [VMM][D]: Message received: LOG E 4 Could not
create domain from /var/lib/one/var/datastores/0/4/deployment.0

Sun Dec 30 22:07:50 2012 [VMM][D]: Message received: LOG I 4 ExitCode: 255

Sun Dec 30 22:07:50 2012 [VMM][D]: Message received: LOG I 4 Failed to
execute virtualization driver operation: deploy.

Sun Dec 30 22:07:50 2012 [VMM][D]: Message received: DEPLOY FAILURE 4 Could
not create domain from /var/lib/one/var/datastores/0/4/deployment.0

My vm template looks like that:

<TEMPLATE>
    <CPU>0.5</CPU>
    <MEMORY>128</MEMORY>
    <DISK>
        <IMAGE_ID>1</IMAGE_ID>
    </DISK>
    <NIC>
        <NETWORK_ID>3</NETWORK_ID>
    </NIC>
</TEMPLATE>

My simply network template:

<TEMPLATE>
    <NAME>My network</NAME>
    <BRIDGE>br0</BRIDGE>
    <TYPE>FIXED</TYPE>
    <LEASES>
        <IP>10.1.1.3</IP>
    </LEASES>
    <LEASES>
        <IP>10.1.1.4</IP>
    </LEASES>
    <LEASES>
        <IP>10.1.1.5</IP>
    </LEASES>
</TEMPLATE>

Does anyone can help me with this error?

I really need to deploy vm's using openvswitch to control my network.

-- 
Atenciosamente,
Túlio Gomes Barbosa
br.linkedin.com/in/tuliogomesbarbosa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121230/cadeabc8/attachment.htm>


More information about the Users mailing list