cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nguyen Anh Tu <ng.t...@gmail.com>
Subject Re: KVM and openvswitch
Date Thu, 24 Oct 2013 01:53:18 GMT
Okie. So you might be interesting with openvswitch 1.0.10. I deployed
success with that version. Instruction here:
http://n40lab.wordpress.com/2012/09/19/installing-openvswitch-in-centos-6-3/


2013/10/24 Bjoern Teipel <bjoern.teipel@internetbrands.com>

>
> Yup all done, did it multiple time now even with a clean host.
> As I said while I was looking into the code, the issue might just that my
> brif directory is empty at
> /sys/class/net/<bridge>/brif  I'm not sure if the open vswitch 1.0.9
> version has a bug...
>
>
> LibvirtComputingResource.java 1036:
>
>        (f is an file object from this directory above)
>
>
>         File[] interfaces = f.listFiles(); >>>  my array is basically
> empty.. <<<
>
>         for (int i = 0; i < interfaces.length; i++) {
>             String fname = interfaces[i].getName();
>             s_logger.debug("**matchPifFileInDirectory: file name
> '"+fname+"'");
>             if (fname.startsWith("eth") || fname.startsWith("bond")
>                 || fname.startsWith("vlan") || fname.startsWith("em")
>                 || fname.matches("^p\\d+p\\d+.*")**) {
>                 return fname;
>             }
>         }
>
>
> My  brif  directory is empty so I'm not sure if I have a configuration
> issue in openvswitch.
> Going to check this now.
>
> On 10/23/2013 10:36 AM, Francois Gaudreault wrote:
>
>> So brctl is likely to return a mess.
>>
>> How did you configure the agent? Did you put :
>> libvirt.vif.driver=com.cloud.**hypervisor.kvm.resource.**OvsVifDriver
>> and
>> network.bridge.type=**openvswitch
>>
>> in agent.properties?
>>
>> Francois
>>
>> On 10/23/2013, 1:24 PM, Bjoern Teipel wrote:
>>
>>> Yes I did.
>>>
>>> On 10/23/2013 09:27 AM, Francois Gaudreault wrote:
>>>
>>>> Did you blacklist the linux bridge module? You have to blacklist it.
>>>>
>>>> FG
>>>>
>>>> On 10/23/2013, 12:24 PM, Bjoern Teipel wrote:
>>>>
>>>>> Yes that's what I followed exactly.
>>>>>
>>>>> My OS is centos 6.4 and brctl
>>>>>
>>>>> bridge name    bridge id        STP enabled    interfaces
>>>>> cloud0        /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> /sys/class/net/cloud0/bridge: No such file or directory
>>>>> 0000.ba2d3a409d48    no
>>>>> cloudbr0        /sys/class/net/cloudbr0/**bridge: No such file or
>>>>> directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr0/**bridge: No such file or directory
>>>>> 0000.00219ba07885    no
>>>>> cloudbr1        /sys/class/net/cloudbr1/**bridge: No such file or
>>>>> directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> /sys/class/net/cloudbr1/**bridge: No such file or directory
>>>>> 0000.00219ba07885    no
>>>>>
>>>>> But the directories are there so it doesn't make a whole lot of sense
>>>>>
>>>>> /sys/class/net/cloud0/bridge
>>>>> [bteipel@hq-kvmhv-002 bridge]$ ll
>>>>> total 0
>>>>> -rw-r--r-- 1 root root 4096 Oct 23 00:32 ageing_time
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 bridge_id
>>>>> -rw-r--r-- 1 root root 4096 Oct 23 00:32 forward_delay
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 gc_timer
>>>>> -rw-r--r-- 1 root root 4096 Oct 23 09:23 group_addr
>>>>> -rw-r--r-- 1 root root 4096 Oct 23 00:32 hello_time
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 hello_timer
>>>>> -rw-r--r-- 1 root root 4096 Oct 23 00:32 max_age
>>>>> -rw-r--r-- 1 root root 4096 Oct 23 09:23 priority
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 root_id
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 root_path_cost
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 root_port
>>>>> -rw-r--r-- 1 root root 4096 Oct 23 00:32 stp_state
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 tcn_timer
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 topology_change
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 topology_change_detected
>>>>> -r--r--r-- 1 root root 4096 Oct 23 00:32 topology_change_timer
>>>>>
>>>>>
>>>>> On 10/22/2013 11:42 PM, Nguyen Anh Tu wrote:
>>>>>
>>>>>> 2013/10/23 Bjoern Teipel <bjoern.teipel@internetbrands.**com<bjoern.teipel@internetbrands.com>
>>>>>> >
>>>>>>
>>>>>>  Is somebody using cloustack >= 4.1 and openvswitch ?
>>>>>>>
>>>>>>>  Hi, take a look here:
>>>>>> https://cwiki.apache.org/**confluence/display/CLOUDSTACK/**
>>>>>> KVM+with+OpenVSwitch<https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVSwitch>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> --
>
> Bjoern Teipel
> System Operation Manager UNIX
> Internet Brands
> 909 N. Sepulveda Blvd., 11th Floor
> El Segundo, CA 90245
> P: (310) 280- 5287
>
> bjoern.teipel@internetbrands.**com <bjoern.teipel@internetbrands.com>
>
>


-- 

N.g.U.y.e.N.A.n.H.t.U

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message