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

RFE: hirtectl list-nodes #291

Closed
dougsland opened this issue May 9, 2023 · 4 comments
Closed

RFE: hirtectl list-nodes #291

dougsland opened this issue May 9, 2023 · 4 comments

Comments

@dougsland
Copy link
Contributor

dougsland commented May 9, 2023

Please describe what you would like to see

Would be nice to have a quick list of nodes that hirte daemon is managing.

Example:

# hirtectl list-nodes [--filter]
Reporting hirte nodes at Tue May  9 17:14:19 UTC 2023
Name                   | Type                 |  IPv4 / IPv6                               | Status   
===================================================================================================
container-ASIL         | Control, Agent       | 172.77.2.1, fd00::4ce8:5bff:fe67:8c2d      | Online   
container-QM-node1     |  Agent               | 172.77.2.5, fd00::4ce8:5bff:fe67:8c5d      | Offline
container-QM-node2     |  Agent               | 172.77.2.2, fd00::4ce8:5bff:fe67:8c8d      | Online
container-QM-node3     |  Agent               | 172.77.2.3. fd00::4ce8:5bff:fe67:8c21      | Online

The fields are pretty much explained by itself. The --filter could be used like: hiterctl list-nodes --filter=container-ASIL

Please describe your use case

Today there is no way to quick identify which nodes are working or not, need to look logs or dig config files and start pinging the hosts. Looking ahead in time, having such output in a sosreport from users (last time the report was generated (date/time)) and which nodes are working or not is super for support.

@dougsland
Copy link
Contributor Author

/cc @rhatdan

@dougsland
Copy link
Contributor Author

dougsland commented May 9, 2023

We can even do like, instead of --filter, --active (for online nodes) or even both options as filter can be more grained option.

@engelmi
Copy link
Member

engelmi commented May 10, 2023

What do you think about hirtectl nodes [--filter]? This would be similar to podman images

@dougsland
Copy link
Contributor Author

We agreed that this one is likely be a dup of #281

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

No branches or pull requests

2 participants