[MIR] python3-vitrageclient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
High
|
Unassigned | ||
Victoria |
Won't Fix
|
High
|
Unassigned | ||
Wallaby |
Won't Fix
|
Undecided
|
Unassigned | ||
Xena |
Won't Fix
|
Undecided
|
Unassigned | ||
Yoga |
Fix Released
|
High
|
Unassigned | ||
heat (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Hirsute |
Won't Fix
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
python-vitrageclient (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Groovy |
Won't Fix
|
High
|
Unassigned | ||
Hirsute |
Won't Fix
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
python-zunclient (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Groovy |
Won't Fix
|
Undecided
|
Unassigned | ||
Hirsute |
Won't Fix
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
== original bug report ==
Kolla built containers with heat-engine fail with following logs:
https:/
2020-09-02 10:50:52.676 6 CRITICAL heat-engine [-] Unhandled error: AttributeError: 'EntryPoint' object has no attribute 'module'
2020-09-02 10:50:52.676 6 ERROR heat-engine Traceback (most recent call last):
2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/
2020-09-02 10:50:52.676 6 ERROR heat-engine ext = self._load_
2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/
2020-09-02 10:50:52.676 6 ERROR heat-engine ext = super(EnabledEx
2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/
2020-09-02 10:50:52.676 6 ERROR heat-engine plugin = ep.load()
2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/
2020-09-02 10:50:52.676 6 ERROR heat-engine module = import_
2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/
2020-09-02 10:50:52.676 6 ERROR heat-engine return _bootstrap.
2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib.
2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib.
2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib.
2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib.
2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib.
2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib.
2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/
2020-09-02 10:50:52.676 6 ERROR heat-engine from vitrageclient import client as vitrage_client
2020-09-02 10:50:52.676 6 ERROR heat-engine ModuleNotFoundE
Seems the culprit is missing python-
=======
[Impact]
heat depends on stevedore to load client entry points. In the past,
stevedore would just give a warning if a client failed to load (ie. due
to an uninstalled Suggests dependency). Then stevedore changed code
to use importlib.metadata which no longer supports ep.load(
[Testcase]
Taken from: https:/
Installing heat with the following commands :
add-apt-repository cloud-archive:xena
apt update
apt-get install heat-api heat-api-cfn heat-engine
will reproduce the issue.
heat-engine service will crash and restart continuously, all heat-related commands will fail ("openstack stack list" will output (after a very long time): ERROR: Internal Error).
In heat-engine logs, we can see that a module named "vitrageclient" is missing. Running "pip3 install python-
=======
[MIR] python3-
[Availability]
Currently in universe
[Rationale]
Heat is an OpenStack project that we're ready to support in main, and it has a hard dependency on python-
[Security]
No security history
[Quality Assurance]
Package works out of the box with no prompting. There are no major bugs in Ubuntu and there are no major bugs in Debian. Unit tests are run during build.
[Dependencies]
All are in main. Note: libjs-bootstrap is only needed for the python-
[Standards Compliance]
FHS and Debian Policy compliant
[Maintenance]
Simple python package that the OpenStack Team will take care of
[Background]
This is a client library for OpenStack Vitrage built to interface with the Vitrage API. Vitrage is the OpenStack RCA (Root Cause Analysis) service for organizing, analyzing and expanding OpenStack alarms & events, yielding insights regarding the root cause of problems and deducing their existence before they are directly detected.
affects: | heat (Ubuntu) → cloud-archive |
Changed in cloud-archive: | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
summary: |
- Missing dependency on vitrageclient and zunclient in master + [MIR] python-vitrageclient, python-zunclient |
Changed in python-vitrageclient (Ubuntu Groovy): | |
status: | New → Triaged |
Changed in python-zunclient (Ubuntu Groovy): | |
status: | New → In Progress |
status: | In Progress → Triaged |
Changed in python-vitrageclient (Ubuntu Groovy): | |
importance: | Undecided → High |
Changed in python-zunclient (Ubuntu Groovy): | |
importance: | Undecided → High |
Changed in heat (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
no longer affects: | heat (Ubuntu Groovy) |
description: | updated |
description: | updated |
summary: |
- [MIR] python-vitrageclient + [MIR] python3-vitrageclient |
Changed in cloud-archive: | |
status: | Triaged → Fix Committed |
Changed in python-vitrageclient (Ubuntu Jammy): | |
assignee: | nobody → James Page (james-page) |
vitrageclient is currently in the Recommends section of python3-heat. As vitrageclient is an optional dependency (you only need it if you have heat and vitrage), this is fairly reasonable and can be resolved by doing something like: sudo apt-get --install-suggests install python3-heat