[Openstack-operators] [neutron] router Found my bug Can't add gateway

Christopher Hull chrishull42 at gmail.com
Sat Mar 26 11:44:20 UTC 2016


Hi Keven;

"Bug fixed a long time ago.   How do you have old Nuetron version?"

I was wondering that myself.   See the install guide....
http://docs.openstack.org/liberty/install-guide-rdo/environment-packages.html

Indeed my Neutron (and likely other parts of my install) seem quite old.
How can this be?

The fix is in neutron 7.0.2.
[root at maersk qr]# neutron --version
3.1.0   ???   wow!

For good measure I did a
yum update -y

---------------------------------------------------------------------------------------------------------------
>From the Installation Guide
yum remove epel-release

====
On centos  enable Openstack Repos
====

yum install centos-release-openstack-liberty -y
yum upgrade -y
yum install python-openstackclient -y
yum install openstack-selinux -y


---------------------------------------------------------------------------------------------------------------
My repolist....

[root at maersk qr]# yum -v repolist
Loading "fastestmirror" plugin
Loading "langpacks" plugin
Adding en_US to language list
Config time: 0.005
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
 * base: centos.sonn.com
 * extras: centos.sonn.com
 * updates: centos.sonn.com
Setting up Package Sacks
pkgsack time: 0.002
Repo-id      : base/7/x86_64
Repo-name    : CentOS-7 - Base
Repo-revision: 1449700451
Repo-updated : Wed Dec  9 17:35:45 2015
Repo-pkgs    : 9,007
Repo-size    : 6.5 G
Repo-mirrors :
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
Repo-baseurl : http://centos.sonn.com/7/os/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Sat Mar 26 00:29:22 2016)
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Repo-id      : centos-openstack-liberty/x86_64
Repo-name    : CentOS-7 - OpenStack liberty
Repo-revision: 1454702604
Repo-updated : Fri Feb  5 15:03:35 2016
Repo-pkgs    : 976
Repo-size    : 485 M
Repo-baseurl :
http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/
Repo-expire  : 21,600 second(s) (last: Sat Mar 26 00:29:23 2016)
Repo-filename: /etc/yum.repos.d/CentOS-OpenStack-liberty.repo

Repo-id      : extras/7/x86_64
Repo-name    : CentOS-7 - Extras
Repo-revision: 1458849247
Repo-updated : Thu Mar 24 15:54:21 2016
Repo-pkgs    : 228
Repo-size    : 599 M
Repo-mirrors :
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock
Repo-baseurl : http://centos.sonn.com/7/extras/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Sat Mar 26 00:29:23 2016)
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Repo-id      : updates/7/x86_64
Repo-name    : CentOS-7 - Updates
Repo-revision: 1458878881
Repo-updated : Fri Mar 25 00:11:22 2016
Repo-pkgs    : 991
Repo-size    : 3.0 G
Repo-mirrors :
http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates&infra=stock
Repo-baseurl : http://centos.sonn.com/7/updates/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Sat Mar 26 00:29:23 2016)
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

repolist: 11,202

---------------------------------------------------------------------------------------------------------------
yum update neutron...

[root at maersk qr]# yum update openstack-neutron openstack-neutron-ml2 \
>   openstack-neutron-linuxbridge python-neutronclient ebtables ipset
Loaded plugins: fastestmirror, langpacks
base
| 3.6 kB  00:00:00
centos-openstack-liberty
| 2.9 kB  00:00:00
extras
| 3.4 kB  00:00:00
updates
| 3.4 kB  00:00:00
Loading mirror speeds from cached hostfile
 * base: mirrors.syringanetworks.net
 * extras: mirrors.syringanetworks.net
 * updates: mirrors.syringanetworks.net
No packages marked for update



- Christopher T. Hull
I am presently seeking a new career opportunity  Please see career page
http://chrishull.com/career
333 Orchard Ave, Sunnyvale CA. 94085
(415) 385 4865
chrishull42 at gmail.com
http://chrishull.com



On Fri, Mar 25, 2016 at 9:53 PM, Kevin Benton <kevin at benton.pub> wrote:

> You can see where the fix merged to master and the stable branches here:
> https://review.openstack.org/#/q/I0d3fc4262284172f5ad31e4f2f78ae1fb33b4228
>
> There have been releases of all of the stable branches since then.
> On Mar 25, 2016 21:52, "Kevin Benton" <kevin at benton.pub> wrote:
>
>> The fix for that has already been released for both liberty and mitaka
>> quite some time ago. What are you using to install that is getting old
>> releases?
>> On Mar 25, 2016 21:24, "Christopher Hull" <chrishull42 at gmail.com> wrote:
>>
>>>
>>> Just in case others are having this issue.   Indeed, there is an issue
>>> with Neutron Router / L3Agent.   Basically, it can't update the qrouter
>>> file and can't add the Northbound gateway.   I was in the middle of fixing
>>> the Python code when I found this....
>>>
>>> (so I'm not crazy.  :-)  )
>>> https://bugs.launchpad.net/neutron/+bug/1528977
>>>
>>> -----
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent   File
>>> "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 159,
>>> in execute
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent     raise
>>> RuntimeError(m)
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent RuntimeError:
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent Command:
>>> ['ip', 'netns', 'add', u'qrouter-6b171a53-cade-45f6-ad42-e612dc93e010']
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent Exit code: 1
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent Stdin:
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent Stdout:
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent Stderr: Cannot
>>> create namespace file
>>> "/var/run/netns/qrouter-6b171a53-cade-45f6-ad42-e612dc93e010": File exists
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent
>>> 2016-03-25 22:34:24.968 1734 ERROR neutron.agent.l3.agent
>>>
>>> This error repeats indefinitely.  Neutron keeps trying to update the
>>> router.
>>>
>>>
>>> - Christopher T. Hull
>>> I am presently seeking a new career opportunity  Please see career page
>>> http://chrishull.com/career
>>> 333 Orchard Ave, Sunnyvale CA. 94085
>>> (415) 385 4865
>>> chrishull42 at gmail.com
>>> http://chrishull.com
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenStack-operators mailing list
>>> OpenStack-operators at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20160326/6319887e/attachment.html>


More information about the OpenStack-operators mailing list