Skip to content

SVCPLAN-9262: Remove ncsa inventory script#15

Merged
inwho merged 1 commit into
mainfrom
hwang104/SVCPLAN-9262/remove-ncsa-inventory-script
Jun 30, 2026
Merged

SVCPLAN-9262: Remove ncsa inventory script#15
inwho merged 1 commit into
mainfrom
hwang104/SVCPLAN-9262/remove-ncsa-inventory-script

Conversation

@inwho

@inwho inwho commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Removes the ncsa_inventory.sh script as well as the related telegraf config file as these have been discontinued by the ICI-monitoring team.

The affected files (/etc/telegraf/scripts/ncsa_inventory.sh and /etc/telegraf/telegraf.d/ncsa_inventory.conf) are not automatically removed on update and will require manual removal if desired (telegraf will continue to execute the check once a week if left alone).

Tested on mgtest02 and mgdb2.

@inwho inwho requested a review from jakerundall June 24, 2026 19:30
@inwho inwho self-assigned this Jun 24, 2026

@jakerundall jakerundall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me.

re: not having Puppet remove these files, if present — They will presumably stick around a while on stateful nodes, incl. various ISF servers and cluster admin nodes. No concern there?

@inwho

inwho commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

That is a good point. I was unsure if the tradeoff was worth it, i.e. adding code to specifically check and remove for these two files, because it would quickly become defunct but also be difficult to remove in the future (as this is an external module that has no matching cadence across clusters).

But as I think about it, we will likely migrate this profile into ansible in the near future so maybe that concern isn't as bad as I am imagining it to be.

I think I will add that code to clean up those two files, and add a comment to discard them when rewriting to ansible.

@jakerundall jakerundall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@inwho inwho force-pushed the hwang104/SVCPLAN-9262/remove-ncsa-inventory-script branch from f4d480c to 49f0b05 Compare June 30, 2026 15:44
@inwho inwho merged commit 13a704e into main Jun 30, 2026
4 checks passed
@inwho inwho deleted the hwang104/SVCPLAN-9262/remove-ncsa-inventory-script branch June 30, 2026 15:47
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

Successfully merging this pull request may close these issues.

2 participants