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

istioctl experimental wait has undecipherable message if value isn't set #42967

Closed
ericvn opened this issue Jan 24, 2023 · 0 comments · Fixed by #43023
Closed

istioctl experimental wait has undecipherable message if value isn't set #42967

ericvn opened this issue Jan 24, 2023 · 0 comments · Fixed by #43023

Comments

@ericvn
Copy link
Contributor

ericvn commented Jan 24, 2023

Bug Description

I get this message trying to use wait when Pilot Version tracking is disabled (the default).

istioctl experimental wait gateway httpbin-gateway
Error: invalid character 'P' looking for beginning of value

I added some logic to dump the response that since it seems to be a unmarshalling type error.

The response was:

Pilot Version tracking is disabled.  Please set the PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING environment variable to true to enable.

It would be good to check for the existence of this value and return a better message from the istioctl experimental wait.

Version

> istioctl version                                                                                                        
no running Istio pods in "istio-system"
1.16.0

Although I'm not sure which release made setting the value a requirement. I assume this is broken back that far.

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants