pai icon indicating copy to clipboard operation
pai copied to clipboard

How to deploy OpenPAI in single-box mode

Open wangzhao123456 opened this issue 6 years ago • 0 comments

Hello, I have a few questions about deploying OpenPAI in single-box mode.

  1. When I deploy OpenPAI in single-box mode, do all the operations are conducted on the machine that the OpenPAI system are deployed on ? or should I use another dependent machine to conduct the instructions on "https://github.com/microsoft/pai/blob/master/docs/pai-management/doc/single-box.md", just like the cluster deploy mode?
  2. Can I use the dev-box container (constructed based on dev-box image) instead of executing the instrucitons instroducted on "https://github.com/microsoft/pai/blob/master/docs/pai-management/doc/single-box.md" manually on the host machine?
  3. I tried to deploy OpenPAI in single-box mode and I conducted all the operations on a single host machine, and I got the following error. Would you please tell me the probable reason and solutions? I can post the detail running environment ,procedures, and logs later. Thanks for you help!

The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:02,716 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:02,717 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:07,836 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:07,837 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:12,960 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:12,961 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:18,082 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:18,083 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:23,207 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:23,208 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:28,328 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:28,329 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:33,452 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:33,452 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:38,578 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:38,579 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:43,702 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:43,703 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:48,823 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:48,824 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. The connection to the server 192.168.200.177:8080 was refused - did you specify the right host or port? 2020-03-20 09:56:53,943 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-03-20 09:56:53,944 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later.

Organization Name:

Short summary about the issue/question: How to deploy OpenPAI in single-box model ? We need only one host machine? or we need two machines with one of them to be used to run something like dev-box operations, just like cluster deploy mode?

Brief what process you are following: I follow the following instructions: https://github.com/microsoft/pai/blob/master/docs/pai-management/doc/single-box.md

How to reproduce it:

OpenPAI Environment:

  • OpenPAI version: v0.13.0
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): Ubuntu16.04 server
  • Kernel (e.g. uname -a):
  • Hardware (e.g. core number, memory size, storage size, GPU type etc.):
  • Others:

Anything else we need to know:

wangzhao123456 avatar Mar 23 '20 02:03 wangzhao123456