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

operator cluster describe not showing failoverVersionIncrement and initialFailoverVersion #7294

Open
tsurdilo opened this issue Feb 7, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@tsurdilo
Copy link
Contributor

tsurdilo commented Feb 7, 2025

 tctl adm cl describe 

displays failoverVersionIncrement and initialFailoverVersion in its result

temporal operator cluster describe -o json

is missing these fields

ask is to include all results of cluster desc if possible in cli as well or let us know if there is an alternative option to get this info. thanks.

@tsurdilo tsurdilo added the bug Something isn't working label Feb 7, 2025
@cretz
Copy link
Member

cretz commented Feb 7, 2025

These are not present in GetClusterInfoResponse at https://github.com/temporalio/api/blob/add5b501e1a717d42a4871a09833291c521aad42/temporal/api/workflowservice/v1/request_response.proto#L1078-L1090, but initialFailoverVersion is at least available in operator cluster list.

Transferring to server to see if they want operator cluster describe (i.e. GetClusterInfo) to include these fields. If included, they will then be visible to every user of this API including CLI. (admin service APIs are not the same as operator APIs and are not meant to be accessible from CLI)

@cretz cretz transferred this issue from temporalio/cli Feb 7, 2025
@bergundy bergundy added enhancement New feature or request and removed bug Something isn't working labels Feb 20, 2025
@bergundy
Copy link
Member

Considering this as an enhancement, for now there should be a workaround using tdbg, will bring this up to internal discussion and see if we want to add the missing fields to the operator API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants