-
Notifications
You must be signed in to change notification settings - Fork 47
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
feat: add rolling restart #231
Conversation
Test result gene@gene-MacBook-Pro deployment-automation % ansible-playbook ansible/operation-rolling-restart.yml --private-key artifacts/testkey --inventory artifacts/hosts_devex-cicd.ini PLAY [Redpanda Rolling Restart] ************************************************************************************************************************************************** TASK [Gathering Facts] *********************************************************************************************************************************************************** TASK [Check cluster health] ****************************************************************************************************************************************************** TASK [Get node ID] *************************************************************************************************************************************************************** TASK [Enable maintenance mode] *************************************************************************************************************************************************** TASK [Verify maintenance mode status] ******************************************************************************************************************************************** TASK [Check cluster health after enabling maintenance mode] ********************************************************************************************************************** TASK [Stop Redpanda service] ***************************************************************************************************************************************************** TASK [Start Redpanda service] **************************************************************************************************************************************************** TASK [Disable maintenance mode] ************************************************************************************************************************************************** TASK [Verify maintenance mode is disabled] *************************************************************************************************************************************** TASK [Check cluster health after disabling maintenance mode] ********************************************************************************************************************* TASK [Check broker status] ******************************************************************************************************************************************************* PLAY [Redpanda Rolling Restart] ************************************************************************************************************************************************** TASK [Gathering Facts] *********************************************************************************************************************************************************** TASK [Check cluster health] ****************************************************************************************************************************************************** TASK [Get node ID] *************************************************************************************************************************************************************** TASK [Enable maintenance mode] *************************************************************************************************************************************************** TASK [Verify maintenance mode status] ******************************************************************************************************************************************** TASK [Check cluster health after enabling maintenance mode] ********************************************************************************************************************** TASK [Stop Redpanda service] ***************************************************************************************************************************************************** TASK [Start Redpanda service] **************************************************************************************************************************************************** TASK [Disable maintenance mode] ************************************************************************************************************************************************** TASK [Verify maintenance mode is disabled] *************************************************************************************************************************************** TASK [Check cluster health after disabling maintenance mode] ********************************************************************************************************************* TASK [Check broker status] ******************************************************************************************************************************************************* PLAY [Redpanda Rolling Restart] ************************************************************************************************************************************************** TASK [Gathering Facts] *********************************************************************************************************************************************************** TASK [Check cluster health] ****************************************************************************************************************************************************** TASK [Get node ID] *************************************************************************************************************************************************************** TASK [Enable maintenance mode] *************************************************************************************************************************************************** TASK [Verify maintenance mode status] ******************************************************************************************************************************************** TASK [Check cluster health after enabling maintenance mode] ********************************************************************************************************************** TASK [Stop Redpanda service] ***************************************************************************************************************************************************** TASK [Start Redpanda service] **************************************************************************************************************************************************** TASK [Disable maintenance mode] ************************************************************************************************************************************************** TASK [Verify maintenance mode is disabled] *************************************************************************************************************************************** TASK [Check cluster health after disabling maintenance mode] ********************************************************************************************************************* TASK [Check broker status] ******************************************************************************************************************************************************* PLAY RECAP *********************************************************************************************************************************************************************** |
43e5b6d
to
38ce182
Compare
Adds rolling restart functionality
38ce182
to
39f18f3
Compare
TLS variable has no impact on prometheus role. provision_cluster_tls had a duplicate role inclusion. I also did a doc pass to add references to some important variables.
Includes support for the nightly build + makes some usability improvements to the makefile for topic name and partition count setting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Adds rolling restart functionality. Can be run against a cluster to restart all nodes in sequence without other changes.