when device_id of a port is updated with the UUID of VN, the VN gets deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Sachin Bansal |
Bug Description
Build : 1.06 52
When a port is updated for device-id to have the UUID of the VN the port is part of, the VN gets deleted altogether!
root@nodec22:
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| contrail:fq_name | default-domain |
| | admin |
| | test1 |
| contrail:
| id | a631c0e6-
| name | test1 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 6f328a840c6541d
+------
root@nodec22:
root@nodec22:
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "30.1.1.2", "end": "30.1.1.254"} |
| cidr | 30.1.1.0/24 |
| contrail:
| contrail:
| | default-project |
| | default-
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 30.1.1.1 |
| host_routes | |
| id | 5b0c6d73-
| ip_version | 4 |
| name | |
| network_id | a631c0e6-
| tenant_id | 6f328a840c6541d
+------
root@nodec22:
root@nodec22:
Created a new port:
+------
| Field | Value |
+------
| admin_state_up | True |
| binding:
| binding:vif_type | vrouter |
| device_id | |
| device_owner | |
| fixed_ips | {"subnet_id": "5b0c6d73-
| id | da53646d-
| mac_address | 02:da:53:64:6d:22 |
| name | da53646d-
| network_id | a631c0e6-
| port_security_
| security_groups | bc19ca57-
| status | ACTIVE |
| tenant_id | 6f328a840c6541d
+------
root@nodec22:
Request Failed: internal server error while processing your request.
root@nodec22:
Network a631c0e6-
root@nodec22:
root@nodec22:
root@nodec22:
root@nodec22:
neutron server log:
2014-07-03 22:59:34.447 DEBUG [urllib3.
2014-07-03 22:59:34.457 ERROR [neutron.
result = method(
raise eNoIdError: Unknown id: Error: oper 2 url /virtual-
2014-07-03 22:59:40.837 DEBUG [keystoneclient
r-Name,
2014-07-03 22:59:41.248 DEBUG [keystoneclient
2014-07-03 22:59:41.250 DEBUG [routes.middleware] No route matched for GET /networks.json
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
status: | New → In Progress |
https:/ /github. com/Juniper/ contrail- controller/ commit/ 738141164b7944c 6fc5a10c785ec3b 9b841202e6