OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.22k stars 478 forks source link

Graceful shutdown feature #4371

Open kvaps opened 4 years ago

kvaps commented 4 years ago

Description oned should support graceful shutdown feature. Eg. when shutdown of leader requested it should gracefuly transfer leader role to another server, and only after that go offline.

Use case Zero-downtime rolling update

Interface Changes When current leader recieve SIGINT signal it should stop sending raft votes, and continue working until new leader be chosen, then immediately go down.

Additional Context Additionally it also can wait untill all active operations for the VMs be finished.

Progress Status

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. The OpenNebula Dev Team