[Openstack-operators] Where can I get current Liberty code updates?... was Re:[neutron] router Found my bug Can't add gateway

Christopher Hull chrishull42 at gmail.com
Sat Mar 26 17:06:30 UTC 2016


Wow, thanks Kris;

It's hard to believe that anyone running CentOS 7.2 has had any luck with
Neutron routers.   I found what seems to be the fix to my problem.   And
it's a simple 2 line Python change.  I've been coding for decades, and the
path of least risk as of now seems to be to just edit the code and hope
there are no cascading issues.  Had hoped to do it "right"  :-).. but after
3 weeks (not full time, I have a real coding job too) I'm tired of routers
not working.  I want to migrate my servers already!  :-)

Will hit the IRC channels you suggest.

Thanks all;
-Chris




- 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 Sat, Mar 26, 2016 at 9:41 AM, Kris G. Lindgren <klindgren at godaddy.com>
wrote:

> I believe some Redhat people that hang out in #openstack-rpm-packaging.
> But per: https://www.rdoproject.org/community/  Their main points of
> contact are:
>
> #rdo: Discussion around RDO in general
> #rdo-puppet: Discussion around deploying RDO with Packstack and it's
> puppet modules
> #openstack: Discussion around OpenStack with the broader OpenStack
> community
> #centos-devel: Discussion around the CentOS Cloud Special Interest Group
> (SIG)
>
> I pointed out in the openstack-rpm-packaging channel that they are pretty
> far behind on stable release.  Last stable for neutron is 7.0.1 when 7.0.3
> is out.  Nova is also behind on a stable that was released 22 days ago.  I
> would suggest that you talk to those guys on irc via their normal
> communication path to let them know that they don’t appear to be publishing
> stable releases.
>
> ___________________________________________________________________
> Kris Lindgren
> Senior Linux Systems Engineer
> GoDaddy
>
> From: Christopher Hull <chrishull42 at gmail.com>
> Date: Saturday, March 26, 2016 at 9:57 AM
> To: Kevin Benton <kevin at benton.pub>, Christopher Hull <
> chrishull42 at gmail.com>
> Cc: OpenStack Operators <openstack-operators at lists.openstack.org>
> Subject: [Openstack-operators] Where can I get current Liberty code
> updates?... was Re:[neutron] router Found my bug Can't add gateway
>
> I'm not getting current bug fixes and releases of Liberty via CentOS repo.
>
> So the short version is this....  Getting via yum install...
>
> Repo-id      : centos-openstack-liberty/x86_64
> Repo-name    : CentOS-7 - OpenStack liberty
> Repo-updated : Fri Feb  5 15:03:35 2016
> Repo-baseurl :
> http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/
>
> Clearly this repo isn't being updated.  My Neutron and others are several
> versions back, and I don't have a needed Neutron bug fix for CentOS.
> Yes, of course yum update -y... NADA.  :-)
>
> Where are you all getting your updates from??   I've been combing the net
> for a repo.   I'm running CentOS 7.2.
>
> Thanks;
> -Chris
>
>
>
> - 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 Sat, Mar 26, 2016 at 4:44 AM, Christopher Hull <chrishull42 at gmail.com>
> wrote:
>
>> 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/5c831788/attachment.html>


More information about the OpenStack-operators mailing list