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

Misleading message about version change #512

Closed
duglin opened this issue Nov 21, 2019 · 4 comments
Closed

Misleading message about version change #512

duglin opened this issue Nov 21, 2019 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@duglin
Copy link
Contributor

duglin commented Nov 21, 2019

Today I noticed this:

$ kn service update echo --revision-name echo-v1 --concurrency-limit=0
Updating Service 'echo' in namespace 'default':

  0.243s Ready to serve.

Service 'echo' updated with latest revision 'echo-gnxbs-2' (unchanged) and URL:
http://echo-default.kn.us-south.containers.appdomain.cloud

The mention of echo-gnxbs-2 and unchanged is very confusing to me because the latest version did change (the concurrency limit changed) and the latest version is not "echo-gnxbs-2", it's "echo-v1".

I'm not sure what that message is trying to convey but I'm not sure I see the value in showing me the old revision name or telling me whether its changed or not when I should already know it because of what I put on the cmd line. Also, do we need to show the URL again since it's unchanged?

@duglin duglin added the kind/bug Categorizes issue or PR as related to a bug. label Nov 21, 2019
@navidshaikh
Copy link
Collaborator

@duglin : Are you using the serving nightly build ?

@navidshaikh
Copy link
Collaborator

If it's against serving nightly build, it's because latestReadyRevision reported by service status is same as the one before service update and kn is comparing this field before and after the update to print whether its unchanged or not. See knative/serving#6060

@duglin
Copy link
Contributor Author

duglin commented Nov 22, 2019

@navidshaikh thanks - I was testing with 'master', using v0.10 I don't see the issue.

Do people think we really need to echo the service URL again on an update? I don't think anything the user can do will change the value so I don't see the point in adding even more verbosity. In fact, the one thing I can think of that might justify some kind of message would be the use of the --tag since that will create a new endpoint, but we still return the default URL in those cases right now.

yes I'm going to keep complaining about how chatty we are by default :-)

coryrc pushed a commit to coryrc/client that referenced this issue May 14, 2020
* allow running tests against specific GKE versions
* allow skipping Knative setup when running tests
* allow passing extra flags to kubetest
* allow customizing GKE environment and command group through environment variables
@github-actions
Copy link

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 15, 2020
navidshaikh pushed a commit to navidshaikh/client that referenced this issue Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

2 participants