Interface attach cli rejected after 15 vnics attach, detach and attach again
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Jim Somerville |
Bug Description
Brief Description
-----------------
Interface attach cli rejected after attach 15 vnics, live migrate, detach 15 vnics, attach again at vnic13
Severity
--------
Major
Steps to Reproduce
------------------
- Boot a vm with only mgmt interface
- Attach an 15 vifs to vm with given net-id and vif_model:virtio
- Bring up the interface from vm
- ping between base_vm and vm_under_test over mgmt & tenant network
- Perform VM action - live migrate
- Verify ping between base_vm and vm_under_test over mgmt & tenant network after vm operation
- detach all the tenant interface
- Again attach an 15 vifs to vm with given net-id and vif_model:virtio
Expected Behavior
------------------
All 15 vifs should be attachable
Actual Behavior
----------------
After 13 vif attachment then the cli rejected.
E Details: CLI 'nova --os-username 'tenant2' --os-password 'Li69nux*' --os-project-name tenant2 --os-auth-url http://
Reproducibility
---------------
Reproducible (2 out of 2 times)
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
StarlingX master as of 2018-08-31_20-18-00
tags: | added: stx.networking |
description: | updated |
Changed in starlingx: | |
status: | Won't Fix → New |
tags: |
added: stx.2019.05 removed: stx.2019.03 |
tags: | added: stx.distro.openstack |
tags: |
added: stx.2.0 removed: stx.2019.05 |
I looked through the logs briefly. The failure is with the request from nova-compute to libvirt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt. libvirt. driver [req-a09e4e55- 6e89-47d7- a0d4-b45bc2ba69 c5 204c0a61b28f40b 3bcbd1805179a8a e5 bb5b3bb7440d4cb c8b279e1f895551 e2 - default default] [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] attaching network adapter failed.: libvirtError: internal error: No more available PCI slots libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] Traceback (most recent call last): libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] File "/usr/lib/ python2. 7/site- packages/ nova/virt/ libvirt/ driver. py", line 1642, in attach_interface libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] guest.attach_ device( cfg, persistent=True, live=live) libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] File "/usr/lib/ python2. 7/site- packages/ nova/virt/ libvirt/ guest.py" , line 322, in attach_device libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] self._domain. attachDeviceFla gs(device_ xml, flags=flags) libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] File "/usr/lib/ python2. 7/site- packages/ eventlet/ tpool.py" , line 186, in doit libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] result = proxy_call( self._autowrap, f, *args, **kwargs) libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] File "/usr/lib/ python2. 7/site- packages/ eventlet/ tpool.py" , line 144, in proxy_call libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] rv = execute(f, *args, **kwargs) libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] File "/usr/lib/ python2. 7/site- packages/ eventlet/ tpool.py" , line 125, in execute libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] six.reraise(c, e, tb) libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] File "/usr/lib/ python2. 7/site- packages/ eventlet/ tpool.py" , line 83, in tworker libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] rv = meth(*args, **kwargs) libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] File "/usr/lib64/ python2. 7/site- packages/ libvirt. py", line 587, in attachDeviceFlags libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] if ret == -1: raise libvirtError ('virDomainAtta chDeviceFlags( ) failed', dom=self) libvirt. driver [instance: 9ec7cfa8- 18f4-4baa- 9801-d980f25fb3 4a] lib...
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.
2018-09-02 01:01:36.627 57065 ERROR nova.virt.