ks-installer icon indicating copy to clipboard operation
ks-installer copied to clipboard

OpenPitrix | Import App task failed

Open RolandMa1986 opened this issue 3 years ago • 0 comments

ks-install shows "OpenPitrix | Import App" task was failed caused by the following error:

"stdout_lines": []
},
"role": "openpitrix",
"start": "2021-04-21T03:07:58.383429",
"task": "OpenPitrix | Import App",
"task_action": "command",
"task_args": "",
"task_path": "/kubesphere/installer/roles/openpitrix/tasks/main.yaml:20",
"task_uuid": "f6e5ec58-ed18-5203-b3ad-00000000001a",
"uuid": "97c5f4e5-b96e-4977-82e6-f7fd8b6c00df"
},
"parent_uuid": "f6e5ec58-ed18-5203-b3ad-00000000001a",
"pid": 3285,
"runner_ident": "openpitrix",
"start_line": 33,
"stdout": "fatal: [localhost]: FAILED! => {\"changed\": true, \"cmd\": \"/usr/local/bin/kubectl apply -f /kubesphere/kubesphere/openpitrix/ks-openpitrix-import.yaml\\n\", \"delta\": \"0:00:00.236187\", \"end\": \"2021-04-21 03:07:58.914227\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2021-04-21 03:07:58.678040\", \"stderr\": \"The Job \\\"openpitrix-import-job\\\" is invalid: spec.template: Invalid value: core.PodTemplateSpec{ObjectMeta:v1.ObjectMeta{Name:\\\"\\\", GenerateName:\\\"\\\", Namespace:\\\"\\\", SelfLink:\\\"\\\", UID:\\\"\\\", ResourceVersion:\\\"\\\", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string{\\\"app\\\":\\\"openpitrix\\\", \\\"component\\\":\\\"openpitrix-import-job\\\", \\\"controller-uid\\\":\\\"9d2d15da-765a-4137-9565-ad17d10db618\\\", \\\"job-name\\\":\\\"openpitrix-import-job\\\"}, Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:\\\"\\\", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:core.PodSpec{Volumes:[]core.Volume{core.Volume{Name:\\\"kubesphere-config\\\", VolumeSource:core.VolumeSource{HostPath:(*core.HostPathVolumeSource)(nil), EmptyDir:(*core.EmptyDirVolumeSource)(nil), GCEPersistentDisk:(*core.GCEPersistentDiskVolumeSource)(nil), AWSElasticBlockStore:(*core.AWSElasticBlockStoreVolumeSource)(nil), GitRepo:(*core.GitRepoVolumeSource)(nil), Secret:(*core.SecretVolumeSource)(nil), NFS

/kind bug /priority high /cc @xyz-li

RolandMa1986 avatar Apr 21 '21 03:04 RolandMa1986