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

Metrics: Report software versions for operator #190

Open
spuiuk opened this issue Apr 28, 2022 · 5 comments
Open

Metrics: Report software versions for operator #190

spuiuk opened this issue Apr 28, 2022 · 5 comments
Assignees

Comments

@spuiuk
Copy link
Collaborator

spuiuk commented Apr 28, 2022

It would be very useful to see the underlying software versions in the metrics page.

The software I am interested in are:

  1. Samba version.
  2. CTDB version (if in clustering mode).
@synarete
Copy link
Collaborator

@spuiuk What command should I issue to get the CTDB version?

@spuiuk
Copy link
Collaborator Author

spuiuk commented May 12, 2022

For ctdb specifically we can use the ctdb version command.

However maybe we should just rely on rpm commands - so something similar to
rpm -q ctdb samba python3
?

@spuiuk
Copy link
Collaborator Author

spuiuk commented May 12, 2022

also sambacc when we ship it as rpm.

@synarete
Copy link
Collaborator

Cool -- using rpm -q is the simplest solution. Thanks.

@obnoxxx
Copy link
Collaborator

obnoxxx commented Jan 18, 2023

ctdb had a separate version only in the very beginning. since ctdb code was merged into the samba git repo a long time go, the ctdb version is just the samba version. I don't even remember whether ctdb reports its own version any more ..., @synarete , @spuiuk

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

3 participants