creating ipv6 subnet with invalid gateway results in HttpException: 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Vlad Gridin |
Bug Description
[description]
Attempt to create an ipv6 subnet with a gateway address including prefix
results in 500 error returned by API.
Neutron-lib convert_
https:/
[reproduceable]
always
[environment]
devstack all-in-one
[reproduction steps]
1. create a network
~/devstack$ openstack network create net1
+------
| Field | Value |
+------
| admin_state_up | UP |
| availability_
| availability_zones | |
| created_at | 2018-12-
| description | |
| dns_domain | None |
| id | 47660b84-
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | False |
| is_vlan_transparent | None |
| location | None |
| mtu | 1450 |
| name | net1 |
| port_security_
| project_id | d6023de2edcd486
| provider:
| provider:
| provider:
| qos_policy_id | None |
| revision_number | 1 |
| router:external | Internal |
| segments | None |
| shared | False |
| status | ACTIVE |
| subnets | |
| tags | |
| updated_at | 2018-12-
+------
2. create a subnet
~/devstack$ openstack subnet create --network net1 --ip-version 6 --subnet-range 2001:db8:0:1::/64 --gateway 2001:db8:
HttpException: 500: Server Error for url: https:/
[expected result]
BadRequest Exception
[perceived severity]
low
Changed in neutron: | |
assignee: | nobody → Vlad Gridin (vladyslav-gridin) |
status: | New → In Progress |
Changed in neutron: | |
status: | Confirmed → In Progress |
possible fix: /review. openstack. org/#/c/ 623498/
https:/