Skip to content

Conversation

@gwaewion
Copy link

The error:

{
  "stdout": "",
  "stderr": "/opt/stackstorm/packs/openstack/actions/src/lib/base.py:84: PkgResourcesDeprecationWarning: Parameters to load are deprecated.  Call .resolve and .require separately.
  command_cls = entry_point.load(require=False)
Traceback (most recent call last):
  File \"/opt/stackstorm/st2/lib/python3.8/site-packages/python_runner/python_action_wrapper.py\", line 395, in <module>
    obj.run()
  File \"/opt/stackstorm/st2/lib/python3.8/site-packages/python_runner/python_action_wrapper.py\", line 214, in run
    output = action.run(**self._parameters)
  File \"/opt/stackstorm/packs/openstack/actions/src/lib/base.py\", line 36, in run
    self.parser = self._get_parser(kwargs.pop('ep'))
  File \"/opt/stackstorm/packs/openstack/actions/src/lib/base.py\", line 84, in _get_parser
    command_cls = entry_point.load(require=False)
  File \"/opt/stackstorm/virtualenvs/openstack/lib/python3.8/site-packages/pkg_resources/__init__.py\", line 2450, in load
    return self.resolve()
  File \"/opt/stackstorm/virtualenvs/openstack/lib/python3.8/site-packages/pkg_resources/__init__.py\", line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File \"/opt/stackstorm/virtualenvs/openstack/lib/python3.8/site-packages/openstackclient/network/v2/port.py\", line 32, in <module>
    from openstackclient.network import sdk_utils
  File \"/opt/stackstorm/virtualenvs/openstack/lib/python3.8/site-packages/openstackclient/network/sdk_utils.py\", line 13, in <module>
    import munch
ModuleNotFoundError: No module named 'munch'
",
  "exit_code": 1,
  "result": "None"
}

After I've added munch everything works as expected.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants