quantum NetworkDuplicated error ,when boot a vm with two port id which belongs to the same network .
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Committed
|
Wishlist
|
rbenali |
Bug Description
in /var/log/
```
013-06-04 12:01:17.998 ERROR nova.api.openstack [req-ea58ab37-
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack Traceback (most recent call last):
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return req.get_
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack application, catch_exc_
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack app_iter = application(
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return resp(environ, start_response)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return self.app(env, start_response)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return resp(environ, start_response)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return resp(environ, start_response)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return resp(environ, start_response)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return resp(environ, start_response)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack content_type, body, accept)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack return method(req=request, **action_args)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack scheduler_
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack rv = f(*args, **kwargs)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack scheduler_
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack reservation_id, scheduler_hints)
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack QUOTAS.
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack self.gen.next()
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack self._check_
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack self.network_
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack File "/usr/lib/
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack raise exception.
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack NetworkDuplicated: Network 5332f0f7-
2013-06-04 12:01:17.998 2741 TRACE nova.api.openstack
2013-06-04 12:01:18.126 INFO nova.api.openstack [req-ea58ab37-
2013-06-04 12:01:18.129 INFO nova.osapi_
```
how to reproduce this error
we need two subnets which belongs to one network
in my environment,
network id is 5332f0f7-
subnet1 id is e8a9be74-
subnet2 id is dca45033-
1. create ports from subnet1 and subnet2
quantum port-create --fixed-ip subnet_
port id is : dca1f741-
quantum port-create --fixed-ip subnet_
port id is : 72acaba1-
2. boot with two port id
nova boot --flavor 1 --nic port-id=
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-ea58ab37-
it returns an error , and there is a NetworkDuplicated error in /var/log/
i refered this bug https:/
tags: | added: duplicate network quantum |
Changed in nova: | |
assignee: | nobody → Stephen Gordon (sgordon) |
status: | Opinion → In Progress |
Changed in nova: | |
assignee: | Stephen Gordon (sgordon) → rbenali (benali) |
nova api version "2013.1"
# dpkg -l | grep nova 1-0ubuntu2. 1~cloud0
nova-api 1:2013.