-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Consul version of each nodes in UI nodes section #17097
Comments
@huikang can you please assign this to me |
@huikang @jkirschner-hashicorp Please find below snapshot of proposed solution for showing consul version running on each nodes. FYI @Lord-Y |
@vijayraghav-io That's good 👍🏾 |
Hello @Lord-Y, thank you for raising this up, and thank you @vijayraghav-io for the proposal. This is all valuable to us. I’m Cindy Zhang, one of the product designers at Consul. We’re excited to receive this request and are curious to learn more about the use case behind this request. Depending on the use case you want addressed, the design proposed by @vijayraghav-io may be the ideal way, but there may also be alternative ways that are more helpful. For example, perhaps it would be more helpful to have an aggregated view of the range of versions you’re currently running on your nodes and a way to digest that information. Again, it all depends on the use case(s). In light of this, I would like to invite you to a meeting with us to discuss how Consul can best assist you use our product in relation to the agent versions. Please feel free to use this link to choose any time that is most convenient for you: https://calendly.com/cindy-zhang-6dy/30min We understand if you don’t have time for a meeting, but we would nonetheless appreciate some context for the following questions:
|
Hi @cizh Other use cases: |
My pleasure! @vijayraghav-io Help me further understand "decision making during upgrades". Which of the statement(s) below is/are accurate for you? Are there ones that are not captured? If I have a large number of nodes in a cluster, seeing the consul versions they run on will help me to skim and say:
|
Thank you! @cizh , All three statements are best fit, 1 & 3 are more accurate to me. |
That's even better. |
👍 |
(copy-pasting my response from the PR here for syncing) Hi @vijayraghav-io Please see above for a mockup with "filter" function: after discussion with @jkirschner-hashicorp, we decided displaying all of the user's current versions in the filter options would make the logic more clear to users. Although it'll be great UX if we can digest for our users in "latest" "outdated" and "out-of-support", at this time, the number is the least confusing because some versions may be compatible with much earlier versions but not the latest so we can't precisely say they are out of support. |
Hi @cizh , as an update - I am working on this , should be ready to review in a couple of days. Will update. Thanks! for the mock-up. |
… into release/1.16.x (#18113) ## Backport This PR is auto-generated from #17754 to be assessed for backporting due to the inclusion of the label backport/1.16. :rotating_light: >**Warning** automatic cherry-pick of commits failed. If the first commit failed, you will see a blank no-op commit below. If at least one commit succeeded, you will see the cherry-picked commits up to, _not including_, the commit where the merge conflict occurred. The person who merged in the original PR is: @WenInCode This person should manually cherry-pick the original PR into a new backport PR, and close this one when the manual backport PR is merged in. > merge conflict error: unable to process merge commit: "1c757b8a2c1160ad53421b7b8bd7f74b205c4b89", automatic backport requires rebase workflow The below text is copied from the body of the original PR. --- fixes #17097 Consul version of each nodes in UI nodes section @jkirschner-hashicorp @huikang @team @maintainers Updated consul version in the request to register consul. Added this as Node MetaData. Fetching this new metadata in UI <img width="1512" alt="Screenshot 2023-06-15 at 4 21 33 PM" src="https://github.com/hashicorp/consul/assets/3139634/94f7cf6b-701f-4230-b9f7-d8c4342d0737"> Also made this backward compatible and tested. Backward compatible in this context means - If consul binary with above PR changes is deployed to one of node, and if UI is run from this node, then the version of not only current (upgraded) node is displayed in UI , but also of older nodes given that they are consul servers only. For older (non-server or client) nodes the version is not added in NodeMeta Data and hence the version will not be displayed for them. If a old node is consul server, the version will be displayed. As the endpoint - "v1/internal/ui/nodes?dc=dc1" was already returning version in service meta. This is made use of in current UI changes. <img width="1480" alt="Screenshot 2023-06-16 at 6 58 32 PM" src="https://github.com/hashicorp/consul/assets/3139634/257942f4-fbed-437d-a492-37849d2bec4c"> --- <details> <summary> Overview of commits </summary> - 931fdfc - b3e2ec1 - 8d0e9a5 - 04e5d88 - 28286a2 - 43e50ad - 0cf1b70 - 27f34ce - 2ac76d6 - 3d618df - 1c757b8 - 23ce82b - 4dc1c9b - 85a12a9 - 25d30a3 - 7f1d619 - 5174cbf </details> --------- Co-authored-by: Vijay Srinivas <vijayraghav22@gmail.com> Co-authored-by: John Murret <john.murret@hashicorp.com> Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
Hello guys,
It very useful to have the Consul version of each nodes in UI nodes section next to the IP address.
When doing a rolling upgrade or having federeted setup, I feel like we need that.
Thx.
The text was updated successfully, but these errors were encountered: