8080 was refused - did you specify the right host or port
kubectl has been installed. Skip this precess 2020-05-15 07:36:59,129 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Successfully install kubectl on the dev-box. 2020-05-15 07:36:59,130 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Generate the configuation file of kubectl. 2020-05-15 07:36:59,130 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Cluster configuration is detected. 2020-05-15 07:36:59,130 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Generate the KUBECONIFG based on the cluster configuration. 2020-05-15 07:36:59,132 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Successfully configure kubeconfig in the dev-box. The connection to the server 192.168.100.153:8080 was refused - did you specify the right host or port? 2020-05-15 07:36:59,185 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:36:59,185 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later.
wait a long but not running
2020-05-15 07:36:59,185 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:36:59,185 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. 8080 was refused - did you specify the right host or portError from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get nodes) 2020-05-15 07:38:04,317 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:38:04,317 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get nodes) 2020-05-15 07:39:09,366 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:39:09,367 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later.
2020-05-15 07:46:29,422 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Successfully configure kubeconfig in the dev-box. Unable to connect to the server: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02" 2020-05-15 07:46:29,831 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:46:29,831 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Unable to connect to the server: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02" 2020-05-15 07:46:34,886 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:46:34,886 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Unable to connect to the server: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02" 2020-05-15 07:46:39,944 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:46:39,944 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Unable to connect to the server: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02" 2020-05-15 07:46:45,001 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:46:45,001 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Unable to connect to the server: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02" 2020-05-15 07:46:50,057 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:46:50,057 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later.
I try update config.template 8080 to 6443,but not
2020-05-15 07:48:41,338 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Unable to connect to the server: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02" 2020-05-15 07:48:46,393 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:48:46,394 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Unable to connect to the server: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02" 2020-05-15 07:48:51,448 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:48:51,450 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Unable to connect to the server: net/http: HTTP/1.x transport connection broken: malformed HTTP response "\x15\x03\x01\x00\x02\x02" 2020-05-15 07:48:56,504 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 07:48:56,504 [ERROR] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : kubectl ready test failed. Exit paictl.
root@app-virtual-machine:~# df -h Filesystem Size Used Avail Use% Mounted on overlay 19G 13G 5.6G 69% / tmpfs 64M 0 64M 0% /dev tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup shm 64M 0 64M 0% /dev/shm /dev/sda1 19G 13G 5.6G 69% /hadoop-binary tmpfs 1.6G 9.4M 1.6G 1% /run/docker.sock
kubernetes: api-servers-url: http://192.168.100.153:8080 dashboard-url: http://192.168.100.153:9090
TODO please modify it according to your own hardware
machine-sku: GENERIC: mem: 1 gpu: type: generic count: 1 cpu: vcore: 1 os: ubuntu16.04
machine-list:
-
dashboard: "true" docker-data: "/var/lib/docker" etcdid: "etcdid1" hostip: "192.168.100.153" hostname: "master" k8s-role: "master" machine-type: "GENERIC" nodename: "192.168.100.153" pai-master: "true" password: "1234" ssh-port: "22" username: "test" zkid: "1"
-
docker-data: "/var/lib/docker" hostip: "192.168.100.155" hostname: "woker" k8s-role: "worker" machine-type: "GENERIC" nodename: "192.168.100.155" pai-worker: "true" password: "1234" ssh-port: "22" username: "test"
Which version do you use?
Open PAI:v0.11.0
2020-05-15 10:00:56,689 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get nodes) 2020-05-15 10:02:01,826 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 10:02:01,827 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get nodes) 2020-05-15 10:03:06,878 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 10:03:06,878 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later.
2020-05-15 10:00:56,689 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get nodes) 2020-05-15 10:02:01,826 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 10:02:01,827 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later. Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request (get nodes) 2020-05-15 10:03:06,878 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 10:03:06,878 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later.
help me thank you
Do you mean you are using v0.11 now, and would like to upgrade to v0.14?
no, I use v0.11 deploy, when running it error
The connection to the server 192.168.100.153:8080 was refused - did you specify the right host or port? 2020-05-15 10:13:18,827 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 10:13:18,827 [INFO] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : Wait 5s, and retry it later.
always now
result: The connection to the server 192.168.100.153:8080 was refused - did you specify the right host or port? 2020-05-15 10:13:54,198 [WARNING] - deployment.k8sPaiLibrary.maintainlib.common : There will be a delay after installing, please wait. 2020-05-15 10:13:54,198 [ERROR] - deployment.k8sPaiLibrary.maintainlib.kubectl_install : kubectl ready test failed. Exit paictl.
so I need to do something what?
v0.11 is an older version. we do not recommend to use v0.11. If you are trying a new deployment, we recommend you to wait for a few days. We are going to release a new version (probably next week). This new release will have a new (and better) deployment experience.
ok!,so who ara you ? I need this to do devolopment