Debian: Sysinv can't import python plugins

Bug #1955648 reported by Dan Voiculeasa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Dan Voiculeasa

Bug Description

Brief Description
-----------------
Sysinv logic is based on the fact that the source files are listed in a file included in the egg.
This is missing on Debian.

Severity
--------
Critical: System/Feature is not usable due to the defect

Steps to Reproduce
------------------
Run bootstrap

Expected Behavior
------------------
sysinv starts

Actual Behavior
----------------
sysinv crash

Reproducibility
---------------
100%

System Configuration
--------------------
AIO-SX, but should be all

Branch/Pull Time/Commit
-----------------------
Any up to 23-Dec-2021

Last Pass
---------
No.

Timestamp/Logs
--------------
2021-12-16 13:54:38.950 176711 ERROR sysinv.openstack.common.threadgroup File "/usr/lib/python3/dist-packages/sysinv/helm/helm.py", line 253, in _load_armada_manifest_operators
2021-12-16 13:54:38.950 176711 ERROR sysinv.openstack.common.threadgroup distribution = utils.get_distribution_from_entry_point(op.entry_point)
2021-12-16 13:54:38.950 176711 ERROR sysinv.openstack.common.threadgroup File "/usr/lib/python3/dist-packages/sysinv/common/utils.py", line 3299, in get_distribution_from_entry_point
2021-12-16 13:54:38.950 176711 ERROR sysinv.openstack.common.threadgroup if relative in distribution.files:
2021-12-16 13:54:38.950 176711 ERROR sysinv.openstack.common.threadgroup TypeError: argument of type 'NoneType' is not iterable

Test Activity
-------------
Debian Integration

Workaround
----------
Not relevant.

Changed in starlingx:
assignee: nobody → Dan Voiculeasa (dvoicule)
Changed in starlingx:
status: New → In Progress
Revision history for this message
Dan Voiculeasa (dvoicule) wrote :

Added 2 commits as partial solutions:
https://review.opendev.org/c/starlingx/integ/+/822334
https://review.opendev.org/c/starlingx/integ/+/822830

For a complete solution the build system must be updated to allow these 2 to build before other python packages.

Revision history for this message
Ghada Khalil (gkhalil) wrote :

screening: stx.7.0 / medium; issue related to the debian build which is an stx.7.0 deliverable

Changed in starlingx:
importance: Undecided → High
importance: High → Medium
tags: added: stx.7.0 stx.integ
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as Fix Released based on the partial fixes which appear sufficient to allow successful Debian builds

Changed in starlingx:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.