microsoft / pai

Resource scheduling and cluster management for AI
https://openpai.readthedocs.io
MIT License
2.63k stars 548 forks source link

openpai installed over, but displays not correctly: You can go to http:, "no ip display and master work real ip is not Available " #5628

Open poetryben88 opened 2 years ago

poetryben88 commented 2 years ago

2021-10-11 09:35:40,888 [INFO] - deployment.paiLibrary.paiService.service_management_start : Begin to clean all service's generated template file 2021-10-11 09:35:40,889 [INFO] - deployment.paiLibrary.paiService.service_template_clean : Begin to delete the generated template of marketplace-webportal's service. 2021-10-11 09:35:40,889 [INFO] - deployment.paiLibrary.paiService.service_template_clean : The generated template files of marketplace-webportal's service have been cleaned up. 2021-10-11 09:35:40,889 [INFO] - deployment.paiLibrary.paiService.service_management_start : Successfully start marketplace-webportal 2021-10-11 09:35:40,889 [INFO] - deployment.paiLibrary.paiService.service_management_start : ----------------------------------------------------------- script/service-boot.sh: line 48: kubectl: command not found

OpenPAI is successfully deployed, please check the following information: Kubernetes cluster config : ~/pai-deploy/kube/config OpenPAI cluster config : ~/pai-deploy/cluster-cfg OpenPAI cluster ID : pai Default username : admin Default password : admin-password

You can go to http:, then use the default username and password to log in. root@amax:/opt/pai/contrib/kubespray#

my master work ip is 192.168.50.190, but install tips does not displayed.

siaimes commented 2 years ago

https://github.com/microsoft/pai/pull/5538

siaimes commented 2 years ago

Just enter the master`s IP in the browser, all will be fine.

poetryben88 commented 2 years ago

siaimes 兄弟, The master`s IP is not available in browser. The port 80 has not any process. But port 8080 is up on webportal container, and 8080 is not available , too.

root@fxkj:/# netstat -apn | grep -w 80 root@fxkj:/# root@fxkj:/#

root@fxkj:/# netstat -apn | grep 8080 tcp 0 0 192.168.50.190:59684 10.201.212.1:8080 TIME_WAIT - tcp 0 0 192.168.50.190:59592 10.201.212.1:8080 TIME_WAIT - root@fxkj:/#

This is the container log: root@fxkj:/# docker logs 9e030e2a977c

pai-webportal@1.8.0 prestart /usr/src/app mkdirp dist && envsub --env-file .env --system src/app/env.js.template dist/env.js

Skipping environment variable file '.env' due to ENOENT: no such file or directory, open '.env'

pai-webportal@1.8.0 start /usr/src/app node server

2021-10-11T09:28:51.980Z [INFO] config: {"env":"production","logLevel":"debug","serverPort":8080} 2021-10-11T09:28:51.985Z [INFO] Webportal server starts on port 8080

image

image