2014-12-04 15:19:37 |
Yair Fried |
bug |
|
|
added bug |
2014-12-04 15:19:55 |
Yair Fried |
bug |
|
|
added subscriber Assaf Muller |
2014-12-04 15:20:00 |
Yair Fried |
bug |
|
|
added subscriber Toni Freger |
2014-12-04 15:20:08 |
Yair Fried |
bug |
|
|
added subscriber ofer blaut |
2014-12-04 19:07:12 |
Darragh O'Reilly |
neutron: status |
New |
Confirmed |
|
2014-12-05 06:51:34 |
yalei wang |
neutron: assignee |
|
yalei wang (yalei-wang) |
|
2014-12-09 10:18:09 |
Eugene Nikanorov |
neutron: importance |
Undecided |
Medium |
|
2014-12-11 13:11:57 |
OpenStack Infra |
neutron: status |
Confirmed |
In Progress |
|
2015-02-12 12:00:04 |
Jian Wen |
bug |
|
|
added subscriber Jian Wen |
2015-02-12 12:03:54 |
Jian Wen |
tags |
|
icehouse-backport-potential |
|
2015-02-13 14:35:48 |
Kyle Mestery |
neutron: milestone |
|
kilo-3 |
|
2015-02-13 15:36:02 |
OpenStack Infra |
neutron: status |
In Progress |
Fix Committed |
|
2015-03-06 19:07:51 |
Ihar Hrachyshka |
neutron: status |
Fix Committed |
Confirmed |
|
2015-03-06 19:07:58 |
Ihar Hrachyshka |
neutron: assignee |
yalei wang (yalei-wang) |
Ihar Hrachyshka (ihar-hrachyshka) |
|
2015-03-07 13:47:45 |
Darragh O'Reilly |
bug |
|
|
added subscriber Darragh O'Reilly |
2015-03-09 17:12:22 |
OpenStack Infra |
neutron: status |
Confirmed |
In Progress |
|
2015-03-19 14:16:38 |
Kyle Mestery |
neutron: milestone |
kilo-3 |
kilo-rc1 |
|
2015-03-30 16:23:27 |
Ihar Hrachyshka |
neutron: milestone |
kilo-rc1 |
|
|
2015-04-17 18:37:10 |
John Julien |
bug |
|
|
added subscriber John Julien |
2015-05-07 09:02:14 |
gustavo panizzo |
bug |
|
|
added subscriber gustavo panizzo |
2015-05-20 15:30:30 |
Sam Stoelinga |
bug |
|
|
added subscriber Sam Stoelinga |
2015-05-21 07:37:25 |
Eugene Nikanorov |
neutron: assignee |
Ihar Hrachyshka (ihar-hrachyshka) |
Eugene Nikanorov (enikanorov) |
|
2015-06-05 02:40:19 |
Assaf Muller |
neutron: importance |
Medium |
High |
|
2015-06-05 02:40:52 |
Assaf Muller |
neutron: assignee |
Eugene Nikanorov (enikanorov) |
Ihar Hrachyshka (ihar-hrachyshka) |
|
2015-08-04 05:06:54 |
Sudhakar Gariganti |
bug |
|
|
added subscriber Sudhakar Gariganti |
2015-08-07 06:41:26 |
Tomoko Inoue |
bug |
|
|
added subscriber Tomoko Inoue |
2015-08-13 07:44:13 |
Zhenzan Zhou |
bug |
|
|
added subscriber Zhenzan Zhou |
2015-08-19 12:15:02 |
James Troup |
bug |
|
|
added subscriber The Canonical Sysadmins |
2015-08-24 02:48:58 |
Koji Iida |
bug |
|
|
added subscriber Koji Iida |
2015-08-25 16:05:11 |
Nir Magnezi |
neutron: assignee |
Ihar Hrachyshka (ihar-hrachyshka) |
Nir Magnezi (nmagnezi) |
|
2015-09-14 12:48:21 |
Artur Korzeniewski |
bug |
|
|
added subscriber Artur Korzeniewski |
2015-09-17 09:13:25 |
OpenStack Infra |
neutron: assignee |
Nir Magnezi (nmagnezi) |
Ihar Hrachyshka (ihar-hrachyshka) |
|
2015-09-17 11:16:14 |
OpenStack Infra |
neutron: assignee |
Ihar Hrachyshka (ihar-hrachyshka) |
Nir Magnezi (nmagnezi) |
|
2015-09-17 13:37:00 |
Assaf Muller |
neutron: milestone |
|
liberty-rc1 |
|
2015-09-21 16:10:27 |
Ihar Hrachyshka |
neutron: milestone |
liberty-rc1 |
mitaka-1 |
|
2015-11-23 22:42:02 |
Cedric Brandily |
tags |
icehouse-backport-potential |
|
|
2015-12-03 19:17:06 |
Armando Migliaccio |
neutron: milestone |
mitaka-1 |
mitaka-2 |
|
2016-01-04 21:36:24 |
James Denton |
bug |
|
|
added subscriber James Denton |
2016-01-18 23:41:13 |
Cedric Brandily |
neutron: assignee |
Nir Magnezi (nmagnezi) |
Cedric Brandily (cbrandily) |
|
2016-01-18 23:41:24 |
Cedric Brandily |
neutron: milestone |
mitaka-2 |
|
|
2016-01-31 02:47:19 |
Assaf Muller |
description |
Ports created when neutron-openvswitch-agent is down are in status down and "binding:vif_type=binding_failed" which is as it should be. When the agent is rebooted it should be able to recreate the ports according to the DB, but instead it logs a WARNING and creates the port with status DOWN. only solution is to delete the port and create it again
From agent log:
2014-12-04 16:53:00.559 16319 WARNING neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-2dcc9141-7439-450a-bb2a-fe31ab577f47 None] Device 3dc73917-93b1-4f6d-a2e1-90c74cea6de7 not defined on plugin
Recreation steps:
shut down ovs-agent and wait for neutron to notice:
[root@RHEL7Server ~]# systemctl stop neutron-openvswitch-agent.service
[root@RHEL7Server ~(keystone_admin)]# neutron agent-list | grep open
| 2d97bbd1-b937-4b19-8205-4167bbcb659d | Open vSwitch agent | node_29 | xxx | True | neutron-openvswitch-agent |
create router and attach it to network
[root@RHEL7Server ~(keystone_admin)]# neutron router-create myrouter --ha False
Created a new router:
+-----------------------+--------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------+
| admin_state_up | True |
| distributed | False |
| external_gateway_info | |
| ha | False |
| id | 8210f453-2a17-400e-ae32-74aa1503d0a5 |
| name | myrouter |
| routes | |
| status | ACTIVE |
| tenant_id | 183611eb84204b839e43d97c081973c0 |
+-----------------------+--------------------------------------+
[root@RHEL7Server ~(keystone_admin)]# neutron router-interface-add myrouter private
Added interface 3dc73917-93b1-4f6d-a2e1-90c74cea6de7 to router myrouter.
[root@RHEL7Server ~(keystone_admin)]# neutron l3-agent-list-hosting-router myrouter
+--------------------------------------+---------+----------------+-------+
| id | host | admin_state_up | alive |
+--------------------------------------+---------+----------------+-------+
| 0110d49c-59dd-496c-a2a3-549a2ad4ba4d | node_29 | True | :-) |
+--------------------------------------+---------+----------------+-------+
Port will show status DOWN, and "binding_failed"
[root@RHEL7Server ~(keystone_admin)]# neutron port-show 3dc73917-93b1-4f6d-a2e1-90c74cea6de7
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | node_29 |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | binding_failed |
| binding:vnic_type | normal |
| device_id | 8210f453-2a17-400e-ae32-74aa1503d0a5 |
| device_owner | network:router_interface |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "d8881a14-bd8b-4595-b497-8da6587a46c1", "ip_address": "10.0.0.1"} |
| id | 3dc73917-93b1-4f6d-a2e1-90c74cea6de7 |
| mac_address | fa:16:3e:db:0f:9b |
| name | |
| network_id | 6091abc0-4fdf-402d-aaf0-3a955fabd6b7 |
| security_groups | |
| status | DOWN |
| tenant_id | 183611eb84204b839e43d97c081973c0 |
+-----------------------+---------------------------------------------------------------------------------+
start ovs-agent
systemctl start neutron-openvswitch-agent.service
[root@RHEL7Server ~(keystone_admin)]# neutron agent-list | grep open
| 2d97bbd1-b937-4b19-8205-4167bbcb659d | Open vSwitch agent | node_29 | :-) | True | neutron-openvswitch-agent |
Port will be forever down and even when restarting the agent won't bring it up
From agent log:
2014-12-04 16:53:00.559 16319 WARNING neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-2dcc9141-7439-450a-bb2a-fe31ab577f47 None] Device 3dc73917-93b1-4f6d-a2e1-90c74cea6de7 not defined on plugin |
Ports created when neutron-openvswitch-agent is down are in status down and "binding:vif_type=binding_failed" which is as it should be. When the agent is rebooted it should be able to recreate the ports according to the DB, but instead it logs a WARNING and creates the port with status DOWN. only solution is to delete the port and create it again
From agent log:
2014-12-04 16:53:00.559 16319 WARNING neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-2dcc9141-7439-450a-bb2a-fe31ab577f47 None] Device 3dc73917-93b1-4f6d-a2e1-90c74cea6de7 not defined on plugin
Recreation steps:
shut down ovs-agent and wait for neutron to notice:
[root@RHEL7Server ~]# systemctl stop neutron-openvswitch-agent.service
[root@RHEL7Server ~(keystone_admin)]# neutron agent-list | grep open
| 2d97bbd1-b937-4b19-8205-4167bbcb659d | Open vSwitch agent | node_29 | xxx | True | neutron-openvswitch-agent |
create router and attach it to network
[root@RHEL7Server ~(keystone_admin)]# neutron router-create myrouter --ha False
Created a new router:
+-----------------------+--------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------+
| admin_state_up | True |
| distributed | False |
| external_gateway_info | |
| ha | False |
| id | 8210f453-2a17-400e-ae32-74aa1503d0a5 |
| name | myrouter |
| routes | |
| status | ACTIVE |
| tenant_id | 183611eb84204b839e43d97c081973c0 |
+-----------------------+--------------------------------------+
[root@RHEL7Server ~(keystone_admin)]# neutron router-interface-add myrouter private
Added interface 3dc73917-93b1-4f6d-a2e1-90c74cea6de7 to router myrouter.
[root@RHEL7Server ~(keystone_admin)]# neutron l3-agent-list-hosting-router myrouter
+--------------------------------------+---------+----------------+-------+
| id | host | admin_state_up | alive |
+--------------------------------------+---------+----------------+-------+
| 0110d49c-59dd-496c-a2a3-549a2ad4ba4d | node_29 | True | :-) |
+--------------------------------------+---------+----------------+-------+
Port will show status DOWN, and "binding_failed"
[root@RHEL7Server ~(keystone_admin)]# neutron port-show 3dc73917-93b1-4f6d-a2e1-90c74cea6de7
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | node_29 |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | binding_failed |
| binding:vnic_type | normal |
| device_id | 8210f453-2a17-400e-ae32-74aa1503d0a5 |
| device_owner | network:router_interface |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "d8881a14-bd8b-4595-b497-8da6587a46c1", "ip_address": "10.0.0.1"} |
| id | 3dc73917-93b1-4f6d-a2e1-90c74cea6de7 |
| mac_address | fa:16:3e:db:0f:9b |
| name | |
| network_id | 6091abc0-4fdf-402d-aaf0-3a955fabd6b7 |
| security_groups | |
| status | DOWN |
| tenant_id | 183611eb84204b839e43d97c081973c0 |
+-----------------------+---------------------------------------------------------------------------------+
start ovs-agent
systemctl start neutron-openvswitch-agent.service
[root@RHEL7Server ~(keystone_admin)]# neutron agent-list | grep open
| 2d97bbd1-b937-4b19-8205-4167bbcb659d | Open vSwitch agent | node_29 | :-) | True | neutron-openvswitch-agent |
Port will be forever down and even when restarting the agent won't bring it up
From agent log:
2014-12-04 16:53:00.559 16319 WARNING neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-2dcc9141-7439-450a-bb2a-fe31ab577f47 None] Device 3dc73917-93b1-4f6d-a2e1-90c74cea6de7 not defined on plugin
Workarounds:
1) Recreate the resource (VM, DHCP or router port)
2) Update DB and restart OVS agent as detailed in https://bugs.launchpad.net/neutron/+bug/1399249/comments/10. |
|
2016-02-04 14:16:00 |
OpenStack Infra |
neutron: assignee |
Cedric Brandily (cbrandily) |
Nir Magnezi (nmagnezi) |
|
2016-02-11 12:04:55 |
Ihar Hrachyshka |
neutron: milestone |
|
mitaka-3 |
|
2016-02-15 11:06:22 |
OpenStack Infra |
neutron: assignee |
Nir Magnezi (nmagnezi) |
Ihar Hrachyshka (ihar-hrachyshka) |
|
2016-02-15 12:26:30 |
OpenStack Infra |
neutron: assignee |
Ihar Hrachyshka (ihar-hrachyshka) |
Nir Magnezi (nmagnezi) |
|
2016-02-15 17:14:03 |
OpenStack Infra |
neutron: status |
In Progress |
Fix Released |
|
2016-03-08 16:53:54 |
OpenStack Infra |
tags |
|
in-stable-liberty |
|