DVR: FloatingIP create throws an error if the L3 agent is not running in the given host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Unassigned |
Bug Description
FloatingIP create throws an error if the L3 agent is not running on the given host for DVR Routers.
This can be reproduced by
1. Configure the global router settings to be 'Legacy' CVR routers.
2. Then configure a DVR Router by manually setting '--distributed = True' from CLI.
3. Create a network
4. Create a Subnet
5. Attach the subnet to the DVR router
6. Configure the Gateway for the Router.
7. Then create a VM on the created Subnet
8. Now create a FloatingIP and associate it with the VM port.
9. You would see an 'Internal Server Error' while creating the FloatingIP.
~/devstack$ neutron floatingip-
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Request Failed: internal server error while processing your request.
The reason is before creating the 'FloatingIP Agent Gateway Port' it checks for the Agent type by the given host, and it raises an Exception since the Agent is not running on the Compute Host.
This is basically a Test Error, but still we should handle the error condition and not throw an Internal Server Error.
Changed in neutron: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
importance: | Critical → High |
importance: | High → Low |
Fix proposed to branch: master /review. openstack. org/574917
Review: https:/