cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Li" <cloudcomp...@163.com>
Subject Re:Re: Use "OVSTunnelxxx" but not "cloudbr1" result exception
Date Fri, 25 Jul 2014 00:46:53 GMT
Hi Nguyen,
Should I create OVSTunnelxxx ahead like cloudbr0 and cloud0 ? But how to confirm the xxx in
OVSTunnelxxx, because it's a dynamic value between the vm creatation.


Regards




At 2014-07-24 06:08:55, "Nguyen Anh Tu" <tuna@apache.org> wrote:
>Hi Michael,
>
>The GRE feature on Cloudstack creates OVSTunnelxxx bridges with OpenvSwitch
>to serve tunnel between vms, not cloudbr. Please use ovs-vsctl utility to
>check if OVSTunnel460 is exist. Remember to blacklist module bridge.
>
>This might help:
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVSwitch
>
>Thanks,
>
>--Tuna
>
>
>On Thu, Jul 24, 2014 at 8:43 AM, Michael Li <cloudcompare@163.com> wrote:
>
>> In 4.4, Can somebody explain, why use "OVSTunnelxxx" for GRE tunnel
>> device, and not "cloudbr1" ?
>> When create VM,  this will result an exception:
>>
>> 2014-07-23 21:03:35,886 WARN  [kvm.resource.LibvirtComputingResource]
>> (agentRequest-Handler-5:null) LibvirtException
>> org.libvirt.LibvirtException: Cannot get interface MTU on 'OVSTunnel460':
>> no such device
>>         at org.libvirt.ErrorHandler.processError(Unknown Source)
>>         at org.libvirt.Connect.processError(Unknown Source)
>>         at org.libvirt.Connect.processError(Unknown Source)
>>         at org.libvirt.Connect.domainCreateXML(Unknown Source)
>>         at
>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.startVM(LibvirtComputingResource.java:1239)
>>         at
>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3798)
>>         at
>> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:133
>> 3)
>>         at com.cloud.agent.Agent.processRequest(Agent.java:501)
>>         at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
>>         at com.cloud.utils.nio.Task.run(Task.java:84)
>>         at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>>         at java.lang.Thread.run(Thread.java:722)
>>
>> I found code as below:
>> public InterfaceDef plug(NicTO nic, String guestOsType)
>> } else if (nic.getBroadcastType() == Networks.BroadcastDomainType.Vswitch)
>> {                String vnetId =
>> Networks.BroadcastDomainType.getValue(nic.getBroadcastUri());
>>                 String brName = "OVSTunnel" + vnetId;
>>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message