pai icon indicating copy to clipboard operation
pai copied to clipboard

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

Open poetryben88 opened this issue 4 years ago • 3 comments

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.

poetryben88 avatar Oct 11 '21 09:10 poetryben88

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

siaimes avatar Oct 12 '21 01:10 siaimes

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

siaimes avatar Oct 12 '21 01:10 siaimes

#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

[email protected] 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'

[email protected] 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

poetryben88 avatar Oct 12 '21 01:10 poetryben88