Created attachment 600327[details]
logs
Description of problem:
I was able to put spm host in maintenance (som recontends on second host) while putting master domain in maintenance (reconstruct master domain).
Version-Release number of selected component (if applicable):
si11
How reproducible:
100%
Steps to Reproduce:
1. put spm host in maintenance -> put master domain in maintenance
2.
3.
Actual results:
we try to reconstruct the master domain while pool is still connected
vdsm will fail with below error:
StoragePoolConnected: Cannot perform action while storage pool is connected: ('ddab0f18-db34-437c-8826-fb91643d5ef3',)
we also do not automatically recover and we need to disconnect the pool manually (or put new spm in maintenance and activate again).
Expected results:
backend should block reconstruct while spm is recontending.
Additional info: vdsm and backend logs
Created attachment 600327 [details] logs Description of problem: I was able to put spm host in maintenance (som recontends on second host) while putting master domain in maintenance (reconstruct master domain). Version-Release number of selected component (if applicable): si11 How reproducible: 100% Steps to Reproduce: 1. put spm host in maintenance -> put master domain in maintenance 2. 3. Actual results: we try to reconstruct the master domain while pool is still connected vdsm will fail with below error: StoragePoolConnected: Cannot perform action while storage pool is connected: ('ddab0f18-db34-437c-8826-fb91643d5ef3',) we also do not automatically recover and we need to disconnect the pool manually (or put new spm in maintenance and activate again). Expected results: backend should block reconstruct while spm is recontending. Additional info: vdsm and backend logs