Comment 3 for bug 1701061

Revision history for this message
Edward Hope-Morley (hopem) wrote :

Hi Frode, there are actually two issues at play here. The amulet error that you've pasted above is a result of a race condition whereby the removed unit reference has not yet been removed from rabbitmq cluster_status at the time amulet does the poll. It does however get removed eventually so its really just a timing thing. The second issue, which you allude to in your comments above is potentially more serious and is the fact that if we remove the unit that was set as the leader_node_hostname which is represented in "cluster_name", that name is never updated to be that of the new leader and that in turn likely messes with the code that you reference above which was added as a fix for bug 1691510.