question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provisioning a node that was previously deleted.

See original GitHub issue

Hello, I am trying to figure out the networkExclusions object that gets populated after a node is removed. When I remove a node, I see that it’s address is added to the list. If I try to provision that same node again on the same network, I am unable to send messages to it to start the provisioning process.

How can I clear the networkExclusions list when I want to re-provision an unprovisioned/reset/deleted node? Is that even the right approach? I’ve combed over the example app and could not find any examples of things clearing up. What if I have just one node that I want to unprovision (the proxy node) and re-provision. Should I reset the entire network after that?

I see some things about updating the network IV, but I cant find any APIs/methods to do that.

Any advice would be appreciated. Thanks.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
R0m4in-doozcommented, May 19, 2021

Hello @Cplantijn . From my understanding you should not try to reuse the addresses that are in network exclusions. You should assign a new address, getting it via nextAvailableUnicastAddress method (you will need to know the number of elements your node has)

0reactions
Cplantijncommented, May 21, 2021

Thanks for the help, all! It was an issue with my app code. Once I removed the node I still had it marked for removal, so when it was added the second time it was instantly wiped out. Thanks for all the help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nodes that don't fully provision won't delete #11277 - GitHub
Steps to Reproduce: Create a cluster; Create a RKE cluster with AWS and check on the private IP (so the nodes won't fully...
Read more >
Deprovisioning - Karpenter
Node expired: Karpenter requests to delete the node after a set number of seconds, based on the provisioner ttlSecondsUntilExpired value, from ...
Read more >
Using node auto-provisioning | Google Kubernetes Engine ...
With node auto-provisioning, new node pools are created and deleted automatically. ... including node pools previously created by node auto-provisioning.
Read more >
1837505 – Deleting bmh in PROVISIONING STATUS "ready ...
Wait till the node is deleted from cluster and becomes ready and offline in Bare Metal $ oc get bmh -n openshift-machine-api 4....
Read more >
Node already registered with the Chef server - IBM
If you are sure that you are using a unique host name for all middleware template deployed instances, you can delete the Chef...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found