Hi,

I think it is because you use python2 not python3.

You can create a docker container to run a simulator environment. Please
refer to https://github.com/apache/cloudstack/tree/main/tools/docker

I have built a docker image for cloudstack 4.16.0.0, you can try it as
well:
https://hub.docker.com/repository/docker/ustcweizhou/cloudstack-simulator

-Wei



On Fri, 4 Feb 2022 at 06:14, Pritam Neog <neog.geek...@gmail.com> wrote:

> Thanks Wei and yes my management server was up and running. My motive was
> to deploy a simulator based environment. Now when I run
> *python2 tools/marvin/marvin/deployDataCenter.py -i setup/dev/advanced.cfg*
> it throws the following error:
>
> Traceback (most recent call last):
>   File "tools/marvin/marvin/deployDataCenter.py", line 34, in <module>
>     from marvin.lib.utils import (random_gen)
>   File "/usr/local/lib/python2.7/dist-packages/marvin/lib/utils.py", line
> 30, in <module>
>     import urllib.parse
> ImportError: No module named parse
>
> I installed marvin using pip2 so I don't know why this is happening. Am I
> missing something?
>
> On Fri, Feb 4, 2022 at 12:46 AM Wei ZHOU <ustcweiz...@gmail.com> wrote:
>
> > Hi,
> >
> > It looks like the management server is running. you can check if the port
> > 8080 is open.
> >
> > for the UI, you can start it in another terminal.
> >
> > cd ui
> > npm install
> > npm start
> >
> > Please refer to
> > https://github.com/apache/cloudstack/blob/main/ui/README.md
> >
> > -Wei
> >
> > On Thu, 3 Feb 2022 at 19:34, Pritam Neog <neog.geek...@gmail.com> wrote:
> >
> > > Hello all,
> > >
> > > I've been following the Hackerbook to build cloudstack. The mgmt server
> > > stucks in a loop when I run
> > > *mvn -pl :cloud-client-ui jetty:run -Djava.net.preferIPv4Stack=true
> > > -Dsimulator*
> > >
> > > This is the log I get and it just repeats with different AccountChecker
> > and
> > > logid :
> > >
> > > INFO  [c.c.u.AccountManagerImpl] (AccountChecker-1:ctx-caef4f24)
> > > (logid:3281c71b) Found 0 removed accounts to cleanup
> > > INFO  [c.c.u.AccountManagerImpl] (AccountChecker-1:ctx-caef4f24)
> > > (logid:3281c71b) Found 0 disabled accounts to cleanup
> > > INFO  [c.c.u.AccountManagerImpl] (AccountChecker-1:ctx-caef4f24)
> > > (logid:3281c71b) Found 0 inactive domains to cleanup
> > > INFO  [c.c.u.AccountManagerImpl] (AccountChecker-1:ctx-caef4f24)
> > > (logid:3281c71b) Found 0 disabled projects to cleanup
> > > INFO  [o.a.c.e.o.NetworkOrchestrator]
> (Network-Scavenger-1:ctx-8a0ebaab)
> > > (logid:e90dc939) NetworkGarbageCollector uses '20' seconds for GC
> > interval.
> > >
> > > API endpoint on Port 8080 on localhost loads default jetty layout
> (while
> > it
> > > is still looping) with a client directory which reads 'you are in dev
> > mode,
> > > please build using npm'
> > >
> > > Don't know what's causing this. Any help will be appreciated.
> > >
> > > Kind regards,
> > >
> >
>

Reply via email to