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

odo devfile push command tests failed with error "Failed to create the component: error while waiting for deployment rollout: watch channel was closed"" #4058

Closed
zhengxiaomei123 opened this issue Sep 30, 2020 · 6 comments
Labels
area/System-PZ Issues related to IBM System Z and System P kind/bug Categorizes issue or PR as related to a bug.

Comments

@zhengxiaomei123
Copy link
Contributor

zhengxiaomei123 commented Sep 30, 2020

/kind bug

What versions of software are you using?

Operating System:
OCP/Z
Output of odo version:
odo v2.0.0 (2c9c8a5)
Server: https://api.ocp-test.redhat.com:6443
Kubernetes: v1.18.3+012b3ec

How did you run odo exactly?

./scripts/openshiftci-presubmit-all-tests.sh to run odo CI locally.

Actual behavior

make test-integration-devfile or make test-cmd-devfile-push

Expected behavior

The test suite passed

Any logs, error output, etc?

Created dir: /tmp/425892098
Setting KUBECONFIG=/tmp/425892098/config
Creating a new project: nhxgtlxlan
Running odo with args [odo project create nhxgtlxlan -w -v4]
[odo] I0930 03:33:16.886070   35634 util.go:730] HTTPGetRequest: https://raw.githubusercontent.com/openshift/odo/master/build/VERSION
[odo] I0930 03:33:16.886184   35634 util.go:751] Response will be cached in /tmp/odohttpcache for 1h0m0s
[odo] I0930 03:33:16.886265   35634 util.go:764] Cached response used.
[odo]  •  Waiting for project to come up  ...
[odo] I0930 03:33:17.545888   35634 occlient.go:531] Status of creation of project nhxgtlxlan is Active
[odo] I0930 03:33:17.545909   35634 occlient.go:536] Project nhxgtlxlan now exists
 ✓  Waiting for project to come up [650ms]
[odo]  ✓  Project 'nhxgtlxlan' is ready for use
[odo] I0930 03:33:17.553326   35634 namespace.go:181] Status of creation of service account &ServiceAccount{ObjectMeta:{default  nhxgtlxlan /api/v1/namespaces/nhxgtlxlan/serviceaccounts/default e61f77f6-63b1-4d43-a0c8-66395630c7de 6147337 0 2020-09-30 03:33:17 -0400 EDT <nil> <nil> map[] map[] [] []  []},Secrets:[]ObjectReference{ObjectReference{Kind:,Namespace:,Name:default-token-h8tlx,UID:,APIVersion:,ResourceVersion:,FieldPath:,},ObjectReference{Kind:,Namespace:,Name:default-dockercfg-tkq4h,UID:,APIVersion:,ResourceVersion:,FieldPath:,},},ImagePullSecrets:[]LocalObjectReference{LocalObjectReference{Name:default-dockercfg-tkq4h,},},AutomountServiceAccountToken:nil,} is ready
[odo]  ✓  New project created and now using project: nhxgtlxlan
[odo] I0930 03:33:17.564736   35634 odo.go:72] Could not get the latest release information in time. Never mind, exiting gracefully :)
Current working dir: /root/go/src/github.com/openshift/odo/tests/integration/devfile
Setting current dir to: /tmp/425892098
Running odo with args [odo create nodejs --project nhxgtlxlan pnmlss]
[odo] I0930 03:33:17.691416   35644 util.go:751] Response will be cached in /tmp/odohttpcache for 1h0m0s
[odo] I0930 03:33:17.691595   35644 util.go:764] Cached response used.
[odo] I0930 03:33:17.711153   35644 util.go:425] path .odo/config.yaml doesn't exist, skipping it
[odo] I0930 03:33:17.711184   35644 util.go:425] path .odo/env/env.yaml doesn't exist, skipping it
[odo] I0930 03:33:17.711200   35644 util.go:425] path devfile.yaml doesn't exist, skipping it
[odo] I0930 03:33:17.711216   35644 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.713273   35644 util.go:425] path devfile.yaml doesn't exist, skipping it
[odo] I0930 03:33:17.713301   35644 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.713364   35644 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.713378   35644 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.713393   35644 util.go:730] HTTPGetRequest: https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/index.json
[odo] I0930 03:33:17.713441   35644 util.go:751] Response will be cached in /tmp/odohttpcache for 15m0s
[odo] I0930 03:33:17.713549   35644 util.go:764] Cached response used.
[odo] I0930 03:33:17.714612   35644 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.714633   35644 util.go:425] path devfile.yaml doesn't exist, skipping it
[odo] Validation
[odo]  •  Checking devfile existence  ...
 ✓  Checking devfile existence [15761ns]
[odo]  •  Creating a devfile component from registry: DefaultDevfileRegistry  ...
 ✓  Creating a devfile component from registry: DefaultDevfileRegistry [37216ns]
[odo]  •  Validating devfile component  ...
[odo] I0930 03:33:17.714758   35644 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
 ✓  Validating devfile component [39065ns]
[odo] I0930 03:33:17.714802   35644 util.go:425] path devfile.yaml doesn't exist, skipping it
[odo] I0930 03:33:17.714809   35644 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.714817   35644 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.714833   35644 util.go:730] HTTPGetRequest: https://raw.githubusercontent.com/odo-devfiles/registry/master/devfiles/nodejs/devfile.yaml
[odo] I0930 03:33:17.714888   35644 util.go:751] Response will be cached in /tmp/odohttpcache for 15m0s
[odo] I0930 03:33:17.714972   35644 util.go:764] Cached response used.
[odo] I0930 03:33:17.715599   35644 content.go:34] converted devfile YAML to JSON
[odo] I0930 03:33:17.715694   35644 apiVersion.go:50] devfile apiVersion: '2.0.0'
[odo] I0930 03:33:17.715718   35644 helper.go:36] devfile apiVersion '2.0.0' is supported in odo
[odo] I0930 03:33:17.723786   35644 schema.go:47] validated devfile schema
[odo] I0930 03:33:17.724180   35644 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.724203   35644 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.724214   35644 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.724224   35644 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.724239   35644 validate.go:43] Successfully validated devfile sections
[odo]
[odo] Please use `odo push` command to create the component with source deployed
[odo] I0930 03:33:17.724773   35644 odo.go:72] Could not get the latest release information in time. Never mind, exiting gracefully :)
Running odo with args [odo push --project nhxgtlxlan]
[odo] I0930 03:33:17.844032   35652 context.go:84] absolute devfile path: '/tmp/425892098/devfile.yaml'
[odo] I0930 03:33:17.844803   35652 content.go:34] converted devfile YAML to JSON
[odo] I0930 03:33:17.844929   35652 apiVersion.go:50] devfile apiVersion: '2.0.0'
[odo] I0930 03:33:17.844949   35652 helper.go:36] devfile apiVersion '2.0.0' is supported in odo
[odo] I0930 03:33:17.847643   35652 util.go:730] HTTPGetRequest: https://raw.githubusercontent.com/openshift/odo/master/build/VERSION
[odo] I0930 03:33:17.847712   35652 util.go:751] Response will be cached in /tmp/odohttpcache for 1h0m0s
[odo] I0930 03:33:17.847832   35652 util.go:764] Cached response used.
[odo] I0930 03:33:17.852323   35652 schema.go:47] validated devfile schema
[odo] I0930 03:33:17.852726   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.852749   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.852771   35652 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.852783   35652 component_helper.go:9] Found component "Container" with name "runtime2"
[odo] I0930 03:33:17.852798   35652 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.852813   35652 component_helper.go:9] Found component "Container" with name "runtime2"
[odo] I0930 03:33:17.852828   35652 validate.go:43] Successfully validated devfile sections
[odo] I0930 03:33:17.852951   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.860605   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.860627   35652 context.go:84] absolute devfile path: '/tmp/425892098/devfile.yaml'
[odo] I0930 03:33:17.860930   35652 content.go:34] converted devfile YAML to JSON
[odo] I0930 03:33:17.860980   35652 apiVersion.go:50] devfile apiVersion: '2.0.0'
[odo] I0930 03:33:17.860984   35652 helper.go:36] devfile apiVersion '2.0.0' is supported in odo
[odo] I0930 03:33:17.866612   35652 schema.go:47] validated devfile schema
[odo] I0930 03:33:17.866677   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.866690   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.866699   35652 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.866707   35652 component_helper.go:9] Found component "Container" with name "runtime2"
[odo] I0930 03:33:17.866713   35652 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.866718   35652 component_helper.go:9] Found component "Container" with name "runtime2"
[odo] I0930 03:33:17.866724   35652 validate.go:43] Successfully validated devfile sections
[odo] I0930 03:33:17.866767   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.866782   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.870296   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.870311   35652 preference.go:209] The path for preference file is /tmp/425892098/config.yaml
[odo] I0930 03:33:17.876841   35652 utils.go:30] Deployment pnmlss not found
[odo]
[odo] Validation
[odo]  •  Validating the devfile  ...
[odo] I0930 03:33:17.876891   35652 command.go:205] Build command: devbuild
[odo] I0930 03:33:17.876902   35652 command.go:212] Run command: devrun
 ✓  Validating the devfile [50619ns]
[odo]
[odo] Creating Kubernetes resources for component pnmlss
[odo] I0930 03:33:17.876921   35652 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.876927   35652 component_helper.go:9] Found component "Container" with name "runtime2"
[odo] I0930 03:33:17.876941   35652 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.876949   35652 component_helper.go:9] Found component "Container" with name "runtime2"
[odo] I0930 03:33:17.877021   35652 command.go:97] the command group of kind "debug" is not found in the devfile
[odo] I0930 03:33:17.877031   35652 utils.go:315] Updating container runtime2 entrypoint with supervisord
[odo] I0930 03:33:17.877042   35652 utils.go:194] Updating container runtime2 with supervisord volume mounts
[odo] I0930 03:33:17.877055   35652 utils.go:204] Updating container runtime2 env with run command
[odo] I0930 03:33:17.877065   35652 utils.go:222] Updating container runtime2 env with run command's workdir
[odo] I0930 03:33:17.877084   35652 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0930 03:33:17.877091   35652 component_helper.go:9] Found component "Container" with name "runtime2"
[odo] I0930 03:33:17.877096   35652 component_helper.go:18] Found component "Volume" with name "firstvol"
[odo] I0930 03:33:17.877101   35652 component_helper.go:18] Found component "Volume" with name "secondvol"
[odo] I0930 03:33:17.877117   35652 adapter.go:322] Generating PVC name for firstvol
[odo] I0930 03:33:17.877135   35652 utils.go:98] Checking PVC for volume firstvol and label component=pnmlss,storage-name=firstvol
[odo] I0930 03:33:17.880406   35652 adapter.go:322] Generating PVC name for secondvol
[odo] I0930 03:33:17.880448   35652 utils.go:98] Checking PVC for volume secondvol and label component=pnmlss,storage-name=secondvol
[odo] I0930 03:33:17.885927   35652 adapter.go:387] Creating deployment pnmlss
[odo] I0930 03:33:17.885961   35652 adapter.go:388] The component name is pnmlss
[odo] I0930 03:33:17.903529   35652 adapter.go:432] Successfully created component pnmlss
[odo] I0930 03:33:17.923474   35652 adapter.go:441] Successfully created Service for component pnmlss
[odo] I0930 03:33:17.923491   35652 utils.go:98] Checking PVC for volume firstvol and label component=pnmlss,storage-name=firstvol
[odo] I0930 03:33:17.926927   35652 utils.go:33] Creating a PVC for firstvol
[odo] I0930 03:33:17.931331   35652 utils.go:71] Creating a PVC with name firstvol-pnmlss-gojh and labels map[component:pnmlss storage-name:firstvol]
[odo] I0930 03:33:17.949056   35652 utils.go:98] Checking PVC for volume secondvol and label component=pnmlss,storage-name=secondvol
[odo] I0930 03:33:17.953080   35652 utils.go:33] Creating a PVC for secondvol
[odo] I0930 03:33:17.958439   35652 utils.go:71] Creating a PVC with name secondvol-pnmlss-ucir and labels map[component:pnmlss storage-name:secondvol]
[odo] I0930 03:33:17.964536   35652 deployments.go:99] Waiting for pnmlss deployment rollout
[odo]  •  Waiting for component to start  ...
[odo] I0930 03:33:17.966880   35652 deployments.go:127] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2020-09-30T07:33:17Z","lastTransitionTime":"2020-09-30T07:33:17Z","reason":"NewReplicaSetCreated","message":"Created new replica set \"pnmlss-5b9755df5d\""}
[odo] I0930 03:33:17.966913   35652 deployments.go:127] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2020-09-30T07:33:17Z","lastTransitionTime":"2020-09-30T07:33:17Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
[odo] I0930 03:33:17.966930   35652 deployments.go:134] Waiting for deployment "pnmlss" rollout to finish: 0 out of 1 new replicas have been updated...
[odo] I0930 03:33:17.966942   35652 deployments.go:145] Waiting for deployment spec update to be observed...
[odo] I0930 03:33:18.016191   35652 deployments.go:127] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2020-09-30T07:33:17Z","lastTransitionTime":"2020-09-30T07:33:17Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
[odo] I0930 03:33:18.016208   35652 deployments.go:127] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2020-09-30T07:33:18Z","lastTransitionTime":"2020-09-30T07:33:17Z","reason":"ReplicaSetUpdated","message":"ReplicaSet \"pnmlss-5b9755df5d\" is progressing."}
[odo] I0930 03:33:18.016216   35652 deployments.go:138] Waiting for deployment "pnmlss" rollout to finish: 0 of 1 updated replicas are available...
[odo] I0930 03:33:18.016223   35652 deployments.go:145] Waiting for deployment spec update to be observed...
[odo] I0930 03:34:18.016734   35652 streamwatcher.go:114] Unexpected EOF during watch stream event decoding: unexpected EOF
[odo]  ✗  Waiting for component to start [1m]
[odo]  ✗  Failed to start component with name pnmlss. Error: Failed to create the component: error while waiting for deployment rollout: watch channel was closed
Deleting project: nhxgtlxlan
Running odo with args [odo project delete nhxgtlxlan -f]
[odo] I0930 03:34:18.135992   35873 util.go:730] HTTPGetRequest: https://raw.githubusercontent.com/openshift/odo/master/build/VERSION
[odo] I0930 03:34:18.136156   35873 util.go:751] Response will be cached in /tmp/odohttpcache for 1h0m0s
[odo] I0930 03:34:18.136254   35873 util.go:764] Cached response used.
[odo]  ⚠  Warning! Projects are deleted from the cluster asynchronously. Odo does its best to delete the project. Due to multi-tenant clusters, the project may still exist on a different node.
[odo] I0930 03:34:18.171749   35873 odo.go:72] Could not get the latest release information in time. Never mind, exiting gracefully :)
[odo]  ✓  Deleted project : nhxgtlxlan
Setting current dir to: /root/go/src/github.com/openshift/odo/tests/integration/devfile
Deleting dir: /tmp/425892098
@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Sep 30, 2020
@zhengxiaomei123
Copy link
Contributor Author

/area system-pz

@openshift-ci-robot openshift-ci-robot added the area/System-PZ Issues related to IBM System Z and System P label Sep 30, 2020
@zhengxiaomei123
Copy link
Contributor Author

I am able to create devfiles application with the same image.

odo create java-springboot myspring
W0930 10:44:04.999452 1016347 asm_s390x.s:779] Unable to clean up cache directory: open /tmp/odohttpcache: permission denied
W0930 10:44:05.023527 1016347 asm_s390x.s:779] Unable to clean up cache directory: open /tmp/odohttpcache: permission denied
Validation
 ✓  Checking devfile existence [30615ns]
 ✓  Creating a devfile component from registry: DefaultDevfileRegistry [34096ns]
 ✓  Validating devfile component [36633ns]
W0930 10:44:05.139008 1016347 runnable.go:31] Unable to clean up cache directory: open /tmp/odohttpcache: permission denied
Please use `odo push` command to create the component with source deployed
odo url create
W0930 10:45:24.191351 1016700 asm_s390x.s:779] Unable to clean up cache directory: open /tmp/odohttpcache: permission denied
 ✓  URL myspring-8080 created for component: myspring
To apply the URL configuration changes, please use `odo push`
odo push
W0930 10:45:38.001757 1016799 asm_s390x.s:779] Unable to clean up cache directory: open /tmp/odohttpcache: permission denied

Validation
 ✓  Validating the devfile [49471ns]

Creating Kubernetes resources for component myspring
 ✓  Waiting for component to start [14s]

Applying URL changes
 ✓  URL 8080-tcp: http://8080-tcp-myspring-myproject.apps.ocp43b.rhocp.boe/ created
 ✓  URL myspring-8080: http://myspring-8080-myspring-myproject.apps.ocp43b.rhocp.boe/ created

Syncing to component myspring
 ✓  Checking files for pushing [921112ns]
 ✓  Syncing files to the component [240ms]

Executing devfile commands for component myspring
 ✓  Executing build command "mvn clean -Dmaven.repo.local=/home/user/.m2/repository package -Dmaven.test.skip=true" [3m]
 ✓  Executing run command "mvn -Dmaven.repo.local=/home/user/.m2/repository spring-boot:run" [1s]

Pushing devfile component myspring
 ✓  Changes successfully pushed to component
odo url list
W0930 10:49:17.527766 1017680 asm_s390x.s:779] Unable to clean up cache directory: open /tmp/odohttpcache: permission denied
Found the following URLs for component myspring
NAME              STATE      URL                                                               PORT     SECURE     KIND
8080-tcp          Pushed     http://8080-tcp-myspring-myproject.apps.ocp43b.rhocp.boe          8080     false      route
myspring-8080     Pushed     http://myspring-8080-myspring-myproject.apps.ocp43b.rhocp.boe     8080     false      route
curl http://myspring-8080-myspring-myproject.apps.ocp43b.rhocp.boe
I can get the expected output.

@zhengxiaomei123
Copy link
Contributor Author

So I think it is not related to images used in devfile.yaml.

@prietyc123
Copy link
Contributor

@zhengxiaomei123 AFAIR deployment rollout was primarily occurring due to cluster resource configuration issue. Could you please let me know you are using a healthy cluster . It seems quite similar to the issue #3256 (comment)

@sarveshtamba
Copy link
Contributor

I am seeing similar issues during both test suites execution and individual command line invocation on Power platform.

Running odo with args [odo push --project gocxlsswdf]
[odo] I0929 04:09:14.941043 2106869 context.go:84] absolute devfile path: '/tmp/494781741/devfile.yaml'
[odo] I0929 04:09:14.941048 2106869 util.go:730] HTTPGetRequest: https://raw.githubusercontent.com/openshift/odo/master/build/VERSION
[odo] I0929 04:09:14.941200 2106869 util.go:751] Response will be cached in /tmp/odohttpcache for 1h0m0s
[odo] I0929 04:09:14.941286 2106869 util.go:764] Cached response used.
[odo] I0929 04:09:14.941440 2106869 content.go:34] converted devfile YAML to JSON
[odo] I0929 04:09:14.941521 2106869 apiVersion.go:50] devfile apiVersion: '2.0.0'
[odo] I0929 04:09:14.941532 2106869 helper.go:36] devfile apiVersion '2.0.0' is supported in odo
[odo] I0929 04:09:14.952303 2106869 schema.go:47] validated devfile schema
[odo] I0929 04:09:14.953131 2106869 preference.go:209] The path for preference file is /tmp/494781741/config.yaml
[odo] I0929 04:09:14.953153 2106869 component_helper.go:9] Found component "Container" with name "tools"
[odo] I0929 04:09:14.953163 2106869 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0929 04:09:14.953169 2106869 component_helper.go:9] Found component "Container" with name "tools"
[odo] I0929 04:09:14.953174 2106869 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0929 04:09:14.953181 2106869 validate.go:43] Successfully validated devfile sections
[odo] I0929 04:09:14.953542 2106869 preference.go:209] The path for preference file is /tmp/494781741/config.yaml
[odo] I0929 04:09:14.964949 2106869 preference.go:209] The path for preference file is /tmp/494781741/config.yaml
[odo] I0929 04:09:14.964984 2106869 context.go:84] absolute devfile path: '/tmp/494781741/devfile.yaml'
[odo] I0929 04:09:14.965404 2106869 content.go:34] converted devfile YAML to JSON
[odo] I0929 04:09:14.965501 2106869 apiVersion.go:50] devfile apiVersion: '2.0.0'
[odo] I0929 04:09:14.965509 2106869 helper.go:36] devfile apiVersion '2.0.0' is supported in odo
[odo] I0929 04:09:14.977348 2106869 schema.go:47] validated devfile schema
[odo] I0929 04:09:14.977488 2106869 preference.go:209] The path for preference file is /tmp/494781741/config.yaml
[odo] I0929 04:09:14.977508 2106869 component_helper.go:9] Found component "Container" with name "tools"
[odo] I0929 04:09:14.977517 2106869 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0929 04:09:14.977524 2106869 component_helper.go:9] Found component "Container" with name "tools"
[odo] I0929 04:09:14.977529 2106869 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0929 04:09:14.977537 2106869 validate.go:43] Successfully validated devfile sections
[odo] I0929 04:09:14.977985 2106869 preference.go:209] The path for preference file is /tmp/494781741/config.yaml
[odo] I0929 04:09:14.977999 2106869 preference.go:209] The path for preference file is /tmp/494781741/config.yaml
[odo] I0929 04:09:14.981238 2106869 preference.go:209] The path for preference file is /tmp/494781741/config.yaml
[odo] I0929 04:09:14.981251 2106869 preference.go:209] The path for preference file is /tmp/494781741/config.yaml
[odo] I0929 04:09:14.983460 2106869 utils.go:30] Deployment afmave not found
[odo]
[odo] Validation
[odo]  •  Validating the devfile  ...
[odo] I0929 04:09:14.983497 2106869 command.go:205] Build command: defaultbuild
[odo] I0929 04:09:14.983507 2106869 command.go:212] Run command: defaultrun
 ✓  Validating the devfile [38057ns]
[odo]
[odo] Creating Kubernetes resources for component afmave
[odo] I0929 04:09:14.983524 2106869 component_helper.go:9] Found component "Container" with name "tools"
[odo] I0929 04:09:14.983530 2106869 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0929 04:09:14.983537 2106869 component_helper.go:9] Found component "Container" with name "tools"
[odo] I0929 04:09:14.983542 2106869 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0929 04:09:14.983897 2106869 command.go:97] the command group of kind "debug" is not found in the devfile
[odo] I0929 04:09:14.983905 2106869 utils.go:315] Updating container runtime entrypoint with supervisord
[odo] I0929 04:09:14.983922 2106869 utils.go:194] Updating container runtime with supervisord volume mounts
[odo] I0929 04:09:14.983932 2106869 utils.go:204] Updating container runtime env with run command
[odo] I0929 04:09:14.983941 2106869 utils.go:222] Updating container runtime env with run command's workdir
[odo] I0929 04:09:14.983951 2106869 component_helper.go:9] Found component "Container" with name "tools"
[odo] I0929 04:09:14.983957 2106869 component_helper.go:9] Found component "Container" with name "runtime"
[odo] I0929 04:09:14.983970 2106869 component_helper.go:18] Found component "Volume" with name "springbootpvc"
[odo] I0929 04:09:14.983988 2106869 adapter.go:322] Generating PVC name for springbootpvc
[odo] I0929 04:09:14.984018 2106869 utils.go:98] Checking PVC for volume springbootpvc and label component=afmave,storage-name=springbootpvc
[odo] I0929 04:09:14.990802 2106869 adapter.go:387] Creating deployment afmave
[odo] I0929 04:09:14.990814 2106869 adapter.go:388] The component name is afmave
[odo] I0929 04:09:15.006183 2106869 adapter.go:432] Successfully created component afmave
[odo] I0929 04:09:15.016569 2106869 adapter.go:441] Successfully created Service for component afmave
[odo] I0929 04:09:15.016582 2106869 utils.go:98] Checking PVC for volume springbootpvc and label component=afmave,storage-name=springbootpvc
[odo] I0929 04:09:15.019344 2106869 utils.go:33] Creating a PVC for springbootpvc
[odo] I0929 04:09:15.021838 2106869 utils.go:71] Creating a PVC with name springbootpvc-afmave-bbhq and labels map[component:afmave storage-name:springbootpvc]
[odo] I0929 04:09:15.041895 2106869 deployments.go:99] Waiting for afmave deployment rollout
[odo]  •  Waiting for component to start  ...
[odo] I0929 04:09:15.044364 2106869 deployments.go:127] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2020-09-29T08:09:15Z","lastTransitionTime":"2020-09-29T08:09:15Z","reason":"NewReplicaSetCreated","message":"Created new replica set \"afmave-57b9795f86\""}
[odo] I0929 04:09:15.044373 2106869 deployments.go:145] Waiting for deployment spec update to be observed...
[odo] I0929 04:09:15.054836 2106869 deployments.go:127] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2020-09-29T08:09:15Z","lastTransitionTime":"2020-09-29T08:09:15Z","reason":"NewReplicaSetCreated","message":"Created new replica set \"afmave-57b9795f86\""}
[odo] I0929 04:09:15.054853 2106869 deployments.go:127] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2020-09-29T08:09:15Z","lastTransitionTime":"2020-09-29T08:09:15Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
[odo] I0929 04:09:15.054862 2106869 deployments.go:134] Waiting for deployment "afmave" rollout to finish: 0 out of 1 new replicas have been updated...
[odo] I0929 04:09:15.054869 2106869 deployments.go:145] Waiting for deployment spec update to be observed...
[odo] I0929 04:09:15.075625 2106869 deployments.go:127] Deployment Condition: {"type":"Available","status":"False","lastUpdateTime":"2020-09-29T08:09:15Z","lastTransitionTime":"2020-09-29T08:09:15Z","reason":"MinimumReplicasUnavailable","message":"Deployment does not have minimum availability."}
[odo] I0929 04:09:15.075647 2106869 deployments.go:127] Deployment Condition: {"type":"Progressing","status":"True","lastUpdateTime":"2020-09-29T08:09:15Z","lastTransitionTime":"2020-09-29T08:09:15Z","reason":"ReplicaSetUpdated","message":"ReplicaSet \"afmave-57b9795f86\" is progressing."}
[odo] I0929 04:09:15.075656 2106869 deployments.go:138] Waiting for deployment "afmave" rollout to finish: 0 of 1 updated replicas are available...
[odo] I0929 04:09:15.075664 2106869 deployments.go:145] Waiting for deployment spec update to be observed...
[odo] I0929 04:10:15.076391 2106869 streamwatcher.go:114] Unexpected EOF during watch stream event decoding: unexpected EOF
[odo]  ✗  Waiting for component to start [1m]
[odo]  ✗  Failed to start component with name afmave. Error: Failed to create the component: error while waiting for deployment rollout: watch channel was closed
Deleting project: gocxlsswdf
[root@odo-addon-bastion springboot-ex]# odo push

Validation
 ✓  Validating the devfile [43160ns]

Creating Kubernetes resources for component myspring
 ✗  Waiting for component to start [1m]
 ✗  Failed to start component with name myspring. Error: Failed to create the component: error while waiting for deployment rollout: watch channel was closed

@prietyc123
Copy link
Contributor

We already have similar issue reported in #3256 . So closing this one.

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/System-PZ Issues related to IBM System Z and System P kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

4 participants