Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AE 2.0.2 云平台安装测试结果 #23

Open
rayzhou2017 opened this issue Aug 19, 2019 · 12 comments

Comments

@rayzhou2017
Copy link

commented Aug 19, 2019

Three install options:

  1. online
  2. offline
  3. KubeSphere only, i.e., install KubeSphere on existing k8s cluster or k8s-based distribution.

All are 64 bit OSes (x86)

qingcloud huawei cloud aliyun tencent cloud aws azure
Ubuntu 16.04 online allinone √2 √4
Ubuntu 16.04 online 1master 2nodes √2 √4
Ubuntu 18.04 online allinone √2
Ubuntu 18.04 online 1master 2nodes √2
CentOS 7.6 online allinone √ 5 √1
CentOS 7.6 online 1master 2nodes √5 √1
RHEL 7.4 online allinone √3
RHEL 7.4 online 1master 2nodes √3
  1. Image from AWS Marketplace
  2. huawei cloud安装报错及解决方法:#19 (pip安装) #20 (coredns无法启动)
  3. image from AWS 社区AMI,online失败,需要用offline安装包且注释掉ebtables #23 (comment)
  4. tencent cloud中ubuntu16.04镜像较旧(ubuntu16.04.1),可能会遇到 illegal instruction (core dump),规避方法可参考:#21
  5. aliyun中centos7安装时可能会遇到pip版本问题,解决方法可参考:#16

@rayzhou2017 rayzhou2017 changed the title 云平台安装测试 云平台安装测试结果 Aug 19, 2019

@rayzhou2017 rayzhou2017 changed the title 云平台安装测试结果 AE 2.0.2 云平台安装测试结果 Aug 19, 2019

@mayuhope

This comment has been minimized.

Copy link

commented Aug 19, 2019

腾讯云测试结果:
1、Ubuntu 16.04.1安装在线版单节点和多节点:均失败,issue:#21

2、Ubuntu 18.04.1安装在线版单节点:成功
Ubuntu 18.04.1安装在线版多节点:成功

3、Centos7.5、Centos 7.6 安装在线版单节点:成功
Centos 7.6安装在线版多节点:成功

4 、Ubuntu18.04.1 、Ubuntu 16.04.1、Ubuntu 14.04.1(不支持离线部署)

5、缺少RHEL 7.4这个操作系统版本

@Forest-L

This comment has been minimized.

Copy link
Collaborator

commented Aug 20, 2019

阿里云:
1、ubuntu16.04.6 单节点在线:OK;

2、ubuntu16.04.6 单节点/多节点 离线:OK,
需要添加对应系统版本软件依赖包,issue:#22

3、centos7.5 单节点/多节点:OK,
系统pip版本问题,处理方法参考issue:#16

4、centos7.6 单节点离线:OK
系统pip版本问题,处理方法参考issue:#16
需要添加对应系统版本软件依赖包,issue:kubesphere/kubesphere#630

5、 rhel 7.4 单节点在线:Failure

6、ubuntu18.04.1单节点在线:OK

7、centos7.6单节点在线:OK
系统pip版本问题,处理方法参考issue:#16

8、centos7.6多节点在线:OK
系统pip版本问题,处理方法参考issue:#16

9、ubuntu16.04.6多节点在线:OK

10、ubuntu18.04多节点在线:OK

@rayzhou2017

This comment was marked as resolved.

Copy link
Author

commented Aug 20, 2019

阿里云:
centos7.5和centos7.6 单节点/多节点offline 替换了centos-7.5-amd64.iso和centos-7.6-amd64.iso 成功
centos7.5和centos7.6 online 成功

ubuntu16.04.6 单节点/多节点offline 增加ubuntu-16.04.6-server-amd64.iso 成功
Ubuntu16.04.6 单节点 online 成功

这个测试我都看不懂,郭峰那个就很容易看懂

@rayzhou2017

This comment has been minimized.

Copy link
Author

commented Aug 20, 2019

aws rhel 7.4 online alline 出错
Screen Shot 2019-08-20 at 1 58 56 PM

@pixiake

This comment has been minimized.

Copy link
Collaborator

commented Aug 20, 2019

rhel 7.4由于官方yum源中没有安装脚本中指定的相关软件,所以导致安装失败

  1. 可以更换或者添加centos7的yum源尝试解决
  2. 下个版本中会对该问题做相关处理
@pixiake

This comment has been minimized.

Copy link
Collaborator

commented Aug 20, 2019

aws rhel 7.4 offline alline 出错
图片

该问题为当前系统中没有预装ebtables,而安装包中使用的软件依赖包也缺少ebtables,导致安装失败

临时解决办法:
vi ../k8s/roles/kubernetes/preinstall/vars/redhat.yml
注释掉ebtables

@rayzhou2017 rayzhou2017 pinned this issue Aug 21, 2019

@Forest-L

This comment has been minimized.

Copy link
Collaborator

commented Aug 21, 2019

vmware和各个平台机器对比:
1、在青云和阿里云centos7.6 离线install版本可以正常部署;
2、而同样的离线安装包在vmware机器上还报有依赖问题;
vmware弄的机器,开发者很难有8核以上的机器。

@hing007210

This comment has been minimized.

Copy link

commented Sep 10, 2019

TASK [ks-devops/ks-devops : OpenPitrix | Waiting for openpitrix-db] ***************************************************************************************************************************
Tuesday 10 September 2019 11:29:55 +0800 (0:00:00.396) 0:04:18.141 *****
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (15 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (14 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (13 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (12 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (11 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (10 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (9 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (8 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (7 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (6 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (5 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (4 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (3 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (2 retries left).
FAILED - RETRYING: OpenPitrix | Waiting for openpitrix-db (1 retries left).
fatal: [master1]: FAILED! => {"attempts": 15, "changed": true, "cmd": "/usr/local/bin/kubectl -n openpitrix-system get pod | grep openpitrix-db-deployment | awk '{print $3}'", "delta": "0:00:00.113061", "end": "2019-09-10 11:32:28.753923", "rc": 0, "start": "2019-09-10 11:32:28.640862", "stderr": "", "stderr_lines": [], "stdout": "Pending", "stdout_lines": ["Pending"]}

@hing007210

This comment has been minimized.

Copy link

commented Sep 10, 2019

在安装时报错。

@Forest-L

This comment has been minimized.

Copy link
Collaborator

commented Sep 10, 2019

@hing007210
1、麻烦额外建一个issue哦,
2、kubectl get pod -n openpitrix-system看下该namespace的pod是否正常启动,
3、然后kubectl describe pod -n openpitrix-system kubectl get pod -n openpitrix-system|grep openpitrix-db-deployment|awk '{print $1}' 查看pod的日志

@Forest-L

This comment has been minimized.

Copy link
Collaborator

commented Sep 12, 2019

经测试,通过以下方法可安装最新版本的pip(pip-19.2.3)可规避pip安装相关问题:

#16 #19

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python get-pip.py
@yeyouqun

This comment has been minimized.

Copy link

commented Sep 18, 2019

我在安装时,出现这个问题:
Wednesday 18 September 2019 01:24:28 -0400 (0:00:00.639) 0:02:32.879 ***
fatal: [ks-allinone]: FAILED! => {"changed": true, "cmd": "/usr/local/bin/helm upgrade --install ks-sonarqube /etc/kubesphere/sonarqube/sonarqube-0.13.5.tgz -f /etc/kubesphere/sonarqube/custom-values-sonarqube.yaml --namespace kubesphere-devops-system", "delta": "0:00:00.203654", "end": "2019-09-18 01:24:29.367462", "msg": "non-zero return code", "rc": 1, "start": "2019-09-18 01:24:29.163808", "stderr": "Error: could not find a ready tiller pod", "stderr_lines": ["Error: could not find a ready tiller pod"], "stdout": "", "stdout_lines": []}

PLAY RECAP **************************************************************************************************************************************************************************************************************************************
ks-allinone : ok=172 changed=7 unreachable=0 failed=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.