Activity log for bug #1406705

Date Who What changed Old value New value Message
2014-12-31 05:45:48 Yoni Shafrir bug added bug
2014-12-31 05:46:03 Yoni Shafrir neutron: assignee Yoni (yshafrir)
2015-01-05 20:11:42 Eugene Nikanorov tags api l3-ipam-dhcp
2015-01-05 20:11:55 Eugene Nikanorov neutron: status New Confirmed
2015-01-05 20:11:58 Eugene Nikanorov neutron: importance Undecided Medium
2015-01-21 11:15:26 Yoni Shafrir summary Scheduling a router(HA/legacy) to an agent already scheduled for that router yields a success message Unscheduling a router(HA/legacy) from an agent not scheduled for that router causes an error.
2015-01-21 11:17:41 Yoni Shafrir description A legacy router was created and automatically scheduled to both agents. Given this state of the agent scheduling : [stack@vpn-6-98 devstack (master %=)]$ neutron l3-agent-list-hosting-router R5 +--------------------------------------+-------------------------+----------------+-------+ | id | host | admin_state_up | alive | +--------------------------------------+-------------------------+----------------+-------+ | fda97b55-813b-486e-8a74-e2c7aa830f52 | vpn-6-41.tlv.redhat.com | True | :-) | +--------------------------------------+-------------------------+----------------+-------+ When trying to re-schedule the router on the same agent the client notifies the user: neutron l3-agent-router-add fda97b55-813b-486e-8a74-e2c7aa830f52 R5 Added router R5 to L3 agent neutron l3-agent-router-add fda97b55-813b-486e-8a74-e2c7aa830f52 R5 Added router R5 to L3 agent There is no 'real' effect on the DB or anything but the client should indicate the operation failed since the agent is already scheduled. For reference removal of a router from the same agent does yield a REST error: [stack@vpn-6-98 devstack (master %=)]$ neutron l3-agent-router-remove fda97b55-813b-486e-8a74-e2c7aa830f52 R5 Removed router R5 from L3 agent [stack@vpn-6-98 devstack (master %=)]$ neutron l3-agent-router-remove fda97b55-813b-486e-8a74-e2c7aa830f52 R5 Conflict (HTTP 409) (Request-ID: req-9a96e8a2-70f8-4c24-b256-6dffb933282c) A legacy router was created and automatically scheduled to both agents. Given this state of the agent scheduling : [stack@vpn-6-98 devstack (master %=)]$ neutron l3-agent-list-hosting-router R5 +--------------------------------------+-------------------------+----------------+-------+ | id | host | admin_state_up | alive | +--------------------------------------+-------------------------+----------------+-------+ | fda97b55-813b-486e-8a74-e2c7aa830f52 | vpn-6-41.tlv.redhat.com | True | :-) | +--------------------------------------+-------------------------+----------------+-------+ When trying to remove a router from the same agent twice an error occurs: [stack@vpn-6-98 devstack (master %=)]$ neutron l3-agent-router-remove fda97b55-813b-486e-8a74-e2c7aa830f52 R5 Removed router R5 from L3 agent [stack@vpn-6-98 devstack (master %=)]$ neutron l3-agent-router-remove fda97b55-813b-486e-8a74-e2c7aa830f52 R5 Conflict (HTTP 409) (Request-ID: req-9a96e8a2-70f8-4c24-b256-6dffb933282c) For reference, when trying to re-schedule the router on the same agent the client notifies the user: neutron l3-agent-router-add fda97b55-813b-486e-8a74-e2c7aa830f52 R5 Added router R5 to L3 agent neutron l3-agent-router-add fda97b55-813b-486e-8a74-e2c7aa830f52 R5 Added router R5 to L3 agent There is no 'real' effect on the DB or anything but the client should indicate the operation failed since the agent is already scheduled. The second removal of the same agent shouldn't fail as we try to avoid unnecessary errors.
2015-01-21 11:21:34 OpenStack Infra neutron: status Confirmed In Progress
2015-03-03 23:12:41 OpenStack Infra neutron: status In Progress Fix Committed
2015-03-19 16:29:34 Thierry Carrez neutron: status Fix Committed Fix Released
2015-03-19 16:29:34 Thierry Carrez neutron: milestone kilo-3
2015-04-30 09:45:16 Thierry Carrez neutron: milestone kilo-3 2015.1.0