You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Peter Farmer (JIRA)" <ji...@apache.org> on 2016/03/07 16:59:40 UTC

[jira] [Comment Edited] (CLOUDSTACK-9253) docker cloudstack simulator "ImportError: No module named marvin" when try to create a DC

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183176#comment-15183176 ] 

Peter Farmer edited comment on CLOUDSTACK-9253 at 3/7/16 3:59 PM:
------------------------------------------------------------------

Docker image is missing the paramiko python module, and PYTHONPATH needs to include the path to the marvin modules, to get the simulator running I did:

$ docker exec -ti simulator /bin/bash
root@7c17699dede3:~# pip install paramiko
root@7c17699dede3:~# export PYTHONPATH="/root/tools/marvin"
root@7c17699dede3:~# python /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/basic.cfg


was (Author: pfarmer@gmail.com):
Docker image is missing the paramiko python module, to get the simulator running I did:

$ docker exec -ti simulator /bin/bash
root@7c17699dede3:~# pip install paramiko
root@7c17699dede3:~# export PYTHONPATH="/root/tools/marvin"
root@7c17699dede3:~# python /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/basic.cfg

> docker cloudstack simulator "ImportError: No module named marvin" when try to create a DC 
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9253
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9253
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Simulator
>    Affects Versions: 4.6.0
>         Environment: docker 
>            Reporter: Florian Koch
>            Priority: Minor
>              Labels: docker
>
> after starting the cloudstack/simulator container and try to add Datacenters with the provides commands 
> {noformat}
> docker exec -ti cloudstack python \
> /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/advanced.cfg
> # or 
> docker exec -ti cloudstack python \
> /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/advancedsg.cfg
> # or 
> docker exec -ti cloudstack python \
> /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/basic.cfg
> {noformat}
> this error occoures
> {noformat}
> > /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/advancedsg.cfg
> Traceback (most recent call last):
>   File "/root/tools/marvin/marvin/deployDataCenter.py", line 28, in <module>
>     from marvin import configGenerator
> ImportError: No module named marvin
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)