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

EVE should gracefully re-register/re-enroll when deleted from controller #3109

Open
DolceTriade opened this issue Mar 22, 2023 · 0 comments
Open

Comments

@DolceTriade
Copy link
Contributor

DolceTriade commented Mar 22, 2023

Use case

Forcing a reboot to re-register can be inconvenient if you intentionally or mistakenly delete/unregister your device from the controller.

Describe the solution you'd like

If EVE receives an error when fetching its uuid or config, it should attempt to re-register.

@DolceTriade DolceTriade changed the title EVE should gracefully register/enroll when deleted from controller EVE should gracefully re-register/re-enroll when deleted from controller Mar 22, 2023
DolceTriade added a commit to DolceTriade/eve that referenced this issue Mar 30, 2023
previously, we would declare success if the old uuid existed, but there
is a possibility that a device has been deleted and re-onboarded, so
attempt to actually fetch the UUID and re-register.

This allows you to recover an accidently deleted device by rebooting
instead of requiring a re-image.

Helps with lf-edge#3109
DolceTriade added a commit to DolceTriade/eve that referenced this issue Mar 30, 2023
previously, we would declare success if the old uuid existed, but there
is a possibility that a device has been deleted and re-onboarded, so
attempt to actually fetch the UUID and re-register.

This allows you to recover an accidently deleted device by rebooting
instead of requiring a re-image.

Helps with lf-edge#3109

Signed-off-by: Harsh Modi <hmodi@aviatrix.com>
DolceTriade added a commit to DolceTriade/eve that referenced this issue Mar 30, 2023
previously, we would declare success if the old uuid existed, but there
is a possibility that a device has been deleted and re-onboarded, so
attempt to actually fetch the UUID and re-register.

This allows you to recover an accidently deleted device by rebooting
instead of requiring a re-image.

Helps with lf-edge#3109

Signed-off-by: Harsh Modi <hmodi@aviatrix.com>
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

1 participant