Dynatrace / easytrade

EasyTrade - new demo microservices based application that allows its users to buy and sell stocks, developed by Demoability Team
Apache License 2.0
26 stars 28 forks source link

Openshift - has problems with aggregatorservice.yaml #17

Open hakansuku opened 1 month ago

hakansuku commented 1 month ago

C:\Users\minkook.kang\easytrade-main\kubernetes-manifests>oc logs aggregatorservice-85c7b7b9c7-89mmr Defaulted container "aggregatorservice-1" out of: aggregatorservice-1, aggregatorservice-2, aggregatorservice-3, aggregatorservice-4, aggregatorservice-5

easytrade_aggregator_service@1.0.0-easytrade start node dist/app.js

[2024-09-10 06:53:17] [INFO]: Starting platform [dynatestsieger.at] [2024-09-10 06:53:17] [INFO]: Using package distribution [[{"value":1,"probability":0.6},{"value":2,"probability":0.3},{"value":3,"probability":0.1}]] [2024-09-10 06:53:17] [INFO]: Starting aggregator service application [2024-09-10 06:53:17] [INFO]: Starting 'endless' loop. [2024-09-10 06:53:17] [INFO]: Setting starting time [2024-09-10 06:53:17] [INFO]: Sending offer request and awaiting response [2024-09-10 06:53:17] [INFO]: Sending JSON offer request to [http://offerservice:8080/api/offers/dynatestsieger.at] npm ERR! code EACCES npm ERR! syscall mkdir npm ERR! path /.npm npm ERR! errno -13 npm ERR! npm ERR! Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which has since been addressed. npm ERR! npm ERR! To permanently fix this problem, please run: npm ERR! sudo chown -R 1000720000:0 "/.npm"

npm ERR! Log files were not written due to an error writing to the directory: /.npm/_logs npm ERR! You can rerun the command with --loglevel=verbose to see the logs in your terminalDescribe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.