Updating a network can result in an internal server error
Bug #1541560 reported by
James Anziano
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Miguel Lavalle |
Bug Description
When updating a network with an attribute not technically in the network database table, but still a valid attribute (i.e. dns_domain, which is used by network but stored in a separate table), neutron attempts to update the network table with that field and throws an exception.
To reproduce:
neutron net-update my_network --dns_domain=
which results in:
Request Failed: internal server error while processing your request.
Openstack version: DevStack all-in-one built from master
Ubuntu 14.04, kernel 3.13.0-24-generic
Perceived severity: medium
Logs of the traceback from q-svc:
http://
Changed in neutron: | |
assignee: | nobody → James Anziano (janzian) |
description: | updated |
Changed in neutron: | |
milestone: | none → mitaka-rc1 |
Changed in neutron: | |
assignee: | James Anziano (janzian) → Miguel Lavalle (minsel) |
To post a comment you must log in.
I just tried the same thing, and I got different results. The following is on a freshly-created devstack built from master:
devstack@bug-1541560:~/stack$ openstack network create --project 051860cf5dd240f 4b491dae0c66437 ff test-net ------- ------- ------- +------ ------- ------- ------- ------- ----+ ------- ------- ------- +------ ------- ------- ------- ------- ----+ zone_hints | [] | ff31-4533- 9045-7a57ce5b88 14 | enabled | True | 4b491dae0c66437 ff | network_ type | vxlan | physical_ network | None | segmentation_ id | 1036 | ------- ------- ------- +------ ------- ------- ------- ------- ----+
+------
| Field | Value |
+------
| availability_
| id | 6ab1d5fc-
| mtu | 1450 |
| name | test-net |
| port_security_
| project_id | 051860cf5dd240f
| provider:
| provider:
| provider:
| router_type | Internal |
| shared | False |
| state | UP |
| status | ACTIVE |
| subnets | |
+------
devstack@bug-1541560:~/stack$ neutron net-update test-net --dns_domain= foo.com
Invalid input for dns_domain. Reason: 'foo.com' is not a FQDN.