** Project changed: openstack-manuals => neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1626261

Title:
  BGP dynamic routing in Networking Guide

Status in neutron:
  New

Bug description:
  The file bgp_dragent.ini needs to end in .conf, not .ini. Ending the
  file in .ini produces this in the logs

  2016-09-21 19:57:24.755 16594 CRITICAL neutron [-] AttributeError: 'NoneType' 
object has no attribute 'rpartition'
  2016-09-21 19:57:24.755 16594 ERROR neutron Traceback (most recent call last):
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/bin/neutron-bgp-dragent", line 10, in <module>
  2016-09-21 19:57:24.755 16594 ERROR neutron     sys.exit(main())
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/neutron/cmd/eventlet/agents/bgp_dragent.py", 
line 20, in main
  2016-09-21 19:57:24.755 16594 ERROR neutron     bgp_dragent.main()
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/neutron/services/bgp/agent/entry.py", line 
45, in main
  2016-09-21 19:57:24.755 16594 ERROR neutron     
manager='neutron.services.bgp.agent.bgp_dragent.'
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/neutron/service.py", line 331, in create
  2016-09-21 19:57:24.755 16594 ERROR neutron     
periodic_fuzzy_delay=periodic_fuzzy_delay)
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/neutron/service.py", line 264, in __init__
  2016-09-21 19:57:24.755 16594 ERROR neutron     self.manager = 
manager_class(host=host, *args, **kwargs)
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/neutron/services/bgp/agent/bgp_dragent.py", 
line 659, in __init__
  2016-09-21 19:57:24.755 16594 ERROR neutron     self).__init__(host, conf)
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/neutron/services/bgp/agent/bgp_dragent.py", 
line 57, in __init__
  2016-09-21 19:57:24.755 16594 ERROR neutron     self.initialize_driver(conf)
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/neutron/services/bgp/agent/bgp_dragent.py", 
line 71, in initialize_driver
  2016-09-21 19:57:24.755 16594 ERROR neutron     self.conf))
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 44, in 
import_object
  2016-09-21 19:57:24.755 16594 ERROR neutron     return 
import_class(import_str)(*args, **kwargs)
  2016-09-21 19:57:24.755 16594 ERROR neutron   File 
"/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 29, in 
import_class
  2016-09-21 19:57:24.755 16594 ERROR neutron     mod_str, _sep, class_str = 
import_str.rpartition('.')
  2016-09-21 19:57:24.755 16594 ERROR neutron AttributeError: 'NoneType' object 
has no attribute 'rpartition'

  
  And the agent crashes

  Changing the extension on the file to .conf resolves this issue.

  -----------------------------------
  Release: 0.9 on 2016-09-19 03:19
  SHA: c9eb48480799aa9960b3e90062d56e1849ed6349
  Source: 
http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/networking-guide/source/config-bgp-dynamic-routing.rst
  URL: 
http://docs.openstack.org/mitaka/networking-guide/config-bgp-dynamic-routing.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1626261/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to