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

webservice to decommission nodes is broken #1345

Open
3 tasks
jonstout opened this issue Nov 12, 2021 · 0 comments
Open
3 tasks

webservice to decommission nodes is broken #1345

jonstout opened this issue Nov 12, 2021 · 0 comments

Comments

@jonstout
Copy link
Member

We're currently relying on update_cache to propagate node turn down events to fwdctl and discovery.

NSO discovery at least needs a notification of this event to stop tracking changes for the decom'd node. NSO fwdctl's update_cache doesn't current read in node state changes.

Database code that gets called is busted:
https://github.com/GlobalNOC/OESS/blob/admin-ui-refresh/perl-lib/OESS/lib/OESS/Database.pm#L5144-L5192

  • Create and publish rabbitmq events to both fwdctl and discovery for nso
  • Update both fwdctl and discovery cached node hash for nso
  • Replace busted Database::decom_node logic (see admin-ui-refresh branch for correct logic)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant