PCI IRQ affinity agent fails to list all instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Heitor Matsui |
Bug Description
Brief Description
-----------------
The agent is supposed to set PCI IRQ affinity settings for all instances with dedicated CPUs, but is unable to list instances from all projects.
Severity
--------
Major
Steps to Reproduce
------------------
- Boot an instance with dedicated CPUs and PCI passthrough in a project other than admin
- Observe the agent log not being updated every minute with audit information
Expected Behavior
------------------
Log should show audit information like ("Instance=%s use dedicated cpu policy!!!" % instance.uuid)
Actual Behavior
----------------
Not is not updated with audit information for the instance
Reproducibility
---------------
Reproducible
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
master
Last Pass
---------
None
Timestamp/Logs
--------------
Instances are booted on OpenStack with project different from admin:
[sysadmin@
+------
| ID | Name | Status | Networks | Image | Flavor |
+------
| 92e6cc84-
| 0badf437-
+------
Interactive python CLI troubleshooting - novaClient list() method returns an empty list:
>>> from nova_provider import novaClient as nc
>>> nova = nc.get_nova()
>>> nova.flavors.list()
[<Flavor: medium.dpdk.node0>, <Flavor: medium.dpdk>, <Flavor: large.dpdk>, <Flavor: medium>, <Flavor: small>, <Flavor: medium.dpdk.node1>, <Flavor: small.node1>, <Flavor: medium.node1>, <Flavor: large.dpdk.node1>, <Flavor: medium.node0>, <Flavor: small.node0>, <Flavor: large.dpdk.node0>]
>>> nova.servers.list()
[]
>>> nova.servers.
<Server: tenant1-vswitch1>
Test Activity
-------------
Feature Testing
Workaround
----------
None
Changed in starlingx: | |
assignee: | nobody → Heitor Matsui (heitormatsui) |
importance: | Undecided → Medium |
tags: | added: stx.6.0 stx.distro.openstack |
Fix proposed to branch: master /review. opendev. org/c/starlingx /utilities/ +/817475
Review: https:/