You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/04/04 23:01:56 UTC

[GitHub] [cloudstack] srisgajare opened a new issue #4891: Issue while running the simulator docker image

srisgajare opened a new issue #4891:
URL: https://github.com/apache/cloudstack/issues/4891


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Other
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Docker image - simulator
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   Master branch
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   N/A
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   After cloning the repo, building the docker image from scratch and running it, the UI doesn't show up and throws the following error:
   "You're in developer mode, please build and run UI using npm." 
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   cd tools/docker 
   docker build -f Dockerfile -t cloudstack/simulator ../..
   docker run --name simulator -p 8080:8080 -d cloudstack/simulator
   docker exec -ti simulator python \
   /root/tools/marvin/marvin/deployDataCenter.py -i /root/setup/dev/basic.cfg
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Cloudstack UI
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   On the web browser:
   
   "You're in developer mode, please build and run UI using npm." 
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4891: Issue while running the simulator docker image

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4891:
URL: https://github.com/apache/cloudstack/issues/4891#issuecomment-923719265


   @nvazquez @sureshanaparti @davidjumani @shwstppr @Pearl1594 @DaanHoogland @weizhouapache - any update on this, who's assigned/working on this? This however, may not be a high-priority task - but let's discuss and conclude on a resolution, thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] apurv-1 commented on issue #4891: Issue while running the simulator docker image

Posted by GitBox <gi...@apache.org>.
apurv-1 commented on issue #4891:
URL: https://github.com/apache/cloudstack/issues/4891#issuecomment-846001219


   @srisgajare After running the docker container.
   Open another terminal and follow the steps:
   1. `git clone https://github.com/apache/cloudstack.git`.
   2. `cd cloudstack\ui` (If using windows).
   3. then `npm install`.
   4.  and finally, `npm serve`.
   and also make sure to set `CS_URL=http://localhost:8080/client` on `.env.local file on ui`.
   Hopefully, you'll be able to run the management server on http://localhost:5050


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4891: Issue while running the simulator docker image

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4891:
URL: https://github.com/apache/cloudstack/issues/4891#issuecomment-919855326


   This is not an issue @srisgajare you're supposed to run the UI separately as developer. How are you building the docker image, one solution is to also build the UI using npm and copy and replace the src as Apurv mentioned above.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on issue #4891: Issue while running the simulator docker image

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #4891:
URL: https://github.com/apache/cloudstack/issues/4891#issuecomment-879123750


   Hi @srisgajare can you confirm if @apurv-1's workaround fixes the issue?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] apurv-1 commented on issue #4891: Issue while running the simulator docker image

Posted by GitBox <gi...@apache.org>.
apurv-1 commented on issue #4891:
URL: https://github.com/apache/cloudstack/issues/4891#issuecomment-821975916


   Hello @srisgajare, can share some screenshots and show where exactly you're facing the issue? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] apurv-1 removed a comment on issue #4891: Issue while running the simulator docker image

Posted by GitBox <gi...@apache.org>.
apurv-1 removed a comment on issue #4891:
URL: https://github.com/apache/cloudstack/issues/4891#issuecomment-821975916


   Hello @srisgajare, can share some screenshots and show where exactly you're facing the issue? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd closed issue #4891: Issue while running the simulator docker image

Posted by GitBox <gi...@apache.org>.
rhtyd closed issue #4891:
URL: https://github.com/apache/cloudstack/issues/4891


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org