Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem with neutron bgp- commands solved adding a project_id to bgp_speakers table.

MariaDB [neutron]> ALTER TABLE bgp_speakers ADD project_id varchar(255) NOT NULL;

But, the problem is to start the agent (No enabled BgpDrAgent):

/usr/bin/neutron-bgp-dragent --config-file /etc/neutron/conf.d/neutron-bgp-dragent/bgp_dragent.ini

Logs:

2017-12-14 21:02:36.264 12209 DEBUG neutron_dynamic_routing.services.bgp.scheduler.bgp_dragent_scheduler [req-94a2082b-e9e1-4298-be12-2692c5eba372 - - - - -] Started auto-scheduling on host localhost.localdomain schedule_unscheduled_bgp_speakers /usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/scheduler/bgp_dragent_scheduler.py:149
2017-12-14 21:02:36.269 12209 DEBUG neutron_dynamic_routing.services.bgp.scheduler.bgp_dragent_scheduler [req-94a2082b-e9e1-4298-be12-2692c5eba372 - - - - -] No enabled BgpDrAgent on host localhost.localdomain schedule_unscheduled_bgp_speakers /usr/lib/python2.7/site-packages/neutron_dynamic_routing/services/bgp/scheduler/bgp_dragent_scheduler.py:157

Agent list:

[root@localhost ~ keystone_admin] neutron agent-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+--------------------+-----------------------+-------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host                  | availability_zone | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+-----------------------+-------------------+-------+----------------+---------------------------+
| 5767dbf8-4bab-4759-bc4c-7a0bfc320a75 | Open vSwitch agent | localhost.localdomain |                   | :-)   | True           | neutron-openvswitch-agent |
| 7fa11169-3a79-4e16-9476-1af112b56794 | Metadata agent     | localhost.localdomain |                   | :-)   | True           | neutron-metadata-agent    |
| 80a4e42a-9f70-452c-862e-67ad45f21fbf | DHCP agent         | localhost.localdomain | nova              | :-)   | True           | neutron-dhcp-agent        |
| bf61520c-493b-4232-be34-1f056a760ad4 | L3 agent           | localhost.localdomain | nova              | :-)   | True           | neutron-l3-agent          |
| ee9343d9-1383-4f05-8781-e2003254f322 | Metering agent     | localhost.localdomain |                   | :-)   | True           | neutron-metering-agent    |
+--------------------------------------+--------------------+-----------------------+-------------------+-------+----------------+---------------------------+