[Openstack] [Juno] How to set the VxLAN UDP port number in Juno?

Danny Choi (dannchoi) dannchoi at cisco.com
Tue Aug 11 13:09:45 UTC 2015


Hi Erik,

No, there is no “agent” section pre-existing.  I have to add it.

Danny

From: Erik McCormick <emccormick at cirrusseven.com<mailto:emccormick at cirrusseven.com>>
Date: Tuesday, August 11, 2015 at 9:02 AM
To: Danny Choi <dannchoi at cisco.com<mailto:dannchoi at cisco.com>>
Cc: Adam Lawson <alawson at aqorn.com<mailto:alawson at aqorn.com>>, "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>, Kevin Benton <blak111 at gmail.com<mailto:blak111 at gmail.com>>, "openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>" <openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>>
Subject: Re: [Openstack] [Juno] How to set the VxLAN UDP port number in Juno?


On Aug 11, 2015 8:48 AM, "Danny Choi (dannchoi)" <dannchoi at cisco.com<mailto:dannchoi at cisco.com>> wrote:
>
> /etc/neutron/plugins/ml2/ml2_conf.ini does exist already.
>
> I added the following to it as Erik suggested and it did not work, port 8472 is still being used afterwards.
>
> [agent]
> vxlan_udp_port=4789
>
There should have been an agent section in there already. I included the header for reference. Can you make sure you put it in the existing section?

> I’m using Linux Bridge, not OVS.
>
I don't think the option should behave differently with linuxbridge, but I'm not sure. I'll have to take a look.

> From: Kevin Benton <blak111 at gmail.com<mailto:blak111 at gmail.com>>
> Date: Monday, August 10, 2015 at 4:20 PM
> To: Adam Lawson <alawson at aqorn.com<mailto:alawson at aqorn.com>>
> Cc: Danny Choi <dannchoi at cisco.com<mailto:dannchoi at cisco.com>>, "openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>" <openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>>, "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
>
> Subject: Re: [Openstack] [Juno] How to set the VxLAN UDP port number in Juno?
>
> +1. If the config file didn't exist, that means that wasn't the correct file to edit.
>
> Run "ps -ef | grep agent" to find which files the openvswitch agent is referencing for config and then make the changes to one of those. You distro may be using something like /etc/neutron/plugin.ini.
>
> On Sun, Aug 9, 2015 at 8:18 PM, Adam Lawson <alawson at aqorn.com<mailto:alawson at aqorn.com>> wrote:
>>
>> Got a strange mailman message when i sent that out, sending again just in case the parsing borked it.
>>
>>> You're saying you had to manually create the "/etc/neutron/plugins/ml2/ml2_conf.ini" file? Pretty sure it's created whenever Neutron is installed so I'd make sure Neutron installed correctly. Don't mean to presume so check the obvious first right? ; )
>>
>>
>> /adam
>>
>>
>> Adam Lawson
>>
>> AQORN, Inc.
>> 427 North Tatnall Street
>> Ste. 58461
>> Wilmington, Delaware 19801-2230
>> Toll-free: (844) 4-AQORN-NOW ext. 101
>> International: +1 302-387-4660
>> Direct: +1 916-246-2072
>>
>>
>> On Sun, Aug 9, 2015 at 8:15 PM, Adam Lawson <alawson at aqorn.com<mailto:alawson at aqorn.com>> wrote:
>>>
>>> You're saying you had to manually create the /etc/neutron/plugins/ml2/ml2_conf.ini file? Pretty sure it's created whenever Neutron is installed so I'd make sure Neutron installed correctly. Don't mean to presume so check the obvious first right? ; )
>>>
>>> /adam
>>>
>>>
>>> Adam Lawson
>>>
>>> AQORN, Inc.
>>> 427 North Tatnall Street
>>> Ste. 58461
>>> Wilmington, Delaware 19801-2230
>>> Toll-free: (844) 4-AQORN-NOW ext. 101
>>> International: +1 302-387-4660
>>> Direct: +1 916-246-2072
>>>
>>>
>>> On Sat, Aug 8, 2015 at 4:38 AM, Danny Choi (dannchoi) <dannchoi at cisco.com<mailto:dannchoi at cisco.com>> wrote:
>>>>
>>>> It shows port 8472 (otv) is still being used:
>>>>
>>>> [root at G10-QA4 ~]# netstat -a | grep udp
>>>>
>>>> udp        0      0 0.0.0.0:43320<http://0.0.0.0:43320>           0.0.0.0:*
>>>>
>>>> udp        0      0 0.0.0.0:58635<http://0.0.0.0:58635>           0.0.0.0:*
>>>>
>>>> udp        0      0 0.0.0.0:bootpc          0.0.0.0:*
>>>>
>>>> udp        0      0 0.0.0.0:ntp             0.0.0.0:*
>>>>
>>>> udp        0      0 localhost:323           0.0.0.0:*
>>>>
>>>> udp        0      0 0.0.0.0:sagxtsds        0.0.0.0:*
>>>>
>>>> udp        0      0 0.0.0.0:mdns            0.0.0.0:*
>>>>
>>>> udp        0      0 0.0.0.0:otv             0.0.0.0:*
>>>>
>>>> udp        0      0 0.0.0.0:memcache        0.0.0.0:*
>>>>
>>>> udp6       0      0 [::]:62175              [::]:*
>>>>
>>>> udp6       0      0 [::]:ntp                [::]:*
>>>>
>>>> udp6       0      0 localhost:323           [::]:*
>>>>
>>>> [root at G10-QA4 ~]# ss -u -a
>>>>
>>>> State      Recv-Q Send-Q                                                                   Local Address:Port                                                                       Peer Address:Port
>>>>
>>>> UNCONN     0      0                                                                                    *:43320                                                                                 *:*
>>>>
>>>> UNCONN     0      0                                                                                    *:58635                                                                                 *:*
>>>>
>>>> UNCONN     0      0                                                                                    *:bootpc                                                                                *:*
>>>>
>>>> UNCONN     0      0                                                                                    *:ntp                                                                                   *:*
>>>>
>>>> UNCONN     0      0                                                                            127.0.0.1:rpki-rtr                                                                               *:*
>>>>
>>>> UNCONN     0      0                                                                                    *:sagxtsds                                                                               *:*
>>>>
>>>> UNCONN     0      0                                                                                    *:mdns                                                                                  *:*
>>>>
>>>> UNCONN     0      0                                                                                    *:otv                                                                                   *:*
>>>>
>>>> UNCONN     0      0                                                                                    *:memcache                                                                               *:*
>>>>
>>>> UNCONN     0      0                                                                                   :::62175                                                                                :::*
>>>>
>>>> UNCONN     0      0                                                                                   :::ntp                                                                                  :::*
>>>>
>>>> UNCONN     0      0                                                                                  ::1:rpki-rtr                                                                              :::*
>>>>
>>>>
>>>>
>>>> From: Remo Mattei <Remo at Italy1.com<mailto:Remo at Italy1.com>>
>>>> Date: Friday, August 7, 2015 at 10:11 PM
>>>>
>>>> To: Danny Choi <dannchoi at cisco.com<mailto:dannchoi at cisco.com>>
>>>> Cc: Erik McCormick <emccormick at cirrusseven.com<mailto:emccormick at cirrusseven.com>>, "openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>" <openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>>, "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
>>>> Subject: Re: [Openstack] [Juno] How to set the VxLAN UDP port number in Juno?
>>>>
>>>> You need to call for udp adding a switch to the command. The ss alone will not query look at the man page maybe -a works
>>>>
>>>> Inviato da iPhone
>>>>
>>>> Il giorno 07/ago/2015, alle ore 18:14, Danny Choi (dannchoi) <dannchoi at cisco.com<mailto:dannchoi at cisco.com>> ha scritto:
>>>>
>>>>> Don’t see anything using ss and netstat:
>>>>>
>>>>> [root at G10-QA4 ~(keystone_admin)]# ss | grep 4789
>>>>>
>>>>> [root at G10-QA4 ~(keystone_admin)]# netstat | grep 4789
>>>>>
>>>>> [root at G10-QA4 ~(keystone_admin)]#
>>>>>
>>>>>
>>>>> From: Remo Mattei <Remo at Italy1.com<mailto:Remo at Italy1.com>>
>>>>> Date: Friday, August 7, 2015 at 5:16 PM
>>>>> To: Danny Choi <dannchoi at cisco.com<mailto:dannchoi at cisco.com>>
>>>>> Cc: Erik McCormick <emccormick at cirrusseven.com<mailto:emccormick at cirrusseven.com>>, "openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>" <openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>>, "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
>>>>> Subject: Re: [Openstack] [Juno] How to set the VxLAN UDP port number in Juno?
>>>>>
>>>>> Check using ss or netstat and see if the port is open.
>>>>>
>>>>> Remo
>>>>>
>>>>> Inviato da iPhone
>>>>>
>>>>> Il giorno 07/ago/2015, alle ore 13:44, Danny Choi (dannchoi) <dannchoi at cisco.com<mailto:dannchoi at cisco.com>> ha scritto:
>>>>>
>>>>>> Yes, I did restart the Neutron service.
>>>>>>
>>>>>> Danny
>>>>>>
>>>>>> From: Remo Mattei <Remo at Italy1.com<mailto:Remo at Italy1.com>>
>>>>>> Date: Friday, August 7, 2015 at 4:42 PM
>>>>>> To: Danny Choi <dannchoi at cisco.com<mailto:dannchoi at cisco.com>>
>>>>>> Cc: Erik McCormick <emccormick at cirrusseven.com<mailto:emccormick at cirrusseven.com>>, "openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>" <openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>>, "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
>>>>>> Subject: Re: [Openstack] [Juno] How to set the VxLAN UDP port number in Juno?
>>>>>>
>>>>>> Did you restart the services?
>>>>>>
>>>>>> Inviato da iPhone
>>>>>>
>>>>>> Il giorno 07/ago/2015, alle ore 13:16, Danny Choi (dannchoi) <dannchoi at cisco.com<mailto:dannchoi at cisco.com>> ha scritto:
>>>>>>
>>>>>>> Hi Erik,
>>>>>>>
>>>>>>> I added the following in ml2_config.ini file but it did not work; still using port 8472 afterwards.
>>>>>>>
>>>>>>> [agent]
>>>>>>> vxlan_udp_port=4789
>>>>>>>
>>>>>>> Regards,
>>>>>>> Danny
>>>>>>>
>>>>>>> From: Erik McCormick <emccormick at cirrusseven.com<mailto:emccormick at cirrusseven.com>>
>>>>>>> Date: Friday, August 7, 2015 at 9:57 AM
>>>>>>> To: Danny Choi <dannchoi at cisco.com<mailto:dannchoi at cisco.com>>
>>>>>>> Cc: "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>, "openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>" <openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>>, "Chow, Anthony T (Anthony)** CTR **" <anthony.chow at alcatel-lucent.com<mailto:anthony.chow at alcatel-lucent.com>>
>>>>>>> Subject: Re: [Openstack] [Juno] How to set the VxLAN UDP port number in Juno?
>>>>>>>
>>>>>>> Yes.
>>>>>>>
>>>>>>> On Aug 7, 2015 9:17 AM, "Danny Choi (dannchoi)" <dannchoi at cisco.com<mailto:dannchoi at cisco.com>> wrote:
>>>>>>>>
>>>>>>>> Hi Erik,
>>>>>>>>
>>>>>>>> Do you mean the ml2_config.ini file?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Danny
>>>>>>>>
>>>>>>>> On 8/6/15, 6:08 PM, "Erik McCormick" <emccormick at cirrusseven.com<mailto:emccormick at cirrusseven.com>> wrote:
>>>>>>>>
>>>>>>>> >in your ML2 config
>>>>>>>> >[agent]
>>>>>>>> >vxlan_udp_port=4789
>>>>>>>> >
>>>>>>>> >On Thu, Aug 6, 2015 at 5:46 PM, Chow, Anthony T (Anthony)** CTR **
>>>>>>>> ><anthony.chow at alcatel-lucent.com<mailto:anthony.chow at alcatel-lucent.com>> wrote:
>>>>>>>> >> Danny,
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> Are you using Open vSwitch for your VXLAN?
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> Anthony.
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> From: Danny Choi (dannchoi) [mailto:dannchoi at cisco.com<mailto:dannchoi at cisco.com>]
>>>>>>>> >> Sent: Thursday, August 06, 2015 5:56 AM
>>>>>>>> >> To: openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>;
>>>>>>>> >> openstack-operators-request at lists.openstack.org<mailto:openstack-operators-request at lists.openstack.org>
>>>>>>>> >> Subject: [Openstack] [Juno] How to set the VxLAN UDP port number in
>>>>>>>> >>Juno?
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> Hi,
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> Linux default VxLAN UDP port is 8472.
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> How to change it to IANA assigned port 4789 in Juno?
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> Thanks,
>>>>>>>> >>
>>>>>>>> >> Danny
>>>>>>>> >>
>>>>>>>> >>
>>>>>>>> >> _______________________________________________
>>>>>>>> >> Mailing list:
>>>>>>>> >>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>> >> Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
>>>>>>>> >> Unsubscribe :
>>>>>>>> >>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>> >>
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>> Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
>>>>>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> !DSPAM:1,55c51a10247869866410012!
>>>>>
>>>>> !DSPAM:1,55c5583e69231918657901!
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
>>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>
>>>
>>
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
>
> --
> Kevin Benton
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150811/3c5ec786/attachment.html>


More information about the Openstack mailing list