Some logs for reference:
File \"/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_action_wrapper.py\", line 238, in _get_action_instance
actions_cls = action_loader.register_plugin(Action, self._file_path)
File \"/opt/stackstorm/st2/lib/python3.6/site-packages/st2common/util/loader.py\", line 168, in register_plugin
module = imp.load_source(module_name, plugin_abs_file_path)
File \"/opt/stackstorm/virtualenvs/newpack/lib/python3.6/imp.py\", line 172, in load_source
module = _load(spec)
File \"<frozen importlib._bootstrap>\", line 684, in _load
File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked
File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module
File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed
File \"/opt/stackstorm/packs.dev/newpack/actions/pythonactions/disk_handler.py\", line 6, in <module>
from lib.alertmanager import AlertmanagerAlert
ModuleNotFoundError: No module named 'lib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File \"/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_action_wrapper.py\", line 334, in <module>
obj.run()
File \"/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_action_wrapper.py\", line 192, in run
action = self._get_action_instance()
File \"/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_action_wrapper.py\", line 245, in _get_action_instance
raise exc_cls(msg)
ModuleNotFoundError: Failed to load action class from file \"/opt/stackstorm/packs.dev/newpack/actions/pythonactions/disk_handler.py\" (action file most likely doesn't exist or contains invalid syntax): No module named 'lib'
Traceback (most recent call last):
File \"/opt/stackstorm/st2/lib/python3.6/site-packages/python_runner/python_action_wrapper.py\", line 238, in _get_action_instance
actions_cls = action_loader.register_plugin(Action, self._file_path)
File \"/opt/stackstorm/st2/lib/python3.6/site-packages/st2common/util/loader.py\", line 168, in register_plugin
module = imp.load_source(module_name, plugin_abs_file_path)
File \"/opt/stackstorm/virtualenvs/newpack/lib/python3.6/imp.py\", line 172, in load_source
module = _load(spec)
File \"<frozen importlib._bootstrap>\", line 684, in _load
File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked
File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module
File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed
File \"/opt/stackstorm/packs.dev/newpack/actions/pythonactions/disk_handler.py\", line 6, in <module>
from lib.alertmanager import AlertmanagerAlert
ModuleNotFoundError: No module named 'lib'