You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears an empty string is being passed to GetRevision causing the error.
Expected behavior
kn service describe should describe the Service without issue. Also, regardless of the root of this issue, there should be more information about why this error message is occurring.
Steps to reproduce the problem
Find a way to create a Service with a Revision stuck in a pending state:
$ kn service list
NAME URL LATEST
AGE CONDITIONS READY REASON
helloworld-go http://helloworld-go.deploy-your-first-application-using-knative-w01-s001.example.com
6m49s 0 OK / 3 Unknown RevisionMissing : Configuration "helloworld-go" is waiting for a Revision to b
ecome ready.
Would be happy to pick it up if no one is working on it. Not sure if keeping the empty string in any capacity would be worth it? It's coming from LatestReadyRevisionName. Would just skipping the empty string be appropriate?
knative#823)
* Add dynamic flaky reporting for jobs with less tests
* Fix issues with dynamic flaky reporting thresholds
* update test configs for new flaky logic
Bug report
When using
kn service describe
on a Service where the Revision is not available, the following error message is returned:It would be helpful to display a more informative error message or display that the Revision is not ready as part of the describe command.
Debugging this locally, this error comes from
completeWithLatestRevisions
and is returned here:client/pkg/kn/commands/service/describe.go
Line 119 in c41e9fd
It appears an empty string is being passed to
GetRevision
causing the error.Expected behavior
kn service describe
should describe the Service without issue. Also, regardless of the root of this issue, there should be more information about why this error message is occurring.Steps to reproduce the problem
Find a way to create a
Service
with aRevision
stuck in a pending state:Run
kn service describe
on the service.kn version
Knative (serving/eventing) version
Serving: v0.14.0
The text was updated successfully, but these errors were encountered: