Contrail4.0- SRIOV port creation throws unknown exception
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Undecided
|
Unassigned | |||
R4.0 |
Fix Committed
|
Undecided
|
Unassigned | |||
Trunk |
Fix Committed
|
Undecided
|
Unassigned | |||
OpenContrail |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I have 2 node ( 1 controller + 1 Compute node) setup. I have 8 10G nic cards on compute node, I am trying to use one of the nic cards for SRIOV traffic.
But, I am seeing "Unknown Neutron Exception" while creating the port.
Here the detailed logs:
Controller node:
root@blr-mx86-01:~# contrail-version
Package Version Build-ID | Repo | Package Name
-------
contrail-heat 4.0.0.0-20 20
contrail-
contrail-openstack 4.0.0.0-20 20
contrail-
contrail-setup 4.0.0.0-20 20
contrail-utils 4.0.0.0-20 20
contrail-web-core 4.0.0.0-20 20
neutron-
nova-api 2:14.0.
nova-common 2:14.0.
nova-conductor 2:14.0.
nova-console 2:14.0.
nova-consoleauth 2:14.0.
nova-novncproxy 2:14.0.
nova-scheduler 2:14.0.
python-contrail 4.0.0.0-20 20
python-
python-nova 2:14.0.
root@blr-mx86-01:~#
root@blr-mx86-01:~# neutron net-show c93b846c-
+------
| Field | Value |
+------
| admin_state_up | True |
| description | |
| fq_name | default-domain |
| | admin |
| | vn1 |
| id | c93b846c-
| instance_count | 0 |
| name | vn1 |
| port_security_
| project_id | 07bc3b5fc94a45d
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnet_ipam | {"subnet_cidr": "10.1.1.0/24", "ipam_fq_name": ["default-domain", "default-project", "default-
| subnets | 82486f5a-
| tenant_id | 07bc3b5fc94a45d
+------
root@blr-mx86-01:~# neutron subnet-show 82486f5a-
+------
| Field | Value |
+------
| allocation_pools | {"start": "10.1.1.2", "end": "10.1.1.254"} |
| cidr | 10.1.1.0/24 |
| dns_nameservers | |
| dns_server_address | 10.1.1.2 |
| enable_dhcp | True |
| gateway_ip | 10.1.1.1 |
| host_routes | |
| id | 82486f5a-
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | |
| network_id | c93b846c-
| tenant_id | 07bc3b5fc94a45d
+------
root@blr-mx86-01:~#
root@blr-mx86-01:~# neutron --debug port-create --fixed-ip subnet_
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: stevedore.extension found extension EntryPoint.
DEBUG: neutronclient.
DEBUG: keystoneauth.
DEBUG: keystoneauth.
RESP BODY: {"version": {"status": "deprecated", "updated": "2016-08-
DEBUG: keystoneauth.
DEBUG: keystoneauth.
DEBUG: keystoneauth.
RESP BODY: {"networks": [{"id": "c93b846c-
DEBUG: neutronclient.
DEBUG: keystoneauth.
DEBUG: keystoneauth.
RESP BODY: {"subnets": [{"id": "82486f5a-
DEBUG: neutronclient.
DEBUG: keystoneauth.
DEBUG: keystoneauth.
RESP BODY: {"NeutronError": {"message": "An unknown exception occurred.", "type": "NeutronException", "detail": ""}}
DEBUG: neutronclient.
DEBUG: neutronclient.
ERROR: neutronclient.shell An unknown exception occurred.
Neutron server returns request_ids: ['req-da57b32b-
Traceback (most recent call last):
File "/usr/lib/
return run_command(cmd, cmd_parser, sub_argv)
File "/usr/lib/
return cmd.run(known_args)
File "/usr/lib/
return super(NeutronCo
File "/usr/lib/
column_names, data = self.take_
File "/usr/lib/
data = obj_creator(body)
File "/usr/lib/
return self.post(
File "/usr/lib/
headers=
File "/usr/lib/
self.
File "/usr/lib/
exception_
File "/usr/lib/
request_
InternalServerE
Neutron server returns request_ids: ['req-da57b32b-
root@blr-mx86-01:~#
attaching Contrail API logs from inside the controller container
On compute node
root@blr-mx86-02:~# contrail-version
Package Version Build-ID | Repo | Package Name
-------
contrail-lib 4.0.0.0-20 20
contrail-nodemgr 4.0.0.0-20 20
contrail-nova-vif 4.0.0.0-20 20
contrail-setup 4.0.0.0-20 20
contrail-utils 4.0.0.0-20 20
contrail-
contrail-
contrail-
contrail-
contrail-
contrail-
nova-common 2:14.0.
nova-compute 2:14.0.
nova-compute-kvm 2:14.0.
nova-compute-
python-contrail 4.0.0.0-20 20
python-
python-
python-nova 2:14.0.
python-
root@blr-mx86-02:~# ip link show enp129s0f0
6: enp129s0f0: <BROADCAST,
link/ether 90:e2:ba:c6:16:6c brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:00:00:00:00:00, spoof checking on, link-state auto
root@blr-mx86-02:~# ethtool -i enp129s0f0
driver: ixgbe
version: 4.2.1-k
firmware-version: 0x61bd0001
expansion-
bus-info: 0000:81:00.0
supports-
supports-test: yes
supports-
supports-
supports-
root@blr-mx86-02:~# grep enp129s0f0 /etc/nova/nova.conf
pci_passthrough
root@blr-mx86-02:~#
Review in progress for https:/ /review. opencontrail. org/34440
Submitter: Vedamurthy Joshi (<email address hidden>)