Activity log for bug #1893935

Date Who What changed Old value New value Message
2020-09-02 11:54:08 Michal Nasiadka bug added bug
2020-09-18 13:05:01 Michal Nasiadka affects heat (Ubuntu) cloud-archive
2020-09-18 14:41:40 Chris MacNaughton cloud-archive: status New Invalid
2020-09-23 15:31:08 Aurelien Lourot cloud-archive: status Invalid Confirmed
2020-09-23 15:31:56 Aurelien Lourot summary Missing dependency on vitrageclient in master Missing dependency on vitrageclient and zunclient in master
2020-09-24 19:49:29 Corey Bryant cloud-archive: status Confirmed Triaged
2020-09-24 19:49:32 Corey Bryant cloud-archive: importance Undecided High
2020-09-24 19:49:53 Corey Bryant summary Missing dependency on vitrageclient and zunclient in master [MIR] python-vitrageclient, python-zunclient
2020-09-24 19:50:03 Corey Bryant bug task added python-vitrageclient (Ubuntu)
2020-09-24 19:50:16 Corey Bryant bug task added python-zunclient (Ubuntu)
2020-09-24 19:51:09 Corey Bryant nominated for series Ubuntu Groovy
2020-09-24 19:51:09 Corey Bryant bug task added python-zunclient (Ubuntu Groovy)
2020-09-24 19:51:09 Corey Bryant bug task added python-vitrageclient (Ubuntu Groovy)
2020-09-24 19:51:15 Corey Bryant python-vitrageclient (Ubuntu Groovy): status New Triaged
2020-09-24 19:51:17 Corey Bryant python-zunclient (Ubuntu Groovy): status New In Progress
2020-09-24 19:51:20 Corey Bryant python-zunclient (Ubuntu Groovy): status In Progress Triaged
2020-09-24 19:51:22 Corey Bryant python-vitrageclient (Ubuntu Groovy): importance Undecided High
2020-09-24 19:51:24 Corey Bryant python-zunclient (Ubuntu Groovy): importance Undecided High
2020-09-24 19:51:40 Corey Bryant nominated for series cloud-archive/victoria
2020-09-24 19:51:40 Corey Bryant bug task added cloud-archive/victoria
2021-07-28 23:09:54 Brian Murray python-vitrageclient (Ubuntu Groovy): status Triaged Won't Fix
2021-07-28 23:09:57 Brian Murray python-zunclient (Ubuntu Groovy): status Triaged Won't Fix
2022-01-26 19:55:38 Corey Bryant summary [MIR] python-vitrageclient, python-zunclient [MIR] python-vitrageclient
2022-01-26 19:55:49 Corey Bryant python-zunclient (Ubuntu): status Triaged Won't Fix
2022-01-26 19:55:52 Corey Bryant python-zunclient (Ubuntu): importance High Undecided
2022-01-26 19:55:55 Corey Bryant python-zunclient (Ubuntu Groovy): importance High Undecided
2022-01-26 22:22:57 Corey Bryant bug task added heat (Ubuntu)
2022-01-26 22:23:04 Corey Bryant heat (Ubuntu): status New Triaged
2022-01-26 22:23:06 Corey Bryant heat (Ubuntu): importance Undecided High
2022-01-26 22:23:09 Corey Bryant bug task deleted heat (Ubuntu Groovy)
2022-01-26 22:31:50 Corey Bryant description Kolla built containers with heat-engine fail with following logs: https://f20bec36e3f198a9ccf9-fa78c758d05065ae4af77013f9d746d5.ssl.cf2.rackcdn.com/749469/2/check/kolla-ansible-ubuntu-binary/059e66f/primary/logs/kolla/heat/heat-engine.txt 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/python3/dist-packages/stevedore/extension.py", line 221, in _load_plugins 2020-09-02 10:50:52.676 6 ERROR heat-engine ext = self._load_one_plugin(ep, 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/stevedore/enabled.py", line 77, in _load_one_plugin 2020-09-02 10:50:52.676 6 ERROR heat-engine ext = super(EnabledExtensionManager, self)._load_one_plugin( 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 255, in _load_one_plugin 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/python3.8/importlib/metadata.py", line 77, in load 2020-09-02 10:50:52.676 6 ERROR heat-engine module = import_module(match.group('module')) 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module 2020-09-02 10:50:52.676 6 ERROR heat-engine return _bootstrap._gcd_import(name[level:], package, level) 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 1014, in _gcd_import 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 991, in _find_and_load 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 671, in _load_unlocked 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap_external>", line 783, in exec_module 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/heat/engine/clients/os/vitrage.py", line 16, in <module> 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 ModuleNotFoundError: No module named 'vitrageclient' Seems the culprit is missing python-vitrageclient package, which is part of heat requirements.txt - but not installed as a dependency when installing heat-engine from UCA (https://github.com/openstack/kolla/blob/master/docker/heat/heat-engine/Dockerfile.j2) == original bug report == Kolla built containers with heat-engine fail with following logs: https://f20bec36e3f198a9ccf9-fa78c758d05065ae4af77013f9d746d5.ssl.cf2.rackcdn.com/749469/2/check/kolla-ansible-ubuntu-binary/059e66f/primary/logs/kolla/heat/heat-engine.txt 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/python3/dist-packages/stevedore/extension.py", line 221, in _load_plugins 2020-09-02 10:50:52.676 6 ERROR heat-engine ext = self._load_one_plugin(ep, 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/stevedore/enabled.py", line 77, in _load_one_plugin 2020-09-02 10:50:52.676 6 ERROR heat-engine ext = super(EnabledExtensionManager, self)._load_one_plugin( 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 255, in _load_one_plugin 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/python3.8/importlib/metadata.py", line 77, in load 2020-09-02 10:50:52.676 6 ERROR heat-engine module = import_module(match.group('module')) 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module 2020-09-02 10:50:52.676 6 ERROR heat-engine return _bootstrap._gcd_import(name[level:], package, level) 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 1014, in _gcd_import 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 991, in _find_and_load 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 671, in _load_unlocked 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap_external>", line 783, in exec_module 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/heat/engine/clients/os/vitrage.py", line 16, in <module> 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 ModuleNotFoundError: No module named 'vitrageclient' Seems the culprit is missing python-vitrageclient package, which is part of heat requirements.txt - but not installed as a dependency when installing heat-engine from UCA (https://github.com/openstack/kolla/blob/master/docker/heat/heat-engine/Dockerfile.j2) [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(require=False), and now the failure to load a client entry point will error hard along the lines of that described above (ModuleNotFoundError: No module named 'vitrageclient'). In other words, all openstack clients that heat depends on must be installed or heat will fail hard. By getting python-vitrageclient into Ubuntu main, we can move it from Suggests to Depends and it will always be installed for heat binary packages. [Testcase] Taken from: https://bugs.launchpad.net/bugs/1958988 (Thanks to Francois Michaut) 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-vitrageclient" fixed the issue and heat started working correctly.
2022-01-26 22:37:21 Corey Bryant nominated for series Ubuntu Hirsute
2022-01-26 22:37:21 Corey Bryant bug task added heat (Ubuntu Hirsute)
2022-01-26 22:37:21 Corey Bryant bug task added python-zunclient (Ubuntu Hirsute)
2022-01-26 22:37:21 Corey Bryant bug task added python-vitrageclient (Ubuntu Hirsute)
2022-01-26 22:37:21 Corey Bryant nominated for series Ubuntu Impish
2022-01-26 22:37:21 Corey Bryant bug task added heat (Ubuntu Impish)
2022-01-26 22:37:21 Corey Bryant bug task added python-zunclient (Ubuntu Impish)
2022-01-26 22:37:21 Corey Bryant bug task added python-vitrageclient (Ubuntu Impish)
2022-01-26 22:37:21 Corey Bryant nominated for series Ubuntu Jammy
2022-01-26 22:37:21 Corey Bryant bug task added heat (Ubuntu Jammy)
2022-01-26 22:37:21 Corey Bryant bug task added python-zunclient (Ubuntu Jammy)
2022-01-26 22:37:21 Corey Bryant bug task added python-vitrageclient (Ubuntu Jammy)
2022-01-26 22:37:34 Corey Bryant heat (Ubuntu Hirsute): status New Won't Fix
2022-01-26 22:37:45 Corey Bryant heat (Ubuntu Impish): status New Won't Fix
2022-01-26 22:38:04 Corey Bryant python-vitrageclient (Ubuntu Impish): status New Won't Fix
2022-01-26 22:38:14 Corey Bryant python-vitrageclient (Ubuntu Hirsute): status New Won't Fix
2022-01-26 22:38:35 Corey Bryant python-zunclient (Ubuntu Hirsute): status New Won't Fix
2022-01-26 22:38:46 Corey Bryant python-zunclient (Ubuntu Impish): status New Won't Fix
2022-01-26 22:39:04 Corey Bryant cloud-archive/victoria: status Triaged Won't Fix
2022-01-26 22:39:17 Corey Bryant nominated for series cloud-archive/wallaby
2022-01-26 22:39:17 Corey Bryant bug task added cloud-archive/wallaby
2022-01-26 22:39:17 Corey Bryant nominated for series cloud-archive/xena
2022-01-26 22:39:17 Corey Bryant bug task added cloud-archive/xena
2022-01-26 22:39:17 Corey Bryant nominated for series cloud-archive/yoga
2022-01-26 22:39:17 Corey Bryant bug task added cloud-archive/yoga
2022-01-26 22:39:27 Corey Bryant cloud-archive/wallaby: status New Won't Fix
2022-01-26 22:39:38 Corey Bryant cloud-archive/xena: status New Won't Fix
2022-01-26 22:44:21 Corey Bryant description == original bug report == Kolla built containers with heat-engine fail with following logs: https://f20bec36e3f198a9ccf9-fa78c758d05065ae4af77013f9d746d5.ssl.cf2.rackcdn.com/749469/2/check/kolla-ansible-ubuntu-binary/059e66f/primary/logs/kolla/heat/heat-engine.txt 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/python3/dist-packages/stevedore/extension.py", line 221, in _load_plugins 2020-09-02 10:50:52.676 6 ERROR heat-engine ext = self._load_one_plugin(ep, 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/stevedore/enabled.py", line 77, in _load_one_plugin 2020-09-02 10:50:52.676 6 ERROR heat-engine ext = super(EnabledExtensionManager, self)._load_one_plugin( 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 255, in _load_one_plugin 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/python3.8/importlib/metadata.py", line 77, in load 2020-09-02 10:50:52.676 6 ERROR heat-engine module = import_module(match.group('module')) 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module 2020-09-02 10:50:52.676 6 ERROR heat-engine return _bootstrap._gcd_import(name[level:], package, level) 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 1014, in _gcd_import 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 991, in _find_and_load 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 671, in _load_unlocked 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap_external>", line 783, in exec_module 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/heat/engine/clients/os/vitrage.py", line 16, in <module> 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 ModuleNotFoundError: No module named 'vitrageclient' Seems the culprit is missing python-vitrageclient package, which is part of heat requirements.txt - but not installed as a dependency when installing heat-engine from UCA (https://github.com/openstack/kolla/blob/master/docker/heat/heat-engine/Dockerfile.j2) [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(require=False), and now the failure to load a client entry point will error hard along the lines of that described above (ModuleNotFoundError: No module named 'vitrageclient'). In other words, all openstack clients that heat depends on must be installed or heat will fail hard. By getting python-vitrageclient into Ubuntu main, we can move it from Suggests to Depends and it will always be installed for heat binary packages. [Testcase] Taken from: https://bugs.launchpad.net/bugs/1958988 (Thanks to Francois Michaut) 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-vitrageclient" fixed the issue and heat started working correctly. == original bug report == Kolla built containers with heat-engine fail with following logs: https://f20bec36e3f198a9ccf9-fa78c758d05065ae4af77013f9d746d5.ssl.cf2.rackcdn.com/749469/2/check/kolla-ansible-ubuntu-binary/059e66f/primary/logs/kolla/heat/heat-engine.txt 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/python3/dist-packages/stevedore/extension.py", line 221, in _load_plugins 2020-09-02 10:50:52.676 6 ERROR heat-engine ext = self._load_one_plugin(ep, 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/stevedore/enabled.py", line 77, in _load_one_plugin 2020-09-02 10:50:52.676 6 ERROR heat-engine ext = super(EnabledExtensionManager, self)._load_one_plugin( 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/stevedore/extension.py", line 255, in _load_one_plugin 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/python3.8/importlib/metadata.py", line 77, in load 2020-09-02 10:50:52.676 6 ERROR heat-engine module = import_module(match.group('module')) 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module 2020-09-02 10:50:52.676 6 ERROR heat-engine return _bootstrap._gcd_import(name[level:], package, level) 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 1014, in _gcd_import 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 991, in _find_and_load 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 671, in _load_unlocked 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap_external>", line 783, in exec_module 2020-09-02 10:50:52.676 6 ERROR heat-engine File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed 2020-09-02 10:50:52.676 6 ERROR heat-engine File "/usr/lib/python3/dist-packages/heat/engine/clients/os/vitrage.py", line 16, in <module> 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 ModuleNotFoundError: No module named 'vitrageclient' Seems the culprit is missing python-vitrageclient package, which is part of heat requirements.txt - but not installed as a dependency when installing heat-engine from UCA (https://github.com/openstack/kolla/blob/master/docker/heat/heat-engine/Dockerfile.j2) ================================================================== [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(require=False), and now the failure to load a client entry point will error hard along the lines of that described above (ModuleNotFoundError: No module named 'vitrageclient'). In other words, all openstack clients that heat depends on must be installed or heat will fail hard. By getting python-vitrageclient into Ubuntu main, we can move it from Suggests to Depends and it will always be installed for heat binary packages. [Testcase] Taken from: https://bugs.launchpad.net/bugs/1958988 (Thanks to Francois Michaut) 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-vitrageclient" fixed the issue and heat started working correctly. ================================================================== [MIR] python3-vitrageclient [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-vitrageclient. [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-vitrageclient-doc binary package which does not need to be in main. [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.
2022-01-26 22:44:36 Corey Bryant summary [MIR] python-vitrageclient [MIR] python3-vitrageclient
2022-01-26 22:44:47 Corey Bryant bug added subscriber MIR approval team
2022-01-31 13:27:07 Corey Bryant cloud-archive: status Triaged Fix Committed
2022-02-03 19:40:23 Corey Bryant cloud-archive: status Fix Committed Fix Released
2022-02-23 14:28:35 James Page python-vitrageclient (Ubuntu Jammy): assignee James Page (james-page)
2022-02-23 14:35:47 James Page python-vitrageclient (Ubuntu Jammy): status Triaged Fix Committed
2022-02-23 14:35:47 James Page python-vitrageclient (Ubuntu Jammy): assignee James Page (james-page)
2022-02-28 21:41:41 Steve Langasek python-vitrageclient (Ubuntu Jammy): status Fix Committed Fix Released
2022-03-01 00:03:49 Launchpad Janitor heat (Ubuntu Jammy): status Triaged Fix Released