Make the rabbitmq OCF to check ha sync for graceful stop, demote actions
Bug #1464637 reported by
Bogdan Dobrelya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Matthew Mosesohn |
Bug Description
In case of a graceful action demote of a master or a slave stopping, it could be nice to ensure the queues owned by this node are fully synchronized elsewhere. Otherwise, there could be data loss.
The graceful cases are when the operator stops or demotes the resource
by request.
Changed in fuel: | |
importance: | Undecided → Medium |
assignee: | nobody → Fuel Library Team (fuel-library) |
milestone: | none → 7.0 |
tags: | added: rabbitmq |
description: | updated |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
importance: | Medium → Wishlist |
milestone: | 7.0 → 8.0 |
Changed in fuel: | |
milestone: | 8.0 → 7.0 |
status: | Confirmed → Won't Fix |
no longer affects: | fuel/8.0.x |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
importance: | Wishlist → Medium |
tags: | added: area-library |
tags: | added: on-verification |
To post a comment you must log in.
From Bogdan: slave_pids and waiting for sync until queues are all synced. The loop or method should be called wait_for_ all_queues_ in_sync. The loop should run until 50% of timeout interval for stop or demote action, defined by OCF_RESKEY_ CRM_meta_ timeout.
This task may be done by analyzing rabbitmqctl list queues slave_pids syncronized_