[openstack-dev] [murano] Plugin installation issue

Alexander Tivelkov ativelkov at mirantis.com
Fri Jan 15 17:31:08 UTC 2016

Hi Vahid,

Sorry for the delayed response.

I've run your plugin and I am facing an error during the loading of your
plugin: the loader complains that it is unable to find the module named
As far as I can see, your plugin attempts the following import statement:
*"from heat_translator import translator_shell"* and this is the exact
statement which fails.
Most probably this happens because the heat_translator project does not
expose its heat_translator.py file (the one defined in the root of the
module) to the outer world, thus when you install it with pip this module
cannot be found.
So, if you replace this import statement with something like
"*from translator import shell as translator_shell*" this should work,
since the "translator" module is properly exported by the heat-translator

Hope this helps

On Mon, Jan 11, 2016 at 10:51 PM Vahid S Hashemian <
vahidhashemian at us.ibm.com> wrote:

> Hello,
> I have been scratching my head at this issue for a couple of days without
> any success.
> Here's the issue:
> I try to install my plugin (can be found here
> <https://review.openstack.org/#/c/243872/>as WIP) using this command:
>         pip install -e contrib/plugins/murano_heat-translator_plugin/
> The installer runs and reports that "Successfully installed
> io.murano.plugins.oasis.tosca".
> However, when I try to import a package to the catalog I see (while
> debugging) that the plugin format I just installed is not among the
> plugin_loader formats that murano discovers (here
> <https://github.com/openstack/murano/blob/master/murano/packages/load_utils.py#L100>
> ).
> I run the same scenario for the Cloudify plugin and everything goes fine.
> So it appears there is something wrong with my package (I was able to
> install it before). But I don't know where to look for the root cause of
> this issue.
> Any pointers would be highly appreciated.
> Thanks.
> --Vahid
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Alexander Tivelkov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160115/d05961aa/attachment-0001.html>

More information about the OpenStack-dev mailing list