[root@ydms-bk-sreworks ~]# kubectl -n sreworks logs -f sreworks-saas-dataops-init-job-8jm7g
+ cd /root
+ sh /app/core-deploy-check.sh
check flycore deploy success!
+ export 'NAMESPACE_ID=sreworks-dataops'
+ export 'NODE_NAME=${NODE_NAME}'
+ export 'NODE_IP=${NODE_IP}'
+ envsubst
+ envsubst
+ envsubst
+ envsubst
+ envsubst
+ python /app/pack.py --src /root/saas/dataops/build --dest /root/saas/dataops/build.zip
+ '[[' prod-dataops-mysql.sreworks-dataops '!=' prod-dataops-mysql.sreworks-dataops ]]
+ '[[' prod-dataops-elasticsearch-master.sreworks-dataops '!=' prod-dataops-elasticsearch-master.sreworks-dataops ]]
+ '[[' true '==' false ]]
+ '[[' true '==' false ]]
+ '[[' false '==' true ]]
+ sh /app/import.sh dataops /root/saas/dataops/build.zip /root/saas/dataops/launch.yaml /root/saas/dataops/launch-frontend-dev.yaml
+ sh /app/core-action-service-check.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 102 0 102 0 0 14548 0 --:--:-- --:--:-- --:--:-- 17000
+ /root/swcli --config /swcli/swcli.yaml app-package import --app-id dataops --filepath /root/saas/dataops/build.zip '--print-only-app-package-id=true' '--reset-version=true'
{"timestamp":"2022-11-24T15:08:55.735+00:00","status":404,"error":"Not Found","message":"","path":"/"}action service is ok
2022-11-24T15:08:57Z INF app package has imported to appmanager
+ result=131
+ /root/swcli --config /swcli/swcli.yaml deployment launch --namespace sreworks-dataops --stage prod --app-id dataops --path /root/saas/dataops/launch.yaml --app-package-id 131 --arch x86 '--wait=true' --cluster master
2022-11-24T15:08:57Z INF app package has deployed, deploy app id 72
2022-11-24T15:08:57Z INF not finished yet...
2022-11-24T15:09:02Z INF not finished yet...
2022-11-24T15:09:07Z INF not finished yet...
2022-11-24T15:09:12Z INF not finished yet...
2022-11-24T15:09:17Z INF not finished yet...
2022-11-24T15:09:22Z INF not finished yet...
2022-11-24T15:09:27Z INF not finished yet...
2022-11-24T15:09:32Z INF not finished yet...
2022-11-24T15:09:37Z INF not finished yet...
2022-11-24T15:09:43Z INF not finished yet...
2022-11-24T15:09:48Z INF not finished yet...
{
"namespaceId": "sreworks-dataops",
"gmtStart": null,
"deployCreator": "superuser",
"id": 72,
"appId": "dataops",
"readableGmtEnd": null,
"stageId": "prod",
"readableGmtStart": null,
"clusterId": "master",
"cost": "54000",
"deployStatus": "WAIT_FOR_OP",
"gmtModified": 1669302591000,
"packageVersion": "1.3.5+20221124150855860683",
"readableGmtModified": "2022-11-24 15:09:51",
"appPackageId": 131,
"simplePackageVersion": "1.3.5",
"gmtEnd": null,
"deployErrorMessage": "[{\"nodeId\":\"DeployAppWaitComponentNode\",\"details\":\"[ERR-10008] deploy component K8S_MICROSERVICE|pmdb|1.3.5+20221124150856691929 failed|status=WAIT_FOR_OP|errorMessage={\\\"condition\\\":\\\"Failure\\\",\\\"conditions\\\":[{\\\"lastTransitionTime\\\":\\\"2022-11-24T11:08:46Z\\\",\\\"message\\\":\\\"OK\\\",\\\"observedGeneration\\\":2,\\\"reason\\\":\\\"LastReconcileCycleSucceded\\\",\\\"status\\\":\\\"True\\\",\\\"type\\\":\\\"ReconcileSuccess\\\"}]}\\n\\tat com.alibaba.tesla.appmanager.server.dag.nodes.DeployAppWaitComponentNode.waitForAvailableComponent(DeployAppWaitComponentNode.java:156)\\n\\tat com.alibaba.tesla.appmanager.server.dag.nodes.DeployAppWaitComponentNode.run(DeployAppWaitComponentNode.java:58)\\n\\tat com.alibaba.tesla.dag.services.LocalTaskService$LocalTask.run(LocalTaskService.java:232)\\n\\tat java.base\/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\\n\\tat java.base\/java.util.concurrent.FutureTask.run(FutureTask.java:264)\\n\\tat java.base\/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\\n\\tat java.base\/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\\n\\tat java.base\/java.lang.Thread.run(Thread.java:829)\\n\"}]",
"deployAppConfiguration": null,
"gmtCreate": 1669302537000,
"readableGmtCreate": "2022-11-24 15:08:57",
"deployComponents": [
{
"deployProcessId": null,
"identifier": "TRAIT_ADDON|K8S_MICROSERVICE~dataset~gateway.trait.abm.io|_",
"appId": "dataops",
"gmtStart": 1669302590000,
"gmtEnd": 1669302590000,
"deployErrorMessage": null,
"readableGmtModified": "2022-11-24 15:09:50",
"deployId": 72,
"deployType": "TRAIT",
"readableGmtStart": "2022-11-24 15:09:50",
"readableGmtEnd": "2022-11-24 15:09:50",
"deployStatus": "SUCCESS",
"gmtCreate": 1669302590000,
"gmtModified": 1669302590000,
"clusterId": "master",
"stageId": "prod",
"cost": "0",
"id": 917,
"readableGmtCreate": "2022-11-24 15:09:50",
"namespaceId": "sreworks-dataops",
"deployCreator": "superuser"
},
{
"gmtStart": 1669302590000,
"cost": "0",
"deployType": "TRAIT",
"appId": "dataops",
"stageId": "prod",
"readableGmtModified": "2022-11-24 15:09:50",
"clusterId": "master",
"readableGmtCreate": "2022-11-24 15:09:50",
"gmtModified": 1669302590000,
"namespaceId": "sreworks-dataops",
"readableGmtStart": "2022-11-24 15:09:50",
"deployStatus": "SUCCESS",
"deployErrorMessage": null,
"id": 916,
"gmtCreate": 1669302590000,
"deployProcessId": null,
"gmtEnd": 1669302590000,
"readableGmtEnd": "2022-11-24 15:09:50",
"deployCreator": "superuser",
"deployId": 72,
"identifier": "TRAIT_ADDON|K8S_MICROSERVICE~dataset~service.trait.abm.io|_"
},
{
"identifier": "TRAIT_ADDON|K8S_MICROSERVICE~warehouse~gateway.trait.abm.io|_",
"appId": "dataops",
"stageId": "prod",
"cost": "0",
"deployCreator": "superuser",
"readableGmtCreate": "2022-11-24 15:09:48",
"namespaceId": "sreworks-dataops",
"readableGmtStart": "2022-11-24 15:09:47",
"readableGmtEnd": "2022-11-24 15:09:48",
"deployErrorMessage": null,
"deployProcessId": null,
"gmtEnd": 1669302588000,
"deployStatus": "SUCCESS",
"gmtCreate": 1669302588000,
"gmtModified": 1669302588000,
"deployId": 72,
"deployType": "TRAIT",
"clusterId": "master",
"gmtStart": 1669302587000,
"id": 915,
"readableGmtModified": "2022-11-24 15:09:48"
},
{
"readableGmtEnd": "2022-11-24 15:09:47",
"deployStatus": "SUCCESS",
"deployProcessId": null,
"readableGmtCreate": "2022-11-24 15:09:47",
"appId": "dataops",
"stageId": "prod",
"namespaceId": "sreworks-dataops",
"gmtStart": 1669302587000,
"gmtEnd": 1669302587000,
"cost": "0",
"deployErrorMessage": null,
"deployId": 72,
"deployType": "TRAIT",
"identifier": "TRAIT_ADDON|K8S_MICROSERVICE~warehouse~service.trait.abm.io|_",
"deployCreator": "superuser",
"gmtCreate": 1669302587000,
"clusterId": "master",
"readableGmtStart": "2022-11-24 15:09:47",
"id": 914,
"gmtModified": 1669302587000,
"readableGmtModified": "2022-11-24 15:09:47"
},
{
"readableGmtCreate": "2022-11-24 15:09:43",
"gmtModified": 1669302587000,
"stageId": "prod",
"cost": "4000",
"deployProcessId": null,
"appId": "dataops",
"clusterId": "master",
"readableGmtStart": "2022-11-24 15:09:43",
"deployStatus": "SUCCESS",
"id": 913,
"readableGmtModified": "2022-11-24 15:09:47",
"identifier": "HELM|ververica-platform|1.3.5+20221124150856263099",
"namespaceId": "sreworks-dataops",
"gmtStart": 1669302583000,
"deployErrorMessage": null,
"deployCreator": "superuser",
"gmtCreate": 1669302583000,
"deployId": 72,
"deployType": "COMPONENT",
"gmtEnd": null,
"readableGmtEnd": null
},
{
"gmtCreate": 1669302583000,
"readableGmtCreate": "2022-11-24 15:09:43",
"readableGmtModified": "2022-11-24 15:09:48",
"gmtEnd": null,
"deployCreator": "superuser",
"deployProcessId": null,
"gmtModified": 1669302588000,
"deployType": "COMPONENT",
"clusterId": "master",
"cost": "5000",
"appId": "dataops",
"namespaceId": "sreworks-dataops",
"gmtStart": 1669302583000,
"readableGmtStart": "2022-11-24 15:09:43",
"deployStatus": "SUCCESS",
"id": 912,
"deployId": 72,
"identifier": "HELM|elasticsearch|1.3.5+20221124150856536863",
"stageId": "prod",
"readableGmtEnd": null,
"deployErrorMessage": null
},
{
"gmtCreate": 1669302583000,
"readableGmtCreate": "2022-11-24 15:09:43",
"deployId": 72,
"deployType": "COMPONENT",
"readableGmtStart": "2022-11-24 15:09:43",
"deployCreator": "superuser",
"id": 911,
"gmtEnd": null,
"deployProcessId": null,
"clusterId": "master",
"readableGmtModified": "2022-11-24 15:09:47",
"identifier": "HELM|mysql|1.3.5+20221124150856998382",
"namespaceId": "sreworks-dataops",
"stageId": "prod",
"cost": "4000",
"deployErrorMessage": null,
"gmtModified": 1669302587000,
"gmtStart": 1669302583000,
"readableGmtEnd": null,
"deployStatus": "SUCCESS",
"appId": "dataops"
},
{
"appId": "dataops",
"stageId": "prod",
"readableGmtStart": "2022-11-24 15:09:43",
"deployType": "COMPONENT",
"clusterId": "master",
"readableGmtEnd": null,
"deployStatus": "SUCCESS",
"deployErrorMessage": null,
"deployProcessId": null,
"id": 910,
"gmtCreate": 1669302583000,
"readableGmtModified": "2022-11-24 15:09:47",
"deployId": 72,
"identifier": "HELM|kibana|1.3.5+20221124150856221529",
"gmtEnd": null,
"deployCreator": "superuser",
"readableGmtCreate": "2022-11-24 15:09:43",
"gmtModified": 1669302587000,
"namespaceId": "sreworks-dataops",
"gmtStart": 1669302583000,
"cost": "4000"
},
{
"deployCreator": "superuser",
"id": 909,
"gmtModified": 1669302587000,
"readableGmtModified": "2022-11-24 15:09:47",
"readableGmtStart": "2022-11-24 15:09:42",
"readableGmtEnd": null,
"cost": "5000",
"readableGmtCreate": "2022-11-24 15:09:42",
"identifier": "HELM|prometheus|1.3.5+20221124150856871379",
"deployProcessId": null,
"stageId": "prod",
"gmtStart": 1669302582000,
"gmtEnd": null,
"deployErrorMessage": null,
"deployStatus": "SUCCESS",
"gmtCreate": 1669302582000,
"deployId": 72,
"deployType": "COMPONENT",
"appId": "dataops",
"clusterId": "master",
"namespaceId": "sreworks-dataops"
},
{
"gmtStart": 1669302581000,
"gmtEnd": null,
"gmtCreate": 1669302581000,
"readableGmtCreate": "2022-11-24 15:09:41",
"clusterId": "master",
"deployCreator": "superuser",
"deployProcessId": null,
"deployType": "COMPONENT",
"namespaceId": "sreworks-dataops",
"deployErrorMessage": null,
"deployId": 72,
"identifier": "HELM|filebeat|1.3.5+20221124150856909489",
"appId": "dataops",
"stageId": "prod",
"readableGmtEnd": null,
"id": 908,
"gmtModified": 1669302585000,
"readableGmtModified": "2022-11-24 15:09:45",
"cost": "4000",
"deployStatus": "SUCCESS",
"readableGmtStart": "2022-11-24 15:09:41"
},
{
"id": 907,
"deployProcessId": null,
"stageId": "prod",
"deployStatus": "SUCCESS",
"gmtCreate": 1669302580000,
"readableGmtCreate": "2022-11-24 15:09:40",
"readableGmtModified": "2022-11-24 15:09:44",
"deployId": 72,
"deployCreator": "superuser",
"deployType": "COMPONENT",
"readableGmtEnd": null,
"cost": "4000",
"deployErrorMessage": null,
"namespaceId": "sreworks-dataops",
"gmtStart": 1669302580000,
"readableGmtStart": "2022-11-24 15:09:40",
"gmtEnd": null,
"gmtModified": 1669302584000,
"identifier": "HELM|metricbeat|1.3.5+20221124150856498531",
"appId": "dataops",
"clusterId": "master"
},
{
"readableGmtCreate": "2022-11-24 15:09:39",
"gmtModified": 1669302584000,
"readableGmtModified": "2022-11-24 15:09:44",
"appId": "dataops",
"namespaceId": "sreworks-dataops",
"deployStatus": "SUCCESS",
"id": 906,
"clusterId": "master",
"gmtStart": 1669302579000,
"readableGmtEnd": null,
"deployCreator": "superuser",
"deployProcessId": null,
"deployType": "COMPONENT",
"identifier": "HELM|skywalking|1.3.5+20221124150856128370",
"stageId": "prod",
"readableGmtStart": "2022-11-24 15:09:39",
"gmtEnd": null,
"deployErrorMessage": null,
"gmtCreate": 1669302579000,
"cost": "5000",
"deployId": 72
},
{
"readableGmtStart": "2022-11-24 15:09:38",
"readableGmtEnd": null,
"identifier": "K8S_MICROSERVICE|warehouse|1.3.5+20221124150856386167",
"readableGmtModified": "2022-11-24 15:09:39",
"deployType": "COMPONENT",
"appId": "dataops",
"clusterId": "master",
"namespaceId": "sreworks-dataops",
"stageId": "prod",
"cost": "1000",
"gmtModified": 1669302579000,
"deployStatus": "SUCCESS",
"gmtCreate": 1669302578000,
"gmtStart": 1669302578000,
"gmtEnd": null,
"deployErrorMessage": null,
"deployCreator": "superuser",
"id": 905,
"deployId": 72,
"deployProcessId": null,
"readableGmtCreate": "2022-11-24 15:09:38"
},
{
"readableGmtCreate": "2022-11-24 15:09:37",
"identifier": "HELM|grafana|1.3.5+20221124150856735067",
"appId": "dataops",
"readableGmtStart": "2022-11-24 15:09:37",
"deployStatus": "SUCCESS",
"id": 904,
"deployId": 72,
"clusterId": "master",
"gmtEnd": null,
"deployCreator": "superuser",
"gmtCreate": 1669302577000,
"readableGmtModified": "2022-11-24 15:09:43",
"cost": "6000",
"deployErrorMessage": null,
"gmtModified": 1669302583000,
"deployType": "COMPONENT",
"namespaceId": "sreworks-dataops",
"stageId": "prod",
"gmtStart": 1669302577000,
"readableGmtEnd": null,
"deployProcessId": null
},
{
"readableGmtStart": "2022-11-24 15:09:37",
"deployId": 72,
"deployType": "COMPONENT",
"identifier": "HELM|kubecost|1.3.5+20221124150856751925",
"clusterId": "master",
"stageId": "prod",
"cost": "10000",
"deployCreator": "superuser",
"deployProcessId": null,
"gmtModified": 1669302587000,
"readableGmtModified": "2022-11-24 15:09:47",
"appId": "dataops",
"namespaceId": "sreworks-dataops",
"deployErrorMessage": null,
"readableGmtEnd": null,
"deployStatus": "SUCCESS",
"id": 903,
"gmtCreate": 1669302577000,
"readableGmtCreate": "2022-11-24 15:09:37",
"gmtStart": 1669302577000,
"gmtEnd": null
},
{
"id": 902,
"gmtCreate": 1669302575000,
"appId": "dataops",
"gmtStart": 1669302575000,
"cost": "1000",
"deployProcessId": null,
"deployId": 72,
"stageId": "prod",
"gmtEnd": null,
"readableGmtEnd": null,
"deployCreator": "superuser",
"readableGmtCreate": "2022-11-24 15:09:35",
"gmtModified": 1669302576000,
"deployType": "COMPONENT",
"clusterId": "master",
"readableGmtStart": "2022-11-24 15:09:35",
"deployStatus": "WAIT_FOR_OP",
"readableGmtModified": "2022-11-24 15:09:36",
"identifier": "K8S_MICROSERVICE|pmdb|1.3.5+20221124150856691929",
"namespaceId": "sreworks-dataops",
"deployErrorMessage": "{\"condition\":\"Failure\",\"conditions\":[{\"lastTransitionTime\":\"2022-11-24T11:08:46Z\",\"message\":\"OK\",\"observedGeneration\":2,\"reason\":\"LastReconcileCycleSucceded\",\"status\":\"True\",\"type\":\"ReconcileSuccess\"}]}"
},
{
"stageId": "prod",
"readableGmtStart": "2022-11-24 15:09:35",
"deployProcessId": null,
"gmtModified": 1669302579000,
"deployErrorMessage": null,
"deployId": 72,
"identifier": "HELM|kafka|1.3.5+20221124150856688696",
"appId": "dataops",
"clusterId": "master",
"gmtStart": 1669302575000,
"gmtEnd": null,
"id": 901,
"readableGmtCreate": "2022-11-24 15:09:35",
"deployStatus": "SUCCESS",
"deployCreator": "superuser",
"deployType": "COMPONENT",
"namespaceId": "sreworks-dataops",
"readableGmtEnd": null,
"cost": "4000",
"gmtCreate": 1669302575000,
"readableGmtModified": "2022-11-24 15:09:39"
},
{
"readableGmtModified": "2022-11-24 15:09:46",
"clusterId": "master",
"namespaceId": "sreworks-dataops",
"readableGmtEnd": null,
"cost": "11000",
"deployStatus": "SUCCESS",
"deployProcessId": null,
"identifier": "K8S_MICROSERVICE|dataset|1.3.5+20221124150856705740",
"gmtCreate": 1669302575000,
"deployId": 72,
"gmtEnd": null,
"deployErrorMessage": null,
"deployCreator": "superuser",
"id": 900,
"readableGmtCreate": "2022-11-24 15:09:35",
"gmtModified": 1669302586000,
"deployType": "COMPONENT",
"appId": "dataops",
"stageId": "prod",
"gmtStart": 1669302575000,
"readableGmtStart": "2022-11-24 15:09:35"
},
{
"readableGmtModified": "2022-11-24 15:09:15",
"clusterId": "master",
"readableGmtEnd": null,
"id": 899,
"namespaceId": "sreworks-dataops",
"readableGmtStart": "2022-11-24 15:09:15",
"deployErrorMessage": null,
"gmtModified": 1669302555000,
"identifier": "INTERNAL_ADDON|appmeta|1.3.5+20221124150856369596",
"stageId": "prod",
"gmtEnd": null,
"deployCreator": "superuser",
"readableGmtCreate": "2022-11-24 15:09:15",
"deployId": 72,
"deployType": "COMPONENT",
"appId": "dataops",
"gmtStart": 1669302555000,
"cost": "0",
"deployStatus": "SUCCESS",
"deployProcessId": null,
"gmtCreate": 1669302555000
},
{
"id": 898,
"deployId": 72,
"deployType": "COMPONENT",
"appId": "dataops",
"namespaceId": "sreworks-dataops",
"stageId": "prod",
"readableGmtEnd": null,
"deployErrorMessage": null,
"deployCreator": "superuser",
"gmtCreate": 1669302555000,
"readableGmtModified": "2022-11-24 15:09:15",
"identifier": "INTERNAL_ADDON|developmentmeta|1.3.5+20221124150856960748",
"gmtEnd": null,
"readableGmtCreate": "2022-11-24 15:09:15",
"clusterId": "master",
"gmtStart": 1669302555000,
"cost": "0",
"deployProcessId": null,
"gmtModified": 1669302555000,
"readableGmtStart": "2022-11-24 15:09:15",
"deployStatus": "SUCCESS"
},
{
"readableGmtModified": "2022-11-24 15:09:17",
"appId": "dataops",
"namespaceId": "sreworks-dataops",
"stageId": "prod",
"deployCreator": "superuser",
"deployProcessId": null,
"readableGmtCreate": "2022-11-24 15:09:15",
"gmtModified": 1669302557000,
"identifier": "INTERNAL_ADDON|productopsv2|1.3.5+20221124150856384710",
"clusterId": "master",
"gmtStart": 1669302555000,
"deployStatus": "SUCCESS",
"deployErrorMessage": null,
"deployId": 72,
"gmtEnd": null,
"id": 897,
"gmtCreate": 1669302555000,
"deployType": "COMPONENT",
"readableGmtStart": "2022-11-24 15:09:15",
"readableGmtEnd": null,
"cost": "2000"
}
],
"deployProcessId": 66201,
"configSha256": "a4d0b1109ea2ec929164b935cdc23e6b1cf38ad1f19cbdeb041bb7838d90ea30"
}