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

Keep track of OS versions deployed on nodes #1192

Closed
kkaempf opened this issue Feb 2, 2024 · 7 comments · Fixed by rancher/elemental-operator#642
Closed

Keep track of OS versions deployed on nodes #1192

kkaempf opened this issue Feb 2, 2024 · 7 comments · Fixed by rancher/elemental-operator#642
Assignees
Labels
kind/enhancement New feature or request
Milestone

Comments

@kkaempf
Copy link
Contributor

kkaempf commented Feb 2, 2024

Describe the solution you'd like:
[A clear and concise description of what you want to happen.]
MachineInventory should keep track of which OS version (+ patch level) is deployed on a node.

This is important for OS management to schedule updates accordingly.

The UI should provide a list overview of nodes and their respective OS versions. It should be possible to sort-by and filter-by OS version.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Having OS image information (repository, tag, image id, architecture) should also be useful.

Environment:

  • Elemental release version (use cat /etc/os-release):
  • Rancher version:
  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
@kkaempf kkaempf added the kind/enhancement New feature or request label Feb 2, 2024
@kkaempf kkaempf added this to the slem6 milestone Feb 2, 2024
@kkaempf kkaempf added this to Elemental Feb 2, 2024
@davidcassany
Copy link
Contributor

To me this sounds like something that could be done from the elemental-register as we do for the nodes IP addresses by setting some annotations. Unless I miss something it should be simple to implement something like that, we have all the pieces available we just need to include and additional field when registering and getting the OS version from /etc/os-release should be pretty straight forward elemental-register is already running continuously in the nodes.

@Martin-Weiss
Copy link

How often does the register process run? Inventory data (ip address / OS version etc. will change over time).

@davidcassany
Copy link
Contributor

How often does the register process run? Inventory data (ip address / OS version etc. will change over time).

On every boot and once booted it runs periodically just to update annotations every 30min.

@Martin-Weiss
Copy link

Great - thanks - then the information might be up to date..

Can we configure this 30min interval? It could be a challenge in disconnected scenarios and it could be a challenge in large scale environments as well (i.e. >10k machines)...

@kkaempf
Copy link
Contributor Author

kkaempf commented Feb 5, 2024

That should be added to System Data like rancher/elemental-operator#593 🤔

@kkaempf kkaempf moved this to 💡 Backlog in Elemental Feb 5, 2024
@davidcassany davidcassany moved this from 💡 Backlog to 🗳️ To Do in Elemental Feb 20, 2024
@davidcassany
Copy link
Contributor

That should be added to System Data like rancher/elemental-operator#593 🤔

Probably could work, but it feels weird using the OS version as a selection criteria for the nodes as this won't stay static over the node lifecycle.

@fgiudici fgiudici self-assigned this Feb 21, 2024
@fgiudici fgiudici moved this from 🗳️ To Do to 🏃🏼‍♂️ In Progress in Elemental Feb 21, 2024
@fgiudici
Copy link
Member

Great - thanks - then the information might be up to date..

Can we configure this 30min interval? It could be a challenge in disconnected scenarios and it could be a challenge in large scale environments as well (i.e. >10k machines)...

Hey @Martin-Weiss ,
fair request IMO. Not anyway something I would consider high prio at the moment.
Opened a tracking issue for that: rancher/elemental-operator#641 .

@fgiudici fgiudici moved this from 🏃🏼‍♂️ In Progress to 👀 Needs review in Elemental Feb 22, 2024
@github-project-automation github-project-automation bot moved this from 👀 Needs review to ✅ Done in Elemental Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants