`
…ignoring
TASK [common : Kubesphere | Setting mysql db pv size] **************************
skipping: [localhost]
TASK [common : Kubesphere | Check redis PersistentVolumeClaim] *****************
changed: [localhost]
TASK [common : Kubesphere | Setting redis db pv size] **************************
ok: [localhost]
TASK [common : Kubesphere | Check minio PersistentVolumeClaim] *****************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl get pvc -n kubesphere-system minio -o jsonpath=‘{.status.capacity.storage}’\n”, “delta”: “0:00:00.135000”, “end”: “2021-01-14 09:51:44.930648”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-01-14 09:51:44.795648”, “stderr”: "Error from server (NotFound): persistentvolumeclaims \“minio\” not found", “stderr_lines”: ["Error from server (NotFound): persistentvolumeclaims \“minio\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [common : Kubesphere | Setting minio pv size] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap PersistentVolumeClaim] **************
changed: [localhost]
TASK [common : Kubesphere | Setting openldap pv size] **************************
ok: [localhost]
TASK [common : Kubesphere | Check etcd db PersistentVolumeClaim] ***************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl get pvc -n kubesphere-system etcd-pvc -o jsonpath=‘{.status.capacity.storage}’\n”, “delta”: “0:00:00.165164”, “end”: “2021-01-14 09:51:46.037730”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-01-14 09:51:45.872566”, “stderr”: "Error from server (NotFound): persistentvolumeclaims \“etcd-pvc\” not found", “stderr_lines”: ["Error from server (NotFound): persistentvolumeclaims \“etcd-pvc\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [common : Kubesphere | Setting etcd pv size] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Check redis ha PersistentVolumeClaim] **************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl get pvc -n kubesphere-system data-redis-ha-server-0 -o jsonpath=‘{.status.capacity.storage}’\n”, “delta”: “0:00:00.127310”, “end”: “2021-01-14 09:51:46.554302”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-01-14 09:51:46.426992”, “stderr”: "Error from server (NotFound): persistentvolumeclaims \“data-redis-ha-server-0\” not found", “stderr_lines”: ["Error from server (NotFound): persistentvolumeclaims \“data-redis-ha-server-0\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [common : Kubesphere | Setting redis ha pv size] **************************
skipping: [localhost]
TASK [common : Kubesphere | Check es-master PersistentVolumeClaim] *************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl get pvc -n kubesphere-logging-system data-elasticsearch-logging-discovery-0 -o jsonpath=‘{.status.capacity.storage}’\n”, “delta”: “0:00:00.165219”, “end”: “2021-01-14 09:51:47.103817”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-01-14 09:51:46.938598”, “stderr”: "Error from server (NotFound): namespaces \“kubesphere-logging-system\” not found", “stderr_lines”: ["Error from server (NotFound): namespaces \“kubesphere-logging-system\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [common : Kubesphere | Setting es master pv size] *************************
skipping: [localhost]
TASK [common : Kubesphere | Check es data PersistentVolumeClaim] ***************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: “/usr/local/bin/kubectl get pvc -n kubesphere-logging-system data-elasticsearch-logging-data-0 -o jsonpath=‘{.status.capacity.storage}’\n”, “delta”: “0:00:00.151941”, “end”: “2021-01-14 09:51:47.649752”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-01-14 09:51:47.497811”, “stderr”: "Error from server (NotFound): namespaces \“kubesphere-logging-system\” not found", “stderr_lines”: ["Error from server (NotFound): namespaces \“kubesphere-logging-system\” not found"], “stdout”: "", “stdout_lines”: []}
…ignoring
TASK [common : Kubesphere | Setting es data pv size] ***************************
skipping: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
ok: [localhost] => (item={‘path’: ‘etcd’, ‘file’: ‘etcd.yaml’})
ok: [localhost] => (item={‘name’: ‘mysql’, ‘file’: ‘mysql.yaml’})
ok: [localhost] => (item={‘path’: ‘redis’, ‘file’: ‘redis.yaml’})
TASK [common : Kubesphere | Creating mysql sercet] *****************************
changed: [localhost]
TASK [common : Kubesphere | Deploying etcd and mysql] **************************
skipping: [localhost] => (item=etcd.yaml)
skipping: [localhost] => (item=mysql.yaml)
TASK [common : Kubesphere | Getting minio installation files] ******************
skipping: [localhost] => (item=minio-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={‘name’: ‘custom-values-minio’, ‘file’: ‘custom-values-minio.yaml’})
TASK [common : Kubesphere | Check minio] ***************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy minio] **************************************
skipping: [localhost]
TASK [common : debug] **********************************************************
skipping: [localhost]
TASK [common : fail] ***********************************************************
skipping: [localhost]
TASK [common : Kubesphere | create minio config directory] *********************
skipping: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
skipping: [localhost] => (item={‘path’: ‘/root/.config/rclone’, ‘file’: ‘rclone.conf’})
TASK [common : include_tasks] **************************************************
skipping: [localhost] => (item=helm)
skipping: [localhost] => (item=vmbased)
TASK [common : Kubesphere | import minio status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Check ha-redis] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis installation files] ******************
skipping: [localhost] => (item=redis-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={‘name’: ‘custom-values-redis’, ‘file’: ‘custom-values-redis.yaml’})
TASK [common : Kubesphere | Check old redis status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old redis svc] *******************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis PodIp] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Creating redis migration script] *******************
skipping: [localhost] => (item={‘path’: ‘/etc/kubesphere’, ‘file’: ‘redisMigrate.py’})
TASK [common : Kubesphere | Check redis-ha status] *****************************
skipping: [localhost]
TASK [common : ks-logging | Migrating redis data] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old redis] *********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost] => (item=redis.yaml)
TASK [common : Kubesphere | import redis status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Getting openldap installation files] ***************
skipping: [localhost] => (item=openldap-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={‘name’: ‘custom-values-openldap’, ‘file’: ‘custom-values-openldap.yaml’})
TASK [common : Kubesphere | Check old openldap status] *************************
skipping: [localhost]
TASK [common : KubeSphere | Shutdown ks-account] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old openldap svc] ****************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy openldap] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Load old openldap data] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap-ha status] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get openldap-ha pod list] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get old openldap data] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Migrating openldap data] ***************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old openldap] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Restart openldap] **********************************
skipping: [localhost]
TASK [common : KubeSphere | Restarting ks-account] *****************************
skipping: [localhost]
TASK [common : Kubesphere | import openldap status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check ha-redis] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis installation files] ******************
skipping: [localhost] => (item=redis-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={‘name’: ‘custom-values-redis’, ‘file’: ‘custom-values-redis.yaml’})
TASK [common : Kubesphere | Check old redis status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old redis svc] *******************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Getting redis PodIp] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Creating redis migration script] *******************
skipping: [localhost] => (item={‘path’: ‘/etc/kubesphere’, ‘file’: ‘redisMigrate.py’})
TASK [common : Kubesphere | Check redis-ha status] *****************************
skipping: [localhost]
TASK [common : ks-logging | Migrating redis data] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old redis] *********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying redis] ***********************************
skipping: [localhost] => (item=redis.yaml)
TASK [common : Kubesphere | import redis status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Getting openldap installation files] ***************
skipping: [localhost] => (item=openldap-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={‘name’: ‘custom-values-openldap’, ‘file’: ‘custom-values-openldap.yaml’})
TASK [common : Kubesphere | Check old openldap status] *************************
skipping: [localhost]
TASK [common : KubeSphere | Shutdown ks-account] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Delete and backup old openldap svc] ****************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap] ************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy openldap] ***********************************
skipping: [localhost]
TASK [common : Kubesphere | Load old openldap data] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Check openldap-ha status] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get openldap-ha pod list] **************************
skipping: [localhost]
TASK [common : Kubesphere | Get old openldap data] *****************************
skipping: [localhost]
TASK [common : Kubesphere | Migrating openldap data] ***************************
skipping: [localhost]
TASK [common : Kubesphere | Disable old openldap] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Restart openldap] **********************************
skipping: [localhost]
TASK [common : KubeSphere | Restarting ks-account] *****************************
skipping: [localhost]
TASK [common : Kubesphere | import openldap status] ****************************
skipping: [localhost]
TASK [common : Kubesphere | Getting minio installation files] ******************
skipping: [localhost] => (item=minio-ha)
TASK [common : Kubesphere | Creating manifests] ********************************
skipping: [localhost] => (item={‘name’: ‘custom-values-minio’, ‘file’: ‘custom-values-minio.yaml’})
TASK [common : Kubesphere | Check minio] ***************************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy minio] **************************************
skipping: [localhost]
TASK [common : debug] **********************************************************
skipping: [localhost]
TASK [common : fail] ***********************************************************
skipping: [localhost]
TASK [common : Kubesphere | create minio config directory] *********************
skipping: [localhost]
TASK [common : Kubesphere | Creating common component manifests] ***************
skipping: [localhost] => (item={‘path’: ‘/root/.config/rclone’, ‘file’: ‘rclone.conf’})
TASK [common : include_tasks] **************************************************
skipping: [localhost] => (item=helm)
skipping: [localhost] => (item=vmbased)
TASK [common : Kubesphere | import minio status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying common component] ************************
skipping: [localhost] => (item=mysql.yaml)
TASK [common : Kubesphere | import mysql status] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Deploying common component] ************************
skipping: [localhost] => (item=etcd.yaml)
TASK [common : Kubesphere | Getting elasticsearch and curator installation files] ***
skipping: [localhost]
TASK [common : Kubesphere | Creating custom manifests] *************************
skipping: [localhost] => (item={‘name’: ‘custom-values-elasticsearch’, ‘file’: ‘custom-values-elasticsearch.yaml’})
skipping: [localhost] => (item={‘name’: ‘custom-values-elasticsearch-curator’, ‘file’: ‘custom-values-elasticsearch-curator.yaml’})
TASK [common : Kubesphere | Check elasticsearch data StatefulSet] **************
skipping: [localhost]
TASK [common : Kubesphere | Check elasticsearch storageclass] ******************
skipping: [localhost]
TASK [common : Kubesphere | Comment elasticsearch storageclass parameter] ******
skipping: [localhost]
TASK [common : KubeSphere | Check internal es] *********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy elasticsearch-logging] **********************
skipping: [localhost]
TASK [common : Kubesphere | Get PersistentVolume Name] *************************
skipping: [localhost]
TASK [common : Kubesphere | Patch PersistentVolume (persistentVolumeReclaimPolicy)] ***
skipping: [localhost]
TASK [common : Kubesphere | Delete elasticsearch] ******************************
skipping: [localhost]
TASK [common : Kubesphere | Waiting for seconds] *******************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy elasticsearch-logging] **********************
skipping: [localhost]
TASK [common : Kubesphere | import es status] **********************************
skipping: [localhost]
TASK [common : Kubesphere | Deploy elasticsearch-logging-curator] **************
skipping: [localhost]
TASK [common : Kubesphere | Getting elasticsearch and curator installation files] ***
skipping: [localhost]
TASK [common : Kubesphere | Creating custom manifests] *************************
skipping: [localhost] => (item={‘path’: ‘fluentbit’, ‘file’: ‘custom-fluentbit-fluentBit.yaml’})
skipping: [localhost] => (item={‘path’: ‘init’, ‘file’: ‘custom-fluentbit-operator-deployment.yaml’})
skipping: [localhost] => (item={‘path’: ‘migrator’, ‘file’: ‘custom-migrator-job.yaml’})
TASK [common : Kubesphere | Checking fluentbit-version] ************************
skipping: [localhost]
TASK [common : Kubesphere | Backup old fluentbit crd] **************************
skipping: [localhost]
TASK [common : Kubesphere | Deleting old fluentbit operator] *******************
skipping: [localhost] => (item={‘type’: ‘deploy’, ‘name’: ‘logging-fluentbit-operator’})
skipping: [localhost] => (item={‘type’: ‘fluentbits.logging.kubesphere.io’, ‘name’: ‘fluent-bit’})
skipping: [localhost] => (item={‘type’: ‘ds’, ‘name’: ‘fluent-bit’})
skipping: [localhost] => (item={‘type’: ‘crd’, ‘name’: ‘fluentbits.logging.kubesphere.io’})
TASK [common : Kubesphere | Prepare fluentbit operator setup] ******************
skipping: [localhost]
TASK [common : Kubesphere | Migrate fluentbit operator old config] *************
skipping: [localhost]
TASK [common : Kubesphere | Deploy new fluentbit operator] *********************
skipping: [localhost]
TASK [common : Kubesphere | import fluentbit status] ***************************
skipping: [localhost]
TASK [common : Setting persistentVolumeReclaimPolicy (mysql)] ******************
skipping: [localhost]
TASK [common : Setting persistentVolumeReclaimPolicy (etcd)] *******************
skipping: [localhost]
PLAY RECAP *********************************************************************
localhost : ok=32 changed=21 unreachable=0 failed=0 skipped=125 rescued=0 ignored=6
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that
the implicit localhost does not match ‘all’
PLAY [localhost] ***************************************************************
TASK [download : include_tasks] ************************************************
skipping: [localhost]
TASK [download : Download items] ***********************************************
skipping: [localhost]
TASK [download : Sync container] ***********************************************
skipping: [localhost]
TASK [kubesphere-defaults : Configure defaults] ********************************
ok: [localhost] => {
“msg”: “Check roles/kubesphere-defaults/defaults/main.yml”
}
TASK [ks-core/prepare : KubeSphere | Check core components (1)] ****************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Check core components (2)] ****************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Check core components (3)] ****************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Check core components (4)] ****************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Update ks-core status] ********************
skipping: [localhost]
TASK [ks-core/prepare : set_fact] **********************************************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Create KubeSphere dir] ********************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Getting installation init files] **********
skipping: [localhost] => (item=ks-init)
TASK [ks-core/prepare : Kubesphere | Checking account init] ********************
skipping: [localhost]
TASK [ks-core/prepare : Kubesphere | Init account] *****************************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Init KubeSphere] **************************
skipping: [localhost] => (item=iam-accounts.yaml)
skipping: [localhost] => (item=webhook-secret.yaml)
skipping: [localhost] => (item=users.iam.kubesphere.io.yaml)
TASK [ks-core/prepare : KubeSphere | Getting controls-system file] *************
skipping: [localhost] => (item={‘name’: ‘kubesphere-controls-system’, ‘file’: ‘kubesphere-controls-system.yaml’})
TASK [ks-core/prepare : KubeSphere | Installing controls-system] ***************
skipping: [localhost]
TASK [ks-core/prepare : KubeSphere | Generate kubeconfig-admin] ****************
skipping: [localhost]
TASK [ks-core/init-token : KubeSphere | Create KubeSphere dir] *****************
ok: [localhost]
TASK [ks-core/init-token : KubeSphere | Getting installation init files] *******
ok: [localhost] => (item=jwt-script)
TASK [ks-core/init-token : KubeSphere | Creating KubeSphere Secret] ************
changed: [localhost]
TASK [ks-core/init-token : KubeSphere | Creating KubeSphere Secret] ************
ok: [localhost]
TASK [ks-core/init-token : KubeSphere | Creating KubeSphere Secret] ************
skipping: [localhost]
TASK [ks-core/init-token : KubeSphere | Enable Token Script] *******************
ok: [localhost]
TASK [ks-core/init-token : KubeSphere | Getting KS Token] **********************
changed: [localhost]
TASK [ks-core/init-token : Kubesphere | Checking kubesphere secrets] ***********
changed: [localhost]
TASK [ks-core/init-token : Kubesphere | Delete kubesphere secret] **************
skipping: [localhost]
TASK [ks-core/init-token : KubeSphere | Create components token] ***************
changed: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting kubernetes version] ***************
skipping: [localhost]
TASK [ks-core/ks-core : KubeSphere | Setting kubernetes version] ***************
skipping: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting kubernetes master num] ************
skipping: [localhost]
TASK [ks-core/ks-core : KubeSphere | Setting master num] ***********************
skipping: [localhost]
TASK [ks-core/ks-core : ks-console | Checking ks-console svc] ******************
skipping: [localhost]
TASK [ks-core/ks-core : ks-console | Getting ks-console svc port] **************
skipping: [localhost]
TASK [ks-core/ks-core : ks-console | Setting console_port] *********************
skipping: [localhost]
TASK [ks-core/ks-core : KubeSphere | Getting Ingress installation files] *******
skipping: [localhost] => (item=ingress)
skipping: [localhost] => (item=ks-apiserver)
skipping: [localhost] => (item=ks-console)
skipping: [localhost] => (item=ks-controller-manager)
TASK [ks-core/ks-core : KubeSphere | Creating manifests] ***********************
skipping: [localhost] => (item={‘path’: ‘ingress’, ‘file’: ‘ingress-controller.yaml’, ‘type’: ‘config’})
skipping: [localhost] => (item={‘path’: ‘ks-apiserver’, ‘file’: ‘ks-apiserver.yml’, ‘type’: ‘deploy’})
skipping: [localhost] => (item={‘path’: ‘ks-controller-manager’, ‘file’: ‘ks-controller-manager.yaml’, ‘type’: ‘deploy’})
skipping: [localhost] => (item={‘path’: ‘ks-console’, ‘file’: ‘ks-console-config.yml’, ‘type’: ‘config’})
skipping: [localhost] => (item={‘path’: ‘ks-console’, ‘file’: ‘ks-console-deployment.yml’, ‘type’: ‘deploy’})
skipping: [localhost] => (item={‘path’: ‘ks-console’, ‘file’: ‘ks-console-svc.yml’, ‘type’: ‘svc’})
skipping: [localhost] => (item={‘path’: ‘ks-console’, ‘file’: ‘sample-bookinfo-configmap.yaml’, ‘type’: ‘config’})
TASK [ks-core/ks-core : KubeSphere | Delete Ingress-controller configmap] ******
skipping: [localhost]
TASK [ks-core/ks-core : KubeSphere | Creating Ingress-controller configmap] ****
skipping: [localhost]
`