Open sarveshtamba opened 4 years ago
Built the image quay.io/eclipse/che-nodejs10-ubi:nightly
for nodejs devfile.yaml on Power using build_images.sh
Also I was able to build odo-init-image
using golang:1.12 as base image alongwith changes to set GOARCH=ppc64le in Dockerfile.
However when I do odo push
I face the following issues:-
[root@shivani2-bastion nodejs-ex]# ODO_BOOTSTRAPPER_IMAGE=docker.io/stamba/odo-init-image:latest odo push -f
Validation
✓ Validating the devfile [75056ns]
Creating Kubernetes resources for component mynodejs
✓ Waiting for component to start [54ms]
Applying URL changes
✓ URL mynodejs-3000 successfully deleted
✓ URL mynodejs-3000: http://mynodejs-3000-default.apps.shivani2.example.com created
Syncing to component mynodejs
◒ Syncing files to the component ✗
Unable to exec command [mkdir -p /projects/nodejs-web-app]:
time="2020-06-23T12:11:52Z" level=error msg="exec failed: container_linux.go:349: starting container process caused \"exec format error\""
exec failed: container_linux.go:349: starting container process caused "exec format error"
✗ Syncing files to the component [865ms]
✗ Failed to start component with name mynodejs.
Error: Failed to create the component: Failed to sync to component with name mynodejs: failed to sync to component with name mynodejs: error while streaming command: command terminated with exit code 1
[root@shivani2-bastion nodejs-ex]# ODO_BOOTSTRAPPER_IMAGE=docker.io/stamba/odo-init-image:latest odo push -f -v9
I0623 08:10:37.815826 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:37.816130 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:37.822135 37153 loader.go:375] Config loaded from file: /home/cloud-user/openstack-upi/auth/kubeconfig
I0623 08:10:37.824507 37153 round_trippers.go:423] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/api/v1/namespaces/default'
I0623 08:10:38.201569 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/api/v1/namespaces/default 200 OK in 377 milliseconds
I0623 08:10:38.201650 37153 round_trippers.go:449] Response Headers:
I0623 08:10:38.201666 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:38.201679 37153 round_trippers.go:452] Content-Length: 452
I0623 08:10:38.201692 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:38 GMT
I0623 08:10:38.201705 37153 round_trippers.go:452] Audit-Id: 844410bf-9ef1-4af6-ba62-567fc74325a7
I0623 08:10:38.201717 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:38.201773 37153 request.go:1022] Response Body: {"kind":"Namespace","apiVersion":"v1","metadata":{"name":"default","selfLink":"/api/v1/namespaces/default","uid":"b219022b-695d-49bf-8cfb-9fe1f7dfa482","resourceVersion":"8180","creationTimestamp":"2020-06-22T09:40:44Z","annotations":{"openshift.io/sa.scc.mcs":"s0:c8,c2","openshift.io/sa.scc.supplemental-groups":"1000060000/10000","openshift.io/sa.scc.uid-range":"1000060000/10000"}},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}}
I0623 08:10:38.203462 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:38.203671 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:38.203773 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:38.203888 37153 context.go:48] absolute devfile path: '/home/cloud-user/odo/nodejs-ex/devfile.yaml'
I0623 08:10:38.204466 37153 content.go:32] converted devfile YAML to JSON
I0623 08:10:38.204640 37153 apiVersion.go:50] devfile apiVersion: '1.0.0'
I0623 08:10:38.204664 37153 context.go:64] devfile apiVersion '1.0.0' is supported in odo
I0623 08:10:38.209658 37153 schema.go:47] validated devfile schema
I0623 08:10:38.210401 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:38.210497 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:38.217259 37153 loader.go:375] Config loaded from file: /home/cloud-user/openstack-upi/auth/kubeconfig
I0623 08:10:38.218612 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:38.218710 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:38.218899 37153 round_trippers.go:423] curl -k -v -XGET -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" -H "Accept: application/json, */*" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" 'https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments/mynodejs'
I0623 08:10:38.276919 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments/mynodejs 200 OK in 57 milliseconds
I0623 08:10:38.277009 37153 round_trippers.go:449] Response Headers:
I0623 08:10:38.277054 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:38 GMT
I0623 08:10:38.277084 37153 round_trippers.go:452] Audit-Id: fe7b82d6-89d0-4215-9ee0-d9cde9dc299b
I0623 08:10:38.277152 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:38.277169 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:38.277184 37153 round_trippers.go:452] Content-Length: 2577
I0623 08:10:38.277376 37153 request.go:1022] Response Body: {"kind":"Deployment","apiVersion":"apps/v1","metadata":{"name":"mynodejs","namespace":"default","selfLink":"/apis/apps/v1/namespaces/default/deployments/mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9","resourceVersion":"465150","generation":8,"creationTimestamp":"2020-06-23T08:10:42Z","labels":{"component":"mynodejs"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"mynodejs"}},"template":{"metadata":{"name":"mynodejs","namespace":"default","creationTimestamp":null,"labels":{"component":"mynodejs"}},"spec":{"volumes":[{"name":"odo-projects","emptyDir":{}},{"name":"odo-supervisord-shared-data","emptyDir":{}}],"initContainers":[{"name":"copy-supervisord","image":"docker.io/stamba/odo-init-image:latest","command":["/usr/bin/cp"],"args":["-r","/opt/odo-init/.","/opt/odo/"],"resources":{},"volumeMounts":[{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"containers":[{"name":"runtime","image":"quay.io/eclipse/che-nodejs10-ubi:nightly","command":["/opt/odo/bin/supervisord"],"args":["-c","/opt/odo/conf/devfile-supervisor.conf"],"ports":[{"name":"nodejs","containerPort":3000,"protocol":"TCP"}],"env":[{"name":"CHE_PROJECTS_ROOT","value":"/projects"},{"name":"ODO_COMMAND_RUN","value":"nodemon app.js"},{"name":"ODO_COMMAND_RUN_WORKING_DIR","value":"${CHE_PROJECTS_ROOT}/nodejs-web-app/app"}],"resources":{"limits":{"memory":"1Gi"}},"volumeMounts":[{"name":"odo-projects","mountPath":"/projects"},{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"Recreate"},"revisionHistoryLimit":10,"progressDeadlineSeconds":600},"status":{"observedGeneration":8,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2020-06-23T08:11:43Z","lastTransitionTime":"2020-06-23T08:11:43Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2020-06-23T08:11:43Z","lastTransitionTime":"2020-06-23T08:10:42Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"mynodejs-57b586b5f6\" has successfully progressed."}]}}
I0623 08:10:38.290337 37153 pods.go:29] Waiting for component=mynodejs pod
I0623 08:10:38.290449 37153 round_trippers.go:423] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/api/v1/namespaces/default/pods?labelSelector=component%3Dmynodejs&watch=true'
I0623 08:10:38.297445 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/api/v1/namespaces/default/pods?labelSelector=component%3Dmynodejs&watch=true 200 OK in 6 milliseconds
I0623 08:10:38.297467 37153 round_trippers.go:449] Response Headers:
I0623 08:10:38.297476 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:38.297484 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:38 GMT
I0623 08:10:38.297491 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:38.311040 37153 pods.go:56] Status of mynodejs-57b586b5f6-xzj8q pod is Running
I0623 08:10:38.311060 37153 pods.go:62] Pod mynodejs-57b586b5f6-xzj8q is Running
Validation
• Validating the devfile ...
I0623 08:10:38.311163 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311173 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311185 37153 command.go:80] the command type "init" is not found in the devfile
I0623 08:10:38.311199 37153 command.go:157] No init command was provided
I0623 08:10:38.311208 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311220 37153 command.go:174] Build command: devbuild
I0623 08:10:38.311231 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311241 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311253 37153 command.go:181] Run command: devrun
✓ Validating the devfile [129728ns]
Creating Kubernetes resources for component mynodejs
I0623 08:10:38.311284 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311386 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311398 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311411 37153 utils.go:124] Updating container runtime entrypoint with supervisord
I0623 08:10:38.311419 37153 utils.go:130] Updating container runtime with supervisord volume mounts
I0623 08:10:38.311429 37153 utils.go:140] Updating container runtime env with run command
I0623 08:10:38.311437 37153 utils.go:149] Updating container runtime env with run command's workdir
I0623 08:10:38.311449 37153 utils.go:86] Found component "Container" with name "runtime"
I0623 08:10:38.311478 37153 adapter.go:224] Creating deployment mynodejs
I0623 08:10:38.311491 37153 adapter.go:225] The component name is mynodejs
I0623 08:10:38.311564 37153 round_trippers.go:423] curl -k -v -XGET -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" -H "Accept: application/json, */*" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" 'https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments/mynodejs'
I0623 08:10:38.349299 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments/mynodejs 200 OK in 37 milliseconds
I0623 08:10:38.349352 37153 round_trippers.go:449] Response Headers:
I0623 08:10:38.349367 37153 round_trippers.go:452] Audit-Id: 4cd4a5d0-65e2-4c72-bde0-4f7ac9d0e4bf
I0623 08:10:38.349380 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:38.349392 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:38.349405 37153 round_trippers.go:452] Content-Length: 2577
I0623 08:10:38.349418 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:38 GMT
I0623 08:10:38.349515 37153 request.go:1022] Response Body: {"kind":"Deployment","apiVersion":"apps/v1","metadata":{"name":"mynodejs","namespace":"default","selfLink":"/apis/apps/v1/namespaces/default/deployments/mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9","resourceVersion":"465150","generation":8,"creationTimestamp":"2020-06-23T08:10:42Z","labels":{"component":"mynodejs"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"mynodejs"}},"template":{"metadata":{"name":"mynodejs","namespace":"default","creationTimestamp":null,"labels":{"component":"mynodejs"}},"spec":{"volumes":[{"name":"odo-projects","emptyDir":{}},{"name":"odo-supervisord-shared-data","emptyDir":{}}],"initContainers":[{"name":"copy-supervisord","image":"docker.io/stamba/odo-init-image:latest","command":["/usr/bin/cp"],"args":["-r","/opt/odo-init/.","/opt/odo/"],"resources":{},"volumeMounts":[{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"containers":[{"name":"runtime","image":"quay.io/eclipse/che-nodejs10-ubi:nightly","command":["/opt/odo/bin/supervisord"],"args":["-c","/opt/odo/conf/devfile-supervisor.conf"],"ports":[{"name":"nodejs","containerPort":3000,"protocol":"TCP"}],"env":[{"name":"CHE_PROJECTS_ROOT","value":"/projects"},{"name":"ODO_COMMAND_RUN","value":"nodemon app.js"},{"name":"ODO_COMMAND_RUN_WORKING_DIR","value":"${CHE_PROJECTS_ROOT}/nodejs-web-app/app"}],"resources":{"limits":{"memory":"1Gi"}},"volumeMounts":[{"name":"odo-projects","mountPath":"/projects"},{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"Recreate"},"revisionHistoryLimit":10,"progressDeadlineSeconds":600},"status":{"observedGeneration":8,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2020-06-23T08:11:43Z","lastTransitionTime":"2020-06-23T08:11:43Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2020-06-23T08:11:43Z","lastTransitionTime":"2020-06-23T08:10:42Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"mynodejs-57b586b5f6\" has successfully progressed."}]}}
I0623 08:10:38.350029 37153 adapter.go:229] The component already exists, attempting to update it
I0623 08:10:38.354235 37153 request.go:1022] Request Body: {"kind":"Deployment","apiVersion":"apps/v1","metadata":{"name":"mynodejs","namespace":"default","creationTimestamp":null,"labels":{"component":"mynodejs"}},"spec":{"selector":{"matchLabels":{"component":"mynodejs"}},"template":{"metadata":{"name":"mynodejs","namespace":"default","creationTimestamp":null,"labels":{"component":"mynodejs"}},"spec":{"volumes":[{"name":"odo-projects"},{"name":"odo-supervisord-shared-data","emptyDir":{}}],"initContainers":[{"name":"copy-supervisord","image":"docker.io/stamba/odo-init-image:latest","command":["/usr/bin/cp"],"args":["-r","/opt/odo-init/.","/opt/odo/"],"resources":{},"volumeMounts":[{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}]}],"containers":[{"name":"runtime","image":"quay.io/eclipse/che-nodejs10-ubi:nightly","command":["/opt/odo/bin/supervisord"],"args":["-c","/opt/odo/conf/devfile-supervisor.conf"],"ports":[{"name":"nodejs","containerPort":3000}],"env":[{"name":"CHE_PROJECTS_ROOT","value":"/projects"},{"name":"ODO_COMMAND_RUN","value":"nodemon app.js"},{"name":"ODO_COMMAND_RUN_WORKING_DIR","value":"${CHE_PROJECTS_ROOT}/nodejs-web-app/app"}],"resources":{"limits":{"memory":"1Gi"}},"volumeMounts":[{"name":"odo-projects","mountPath":"/projects"},{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"imagePullPolicy":"Always"}]}},"strategy":{"type":"Recreate"}},"status":{}}
I0623 08:10:38.354362 37153 round_trippers.go:423] curl -k -v -XPUT -H "Accept: application/json, */*" -H "Content-Type: application/json" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments/mynodejs'
I0623 08:10:38.409904 37153 round_trippers.go:443] PUT https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments/mynodejs 200 OK in 55 milliseconds
I0623 08:10:38.409965 37153 round_trippers.go:449] Response Headers:
I0623 08:10:38.409979 37153 round_trippers.go:452] Audit-Id: 1e066866-ec76-42e1-bcde-206c20a99064
I0623 08:10:38.409991 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:38.410003 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:38.410015 37153 round_trippers.go:452] Content-Length: 2521
I0623 08:10:38.410027 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:38 GMT
I0623 08:10:38.410122 37153 request.go:1022] Response Body: {"kind":"Deployment","apiVersion":"apps/v1","metadata":{"name":"mynodejs","namespace":"default","selfLink":"/apis/apps/v1/namespaces/default/deployments/mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9","resourceVersion":"466676","generation":9,"creationTimestamp":"2020-06-23T08:10:42Z","labels":{"component":"mynodejs"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"mynodejs"}},"template":{"metadata":{"name":"mynodejs","namespace":"default","creationTimestamp":null,"labels":{"component":"mynodejs"}},"spec":{"volumes":[{"name":"odo-projects","emptyDir":{}},{"name":"odo-supervisord-shared-data","emptyDir":{}}],"initContainers":[{"name":"copy-supervisord","image":"docker.io/stamba/odo-init-image:latest","command":["/usr/bin/cp"],"args":["-r","/opt/odo-init/.","/opt/odo/"],"resources":{},"volumeMounts":[{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"containers":[{"name":"runtime","image":"quay.io/eclipse/che-nodejs10-ubi:nightly","command":["/opt/odo/bin/supervisord"],"args":["-c","/opt/odo/conf/devfile-supervisor.conf"],"ports":[{"name":"nodejs","containerPort":3000,"protocol":"TCP"}],"env":[{"name":"CHE_PROJECTS_ROOT","value":"/projects"},{"name":"ODO_COMMAND_RUN","value":"nodemon app.js"},{"name":"ODO_COMMAND_RUN_WORKING_DIR","value":"${CHE_PROJECTS_ROOT}/nodejs-web-app/app"}],"resources":{"limits":{"memory":"1Gi"}},"volumeMounts":[{"name":"odo-projects","mountPath":"/projects"},{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"Recreate"},"revisionHistoryLimit":10,"progressDeadlineSeconds":600},"status":{"observedGeneration":8,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2020-06-23T08:11:43Z","lastTransitionTime":"2020-06-23T08:11:43Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2020-06-23T08:11:43Z","lastTransitionTime":"2020-06-23T08:10:42Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"mynodejs-57b586b5f6\" has successfully progressed."}]}}
I0623 08:10:38.410591 37153 adapter.go:234] Successfully updated component mynodejs
I0623 08:10:38.410724 37153 round_trippers.go:423] curl -k -v -XGET -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Accept: application/json, */*" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/api/v1/namespaces/default/services/mynodejs'
I0623 08:10:38.504880 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/api/v1/namespaces/default/services/mynodejs 200 OK in 94 milliseconds
I0623 08:10:38.504914 37153 round_trippers.go:449] Response Headers:
I0623 08:10:38.504922 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:38 GMT
I0623 08:10:38.504930 37153 round_trippers.go:452] Audit-Id: d430e02a-4402-4d29-8683-7be79999d8af
I0623 08:10:38.504938 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:38.504946 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:38.504954 37153 round_trippers.go:452] Content-Length: 647
I0623 08:10:38.504989 37153 request.go:1022] Response Body: {"kind":"Service","apiVersion":"v1","metadata":{"name":"mynodejs","namespace":"default","selfLink":"/api/v1/namespaces/default/services/mynodejs","uid":"b5fb6922-95d2-4c5b-9dd6-eaa29ee3b12f","resourceVersion":"402380","creationTimestamp":"2020-06-23T08:10:42Z","labels":{"component":"mynodejs"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"Deployment","name":"mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9"}]},"spec":{"ports":[{"name":"nodejs","protocol":"TCP","port":3000,"targetPort":3000}],"selector":{"component":"mynodejs"},"clusterIP":"172.30.127.139","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}}
I0623 08:10:38.506376 37153 request.go:1022] Request Body: {"kind":"Service","apiVersion":"v1","metadata":{"name":"mynodejs","namespace":"default","resourceVersion":"402380","creationTimestamp":null,"labels":{"component":"mynodejs"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"Deployment","name":"mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9"}]},"spec":{"ports":[{"name":"nodejs","port":3000,"targetPort":3000}],"selector":{"component":"mynodejs"},"clusterIP":"172.30.127.139"},"status":{"loadBalancer":{}}}
I0623 08:10:38.506438 37153 round_trippers.go:423] curl -k -v -XPUT -H "Accept: application/json, */*" -H "Content-Type: application/json" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/api/v1/namespaces/default/services/mynodejs'
I0623 08:10:39.243242 37153 round_trippers.go:443] PUT https://api.shivani2.example.com:6443/api/v1/namespaces/default/services/mynodejs 200 OK in 736 milliseconds
I0623 08:10:39.243303 37153 round_trippers.go:449] Response Headers:
I0623 08:10:39.243317 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:39 GMT
I0623 08:10:39.243329 37153 round_trippers.go:452] Audit-Id: b4f79896-44d0-4d42-a7cc-394e74487dbe
I0623 08:10:39.243373 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:39.243390 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:39.243402 37153 round_trippers.go:452] Content-Length: 647
I0623 08:10:39.243459 37153 request.go:1022] Response Body: {"kind":"Service","apiVersion":"v1","metadata":{"name":"mynodejs","namespace":"default","selfLink":"/api/v1/namespaces/default/services/mynodejs","uid":"b5fb6922-95d2-4c5b-9dd6-eaa29ee3b12f","resourceVersion":"402380","creationTimestamp":"2020-06-23T08:10:42Z","labels":{"component":"mynodejs"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"Deployment","name":"mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9"}]},"spec":{"ports":[{"name":"nodejs","protocol":"TCP","port":3000,"targetPort":3000}],"selector":{"component":"mynodejs"},"clusterIP":"172.30.127.139","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}}
I0623 08:10:39.243799 37153 adapter.go:256] Successfully update Service for component mynodejs
I0623 08:10:39.243825 37153 deployments.go:47] Waiting for mynodejs deployment rollout
• Waiting for component to start ...
I0623 08:10:39.244017 37153 round_trippers.go:423] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments?fieldSelector=metadata.name%3Dmynodejs&watch=true'
I0623 08:10:39.274428 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments?fieldSelector=metadata.name%3Dmynodejs&watch=true 200 OK in 30 milliseconds
I0623 08:10:39.274487 37153 round_trippers.go:449] Response Headers:
I0623 08:10:39.274504 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:39.274518 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:39.274531 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:39 GMT
✓ Waiting for component to start [31ms]
I0623 08:10:39.275493 37153 deployments.go:84] Deployment "mynodejs" successfully rolled out
I0623 08:10:39.275509 37153 deployments.go:88] Waiting for deployment spec update to be observed...
I0623 08:10:39.275619 37153 pods.go:29] Waiting for component=mynodejs pod
I0623 08:10:39.275781 37153 round_trippers.go:423] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/api/v1/namespaces/default/pods?labelSelector=component%3Dmynodejs&watch=true'
I0623 08:10:39.292832 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/api/v1/namespaces/default/pods?labelSelector=component%3Dmynodejs&watch=true 200 OK in 16 milliseconds
I0623 08:10:39.292866 37153 round_trippers.go:449] Response Headers:
I0623 08:10:39.292879 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:39.292892 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:39.292905 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:39 GMT
I0623 08:10:39.293895 37153 pods.go:56] Status of mynodejs-57b586b5f6-xzj8q pod is Running
I0623 08:10:39.293912 37153 pods.go:62] Pod mynodejs-57b586b5f6-xzj8q is Running
I0623 08:10:39.293963 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
I0623 08:10:39.295337 37153 loader.go:375] Config loaded from file: /home/cloud-user/openstack-upi/auth/kubeconfig
I0623 08:10:39.296177 37153 round_trippers.go:423] curl -k -v -XGET -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Accept: application/json, */*" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/apis/route.openshift.io/v1?timeout=32s'
I0623 08:10:39.317550 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/apis/route.openshift.io/v1?timeout=32s 200 OK in 21 milliseconds
I0623 08:10:39.317608 37153 round_trippers.go:449] Response Headers:
I0623 08:10:39.317623 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:39.317636 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:39 GMT
I0623 08:10:39.317677 37153 round_trippers.go:452] Content-Length: 418
I0623 08:10:39.317696 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:39.317709 37153 round_trippers.go:452] Cache-Control: no-store
I0623 08:10:39.317771 37153 request.go:1022] Response Body: {"kind":"APIResourceList","apiVersion":"v1","groupVersion":"route.openshift.io/v1","resources":[{"name":"routes","singularName":"","namespaced":true,"kind":"Route","verbs":["create","delete","deletecollection","get","list","patch","update","watch"],"categories":["all"],"storageVersionHash":"jo1F7GfnXH4="},{"name":"routes/status","singularName":"","namespaced":true,"kind":"Route","verbs":["get","patch","update"]}]}
I0623 08:10:39.318443 37153 url.go:372] Listing ingresses with label selector: app.kubernetes.io/instance=mynodejs
I0623 08:10:39.318651 37153 round_trippers.go:423] curl -k -v -XGET -H "Accept: application/json, */*" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/apis/extensions/v1beta1/namespaces/default/ingresses?labelSelector=app.kubernetes.io%2Finstance%3Dmynodejs'
I0623 08:10:39.414445 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/apis/extensions/v1beta1/namespaces/default/ingresses?labelSelector=app.kubernetes.io%2Finstance%3Dmynodejs 200 OK in 95 milliseconds
I0623 08:10:39.414487 37153 round_trippers.go:449] Response Headers:
I0623 08:10:39.414496 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:39.414503 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:39.414512 37153 round_trippers.go:452] Content-Length: 175
I0623 08:10:39.414520 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:39 GMT
I0623 08:10:39.414527 37153 round_trippers.go:452] Audit-Id: efce0f7c-ffa8-4195-ba49-e0bc7c1484a6
I0623 08:10:39.414569 37153 request.go:1022] Response Body: {"kind":"IngressList","apiVersion":"extensions/v1beta1","metadata":{"selfLink":"/apis/extensions/v1beta1/namespaces/default/ingresses","resourceVersion":"466680"},"items":[]}
I0623 08:10:39.415745 37153 url.go:349] Listing routes with label selector: app.kubernetes.io/part-of=,app.kubernetes.io/instance=mynodejs
I0623 08:10:39.415775 37153 occlient.go:2680] Listing routes with label selector: app.kubernetes.io/part-of=,app.kubernetes.io/instance=mynodejs
I0623 08:10:39.415877 37153 round_trippers.go:423] curl -k -v -XGET -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Accept: application/json, */*" 'https://api.shivani2.example.com:6443/apis/route.openshift.io/v1/namespaces/default/routes?labelSelector=app.kubernetes.io%2Fpart-of%3D%2Capp.kubernetes.io%2Finstance%3Dmynodejs'
I0623 08:10:40.761083 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/apis/route.openshift.io/v1/namespaces/default/routes?labelSelector=app.kubernetes.io%2Fpart-of%3D%2Capp.kubernetes.io%2Finstance%3Dmynodejs 200 OK in 1345 milliseconds
I0623 08:10:40.761119 37153 round_trippers.go:449] Response Headers:
I0623 08:10:40.761128 37153 round_trippers.go:452] Audit-Id: 7392aeb4-f3ef-49c9-9602-c49e210f880d
I0623 08:10:40.761137 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:40.761145 37153 round_trippers.go:452] Cache-Control: no-store
I0623 08:10:40.761155 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:40.761165 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:40 GMT
I0623 08:10:40.761175 37153 round_trippers.go:452] Content-Length: 1282
I0623 08:10:40.761229 37153 request.go:1022] Response Body: {"kind":"RouteList","apiVersion":"route.openshift.io/v1","metadata":{"selfLink":"/apis/route.openshift.io/v1/namespaces/default/routes","resourceVersion":"466681"},"items":[{"metadata":{"name":"mynodejs-3000","namespace":"default","selfLink":"/apis/route.openshift.io/v1/namespaces/default/routes/mynodejs-3000","uid":"04c52ee0-3ee8-4b1b-8188-b0eb5998fdf8","resourceVersion":"465160","creationTimestamp":"2020-06-23T12:05:19Z","labels":{"app":"","app.kubernetes.io/instance":"mynodejs","app.kubernetes.io/managed-by":"odo","app.kubernetes.io/managed-by-version":"v1.2.2","app.kubernetes.io/part-of":"","odo.openshift.io/url-name":"mynodejs-3000"},"annotations":{"openshift.io/host.generated":"true"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"Deployment","name":"mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9"}]},"spec":{"host":"mynodejs-3000-default.apps.shivani2.example.com","to":{"kind":"Service","name":"mynodejs","weight":100},"port":{"targetPort":3000},"wildcardPolicy":"None"},"status":{"ingress":[{"host":"mynodejs-3000-default.apps.shivani2.example.com","routerName":"default","conditions":[{"type":"Admitted","status":"True","lastTransitionTime":"2020-06-23T12:05:19Z"}],"wildcardPolicy":"None","routerCanonicalHostname":"apps.shivani2.example.com"}]}}]}
I0623 08:10:40.762684 37153 preference.go:188] The path for preference file is /root/.odo/preference.yaml
Applying URL changes
I0623 08:10:40.762842 37153 url.go:907] config and cluster mismatch for url mynodejs-3000
I0623 08:10:40.762945 37153 request.go:1022] Request Body: {"kind":"DeleteOptions","apiVersion":"route.openshift.io/v1"}
I0623 08:10:40.763007 37153 round_trippers.go:423] curl -k -v -XDELETE -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" -H "Accept: application/json, */*" -H "Content-Type: application/json" 'https://api.shivani2.example.com:6443/apis/route.openshift.io/v1/namespaces/default/routes/mynodejs-3000'
I0623 08:10:41.029731 37153 round_trippers.go:443] DELETE https://api.shivani2.example.com:6443/apis/route.openshift.io/v1/namespaces/default/routes/mynodejs-3000 200 OK in 266 milliseconds
I0623 08:10:41.029768 37153 round_trippers.go:449] Response Headers:
I0623 08:10:41.029777 37153 round_trippers.go:452] Audit-Id: 9b02ed02-c085-4c61-9bdf-d18b05d1d580
I0623 08:10:41.029785 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:41.029793 37153 round_trippers.go:452] Cache-Control: no-store
I0623 08:10:41.029803 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:41.029814 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:40 GMT
I0623 08:10:41.029822 37153 round_trippers.go:452] Content-Length: 194
I0623 08:10:41.029866 37153 request.go:1022] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Success","details":{"name":"mynodejs-3000","group":"route.openshift.io","kind":"routes","uid":"04c52ee0-3ee8-4b1b-8188-b0eb5998fdf8"}}
✓ URL mynodejs-3000 successfully deleted
I0623 08:10:41.030005 37153 round_trippers.go:423] curl -k -v -XGET -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" -H "Accept: application/json, */*" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" 'https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments/mynodejs'
I0623 08:10:41.224777 37153 round_trippers.go:443] GET https://api.shivani2.example.com:6443/apis/apps/v1/namespaces/default/deployments/mynodejs 200 OK in 194 milliseconds
I0623 08:10:41.224812 37153 round_trippers.go:449] Response Headers:
I0623 08:10:41.224821 37153 round_trippers.go:452] Audit-Id: 6ef628ee-741c-47ba-9f2f-6a5fb3ef481e
I0623 08:10:41.224829 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:41.224837 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:41.224845 37153 round_trippers.go:452] Content-Length: 2577
I0623 08:10:41.224852 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:41 GMT
I0623 08:10:41.224919 37153 request.go:1022] Response Body: {"kind":"Deployment","apiVersion":"apps/v1","metadata":{"name":"mynodejs","namespace":"default","selfLink":"/apis/apps/v1/namespaces/default/deployments/mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9","resourceVersion":"466679","generation":9,"creationTimestamp":"2020-06-23T08:10:42Z","labels":{"component":"mynodejs"},"annotations":{"deployment.kubernetes.io/revision":"1"}},"spec":{"replicas":1,"selector":{"matchLabels":{"component":"mynodejs"}},"template":{"metadata":{"name":"mynodejs","namespace":"default","creationTimestamp":null,"labels":{"component":"mynodejs"}},"spec":{"volumes":[{"name":"odo-projects","emptyDir":{}},{"name":"odo-supervisord-shared-data","emptyDir":{}}],"initContainers":[{"name":"copy-supervisord","image":"docker.io/stamba/odo-init-image:latest","command":["/usr/bin/cp"],"args":["-r","/opt/odo-init/.","/opt/odo/"],"resources":{},"volumeMounts":[{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"containers":[{"name":"runtime","image":"quay.io/eclipse/che-nodejs10-ubi:nightly","command":["/opt/odo/bin/supervisord"],"args":["-c","/opt/odo/conf/devfile-supervisor.conf"],"ports":[{"name":"nodejs","containerPort":3000,"protocol":"TCP"}],"env":[{"name":"CHE_PROJECTS_ROOT","value":"/projects"},{"name":"ODO_COMMAND_RUN","value":"nodemon app.js"},{"name":"ODO_COMMAND_RUN_WORKING_DIR","value":"${CHE_PROJECTS_ROOT}/nodejs-web-app/app"}],"resources":{"limits":{"memory":"1Gi"}},"volumeMounts":[{"name":"odo-projects","mountPath":"/projects"},{"name":"odo-supervisord-shared-data","mountPath":"/opt/odo/"}],"terminationMessagePath":"/dev/termination-log","terminationMessagePolicy":"File","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{},"schedulerName":"default-scheduler"}},"strategy":{"type":"Recreate"},"revisionHistoryLimit":10,"progressDeadlineSeconds":600},"status":{"observedGeneration":9,"replicas":1,"updatedReplicas":1,"readyReplicas":1,"availableReplicas":1,"conditions":[{"type":"Available","status":"True","lastUpdateTime":"2020-06-23T08:11:43Z","lastTransitionTime":"2020-06-23T08:11:43Z","reason":"MinimumReplicasAvailable","message":"Deployment has minimum availability."},{"type":"Progressing","status":"True","lastUpdateTime":"2020-06-23T08:11:43Z","lastTransitionTime":"2020-06-23T08:10:42Z","reason":"NewReplicaSetAvailable","message":"ReplicaSet \"mynodejs-57b586b5f6\" has successfully progressed."}]}}
I0623 08:10:41.225508 37153 request.go:1022] Request Body: {"kind":"Route","apiVersion":"route.openshift.io/v1","metadata":{"name":"mynodejs-3000","creationTimestamp":null,"labels":{"app":"","app.kubernetes.io/instance":"mynodejs","app.kubernetes.io/managed-by":"odo","app.kubernetes.io/managed-by-version":"v1.2.2","app.kubernetes.io/part-of":"","odo.openshift.io/url-name":"mynodejs-3000"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"Deployment","name":"mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9"}]},"spec":{"host":"","to":{"kind":"Service","name":"mynodejs","weight":null},"port":{"targetPort":3000}},"status":{"ingress":null}}
I0623 08:10:41.225576 37153 round_trippers.go:423] curl -k -v -XPOST -H "Content-Type: application/json" -H "User-Agent: odo/v0.0.0 (linux/ppc64le) kubernetes/$Format" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" -H "Accept: application/json, */*" 'https://api.shivani2.example.com:6443/apis/route.openshift.io/v1/namespaces/default/routes'
I0623 08:10:41.601190 37153 round_trippers.go:443] POST https://api.shivani2.example.com:6443/apis/route.openshift.io/v1/namespaces/default/routes 201 Created in 375 milliseconds
I0623 08:10:41.601247 37153 round_trippers.go:449] Response Headers:
I0623 08:10:41.601262 37153 round_trippers.go:452] Audit-Id: bb5745d6-285d-4366-af86-0a97e8dff410
I0623 08:10:41.601275 37153 round_trippers.go:452] Cache-Control: no-cache, private
I0623 08:10:41.601288 37153 round_trippers.go:452] Cache-Control: no-store
I0623 08:10:41.601304 37153 round_trippers.go:452] Content-Type: application/json
I0623 08:10:41.601321 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:41 GMT
I0623 08:10:41.601334 37153 round_trippers.go:452] Content-Length: 907
I0623 08:10:41.601410 37153 request.go:1022] Response Body: {"kind":"Route","apiVersion":"route.openshift.io/v1","metadata":{"name":"mynodejs-3000","namespace":"default","selfLink":"/apis/route.openshift.io/v1/namespaces/default/routes/mynodejs-3000","uid":"2125a42c-aa3b-483b-bdb5-ac4ec4527519","resourceVersion":"466691","creationTimestamp":"2020-06-23T12:10:41Z","labels":{"app":"","app.kubernetes.io/instance":"mynodejs","app.kubernetes.io/managed-by":"odo","app.kubernetes.io/managed-by-version":"v1.2.2","app.kubernetes.io/part-of":"","odo.openshift.io/url-name":"mynodejs-3000"},"annotations":{"openshift.io/host.generated":"true"},"ownerReferences":[{"apiVersion":"apps/v1","kind":"Deployment","name":"mynodejs","uid":"beae47b6-6c27-4d99-b5be-67bb926badb9"}]},"spec":{"host":"mynodejs-3000-default.apps.shivani2.example.com","to":{"kind":"Service","name":"mynodejs","weight":100},"port":{"targetPort":3000},"wildcardPolicy":"None"},"status":{"ingress":null}}
✓ URL mynodejs-3000: http://mynodejs-3000-default.apps.shivani2.example.com created
Syncing to component mynodejs
I0623 08:10:41.603274 37153 adapter.go:129] Push: componentName: mynodejs, path: /home/cloud-user/odo/nodejs-ex, files: [], delFiles: [], isForcePush: true
• Syncing files to the component ...
I0623 08:10:41.603418 37153 adapter.go:151] Creating /projects/nodejs-web-app on the remote container if it doesn't already exist
I0623 08:10:41.603467 37153 exec.go:24] Executing command [mkdir -p /projects/nodejs-web-app] for pod: mynodejs-57b586b5f6-xzj8q in container: runtime
I0623 08:10:41.604004 37153 round_trippers.go:423] curl -k -v -XPOST -H "X-Stream-Protocol-Version: v4.channel.k8s.io" -H "X-Stream-Protocol-Version: v3.channel.k8s.io" -H "X-Stream-Protocol-Version: v2.channel.k8s.io" -H "X-Stream-Protocol-Version: channel.k8s.io" -H "Authorization: Bearer h4rqEmOjAs4X9aySqCNsH0N_x_LA4qV_9KSprzMa4UE" 'https://api.shivani2.example.com:6443/api/v1/namespaces/default/pods/mynodejs-57b586b5f6-xzj8q/exec?command=mkdir&command=-p&command=%2Fprojects%2Fnodejs-web-app&container=runtime&stderr=true&stdout=true'
I0623 08:10:42.104250 37153 round_trippers.go:443] POST https://api.shivani2.example.com:6443/api/v1/namespaces/default/pods/mynodejs-57b586b5f6-xzj8q/exec?command=mkdir&command=-p&command=%2Fprojects%2Fnodejs-web-app&container=runtime&stderr=true&stdout=true 101 Switching Protocols in 500 milliseconds
I0623 08:10:42.104287 37153 round_trippers.go:449] Response Headers:
I0623 08:10:42.104298 37153 round_trippers.go:452] Connection: Upgrade
I0623 08:10:42.104306 37153 round_trippers.go:452] Upgrade: SPDY/3.1
I0623 08:10:42.104313 37153 round_trippers.go:452] X-Stream-Protocol-Version: v4.channel.k8s.io
I0623 08:10:42.104334 37153 round_trippers.go:452] Date: Tue, 23 Jun 2020 12:10:42 GMT
time="2020-06-23T12:10:42Z" level=error msg="exec failed: container_linux.go:349: starting container process caused \"exec format error\""
exec failed: container_linux.go:349: starting container process caused "exec format error"
✗
Unable to exec command [mkdir -p /projects/nodejs-web-app]:
time="2020-06-23T12:10:42Z" level=error msg="exec failed: container_linux.go:349: starting container process caused \"exec format error\""
exec failed: container_linux.go:349: starting container process caused "exec format error"
✗ Syncing files to the component [848ms]
✗ Failed to start component with name mynodejs.
Error: Failed to create the component: Failed to sync to component with name mynodejs: failed to sync to component with name mynodejs: error while streaming command: command terminated with exit code 1
[root@shivani2-bastion nodejs-ex]#
Is there anything obvious what is creating the issues?
I need to build odo-init-image for/on PowerPC64LE, so as to carry out Deploying a devfile using odo I am trying to build odo-init-image as below on
ppc64le
platform. However I am facing the following error related tosupervisord
as below:-I tried to make the changes to Dockerfile as below, but even that did not help much:-
Tried building using docker build command and seeing the below error:-
What am I missing to build
supervisord
orodo-init-image
onppc64le