What do you want to achieve?
In openstack environment, the OVS is already managed by ryu-manager with 
openstack Ryu app. So you don't have to run another ryu-manager.
It doesn't make sense.

thanks,

On Wed, Jun 12, 2013 at 11:36:59AM +0900, imeat u wrote:
> Hi,
> 
> I need help in openstack(Grizzly) with ryu controller.
> 
> Default simple_switch.py does not operate correctly.
> The following is a situation.
> 
> Node : Controller (Ryu,Quantum-server)
> Node : Network 
> (dhcp_agent,l3-agent,metadata-agent,openvswitch-agent,ryu-agent)
> Node : Compute (nova-compute,openvswitch-agent,ryu-agent)
> 
> 
> o Controller Node
> 
> # quantum agent-list
> 404 Not Found
> 
> The resource could not be found.
> 
> 
> # nova list
> +--------------------------------------+-------+--------+-------------------------------------------+
> | ID                                   | Name  | Status | Networks            
>                      |
> +--------------------------------------+-------+--------+-------------------------------------------+
> | 10ea60b2-c540-47ec-945c-e6ec8ece2891 | srv01 | ACTIVE | front-seg=10.0.0.3  
>                      |
> | 64c3b1e8-597d-4d9a-ab6b-8b03f6d621ff | srv02 | ACTIVE | front-seg=10.0.0.4  
>                      |
> +--------------------------------------+-------+--------+-------------------------------------------+
> 
> 
> # netstat -na | grep :6633
> tcp        0      0 192.168.0.2:6633      0.0.0.0:*               LISTEN
> tcp        0      0 192.168.0.2:6633      192.168.0.4:44906     ESTABLISHED
> tcp        0      0 192.168.0.2:6633      192.168.0.3:45690     ESTABLISHED
> 
> !!! 192.168.0.3=Network Node, 192.168.0.4=Compute Node
> 
> 
> # ryu-manager ryu/app/simple_switch.py
> 
> (6464) wsgi starting up on http://192.168.0.2:8080/
> dpid=0000de7633007043 : Join as firewall switch.
> dpid=0000425b54a3b84e : Join as firewall switch.
> packet in 244599243173955 fa:16:3e:20:33:ae ff:ff:ff:ff:ff:ff 1
> packet in 244599243173955 fa:16:3e:20:33:ae ff:ff:ff:ff:ff:ff 1
> packet in 244599243173955 fa:16:3e:79:32:22 ff:ff:ff:ff:ff:ff 4
> 
> 
> !!! verbose mode
> # ryu-manager --verbose ryu/app/simple_switch.py
> 
> packet in 244599243173955 fa:16:3e:20:33:ae ff:ff:ff:ff:ff:ff 1
> EVENT PortSet->GRETunnel EventOFPPacketIn
> packet in ev <ryu.controller.ofp_event.EventOFPPacketIn object at 0x26b2b90>
> msg version: 0x1 msg_type 0xa xid 0x0 
> OFPPacketIn(buffer_id=256,data='\xff\xff\
> xff\xff\xff\xff\xfa\x16> 3\xae\x08\x00E\x10\x01H\x00\x00\x00\x00\x80\x119\x96\
> x00\x00\x00\x00\xff\xff\xff\xff\x00D\x00C\x014\xf17\x01\x01\x06\x00\x8c\xf7\
> xebl\x00\xf9\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
> x00\x00\xfa\x16> 
> 3\xae\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
> x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
> \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
> x00',in_port=1,reason=0,total_len=342)
> error msg ev version: 0x1 msg_type 0x1 xid 0xd71c6c2d 
> OFPErrorMsg(code=7,data='
> \x01\r\x00\x10\xd7\x1cl-\x00\x00\x01\x00\x00\x01\x00\x00',type=1) type 0x1 
> code
> 0x7 0x1 0xd 0x0 0x10 0xd7 0x1c 0x6c 0x2d 0x0 0x0 0x1 0x0 0x0 0x1 0x0 0x0
> 
> *********************************************
> ARP Request failed(OFPErrorMsg type=1,code=7)
> *********************************************
> 
> 
> 
> o Network Node
> 
> # ovs-vsctl show
> 9128a0a9-837c-4f4d-aacd-f57a358cdf62
>     Manager "ptcp:6634"
>     Bridge br-ex
>         Port br-ex
>             Interface br-ex
>                 type: internal
>         Port "qg-4bb5fb6e-71"
>             Interface "qg-4bb5fb6e-71"
>                 type: internal
>         Port "eth3"
>             Interface "eth3"
>     Bridge br-tun
>         Port br-tun
>             Interface br-tun
>                 type: internal
>         Port patch-int
>             Interface patch-int
>                 type: patch
>                 options: {peer=patch-tun}
>     Bridge br-int
>         Controller "tcp:192.168.0.2:6633"
>             is_connected: true
>         Port "tap6c558c43-85"
>             Interface "tap6c558c43-85"
>                 type: internal
>         Port "qr-07587b81-5f"
>             tag: 4095
>             Interface "qr-07587b81-5f"
>                 type: internal
>         Port "tap34e3074c-7f"
>             Interface "tap34e3074c-7f"
>                 type: internal
>         Port "qr-fb424baa-0c"
>             tag: 4095
>             Interface "qr-fb424baa-0c"
>                 type: internal
>         Port br-int
>             Interface br-int
>                 type: internal
>         Port patch-tun
>             Interface patch-tun
>                 type: patch
>                 options: {peer=patch-int}
>     ovs_version: "1.9.0"
> 
> 
> # ip netns
> qdhcp-0e82b9a0-076f-4c56-b355-cb507a3f0916
> qdhcp-d7b85689-cc2e-4420-bc54-1927ee3a3be2
> 
> 
> 
> o Compute Node
> 
> # ovs-vsctl show
> 1ffba565-d338-490b-a63e-be5bf0d1a2ba
>     Manager "ptcp:6634"
>     Bridge br-int
>         Controller "tcp:192.168.0.2:6633"
>             is_connected: true
>         Port br-int
>             Interface br-int
>                 type: internal
>         Port "qvoae25f741-46"
>             Interface "qvoae25f741-46"
>         Port "qvo2ef7c831-8b"
>             Interface "qvo2ef7c831-8b"
>         Port patch-tun
>             Interface patch-tun
>                 type: patch
>                 options: {peer=patch-int}
>         Port "qvoeee3d4ce-93"
>             Interface "qvoeee3d4ce-93"
>         Port "qvo11dca54a-5c"
>             Interface "qvo11dca54a-5c"
>     Bridge br-tun
>         Port br-tun
>             Interface br-tun
>                 type: internal
>         Port patch-int
>             Interface patch-int
>                 type: patch
>                 options: {peer=patch-tun}
>     ovs_version: "1.9.0"
> 
> 
> # virsh list
>  Id    Name                           State
> ----------------------------------------------------
>  11    instance-00000016              running
>  12    instance-00000017              running
>  13    instance-00000018              running
> 
> 

> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel


-- 
yamahata

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to