router-update fails with 500 for dvr routers
Bug #1352786 reported by
Preethi Dsilva
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Armando Migliaccio |
Bug Description
1.create a dvr with name say dvr1
2.add router gateway
3.now perform router update neutron router-update dvr1 --name dvr2
Actual Results:
Request Failed: internal server error while processing your request" error is seen,trace related to L3RouterPlugin logs are seen
Expected Results:
router name should be updated
Changed in neutron: | |
assignee: | nobody → Santosh Kumar (santosh-kumar4) |
Changed in neutron: | |
importance: | Undecided → High |
Changed in neutron: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Hi Preeti ,
I have executed the same use case on my icehouse setup , however problem is not reproducible :
1. Created Netwrok :
root@osc:/home/sdn# neutron net-create --router: external= True n1 ------- ------- ------- +------ ------- ------- ------- ------- ----+ ------- ------- ------- +------ ------- ------- ------- ------- ----+ e744-4ff6- a3ea-1d88d9477f 02 | network_ type | vxlan | physical_ network | | segmentation_ id | 2663 | d8e0ee7ae3c1be4 91 | ------- ------- ------- +------ ------- ------- ------- ------- ----+
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | d2f3bc3b-
| name | n1 |
| provider:
| provider:
| provider:
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 13221882707a4c4
+------
2. Created Subnet :
root@osc:/home/sdn# neutron subnet-create n1 1.1.1.0/24 ------- -----+- ------- ------- ------- ------- ------- ------+ ------- -----+- ------- ------- ------- ------- ------- ------+ 411e-4fec- adc0-45dbd1a2f3 65 | e744-4ff6- a3ea-1d88d9477f 02 | d8e0ee7ae3c1be4 91 | ------- -----+- ------- ------- ------- ------- ------- ------+
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "1.1.1.2", "end": "1.1.1.254"} |
| cidr | 1.1.1.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 1.1.1.1 |
| host_routes | |
| id | e09e957e-
| ip_version | 4 |
| name | |
| network_id | d2f3bc3b-
| tenant_id | 13221882707a4c4
+------
3. Set Router Gateway :
root@osc:/home/sdn# neutron router-gateway-set r1 n1
Set gateway for router r1
4. Updated router name
root@osc:/home/sdn# neutron router-update --name=r2 r1
Updated router: r1
( It works fine )
root@osc:/home/sdn# neutron router-list ------- ------- ------- ------- ----+-- ------- --+---- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ gateway_ info | ------- ------- ------- ------- ----+-- ------- --+---- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---+ b154-4973- 8f1d-513075594f 18 | hyt-r-000 | null | e93a-4174- b785-0773469c9b 0e | r2 | {"network_id": "d2f3bc3b- e744-4ff6- a3ea-1d8. ..
+------
| id | name | external_
+------
| 4c3209c5-
| 7bb46b0c-