Comment 2 for bug 2047297

Revision history for this message
Boris Lukashev (rageltman) wrote (last edit ):

Tracked the `reconfigure` piece down to:
```
    def is_maint_flag_enabled(self):
        feature_flags = self._exec('rabbitmqctl', ['list_feature_flags', '-q'], True)
        for param_item in feature_flags:
            name, state = param_item.split('\t')
            if name == 'maintenance_mode_status' and state == 'enabled':
                return True
        return False

```
inside `ansible_collections/community/rabbitmq/plugins/modules/rabbitmq_upgrade.py` and there doesnt seem to be any magic going on here except maybe it's comprehension of `self` because running that exact command (`rabbitmqctl list_feature_flags -q`) against all rabbitmq containers works fine.