Hello, 
              
              I'm trying to decommission the old master storage domain
              in ovirt, and replace it with a new one. All of the VMs
              have been migrated off of the old master, and everything
              has been running on the new storage domain for a couple
              months. But when I try to put the old domain into
              maintenance mode I get an error. 
              
              Old Master: vm-storage-ssd
              New Domain: vm-storage-ssd2
              
              The error is: 
              
              Failed to Reconstruct Master Domain for Data Center EDC2
              
              As well as: 
              
              Sync Error on Master Domain between Host daccs01 and oVirt
              Engine. Domain: vm-storage-ssd is marked as Master in
              oVirt Engine database but not on the Storage side. Please
              consult with Support on how to fix this issue.
              
              2021-07-28 11:41:34,870-07 WARN 
              [org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxy]
              (EE-ManagedThreadFactory-engine-Thread-23) [] Master
              domain version is not in sync between DB and VDSM. Domain
              vm-storage-ssd
               marked as master, but the version in DB: 283 and in VDSM:
              280
              
              And: 
              
              Not stopping SPM on vds daccs01, pool id
              f72ec125-69a1-4c1b-a5e1-313fcb70b6ff as there are
              uncleared tasks Task
              '5fa9edf0-56c3-40e4-9327-47bf7764d28d', status 'finished'
              
              
              After a couple minutes all the domains are marked as
              active again and things continue, but vm-storage-ssd is
              still listed as the master domain. Any thoughts?
              
              
              This is on 4.3.10.4-1.el7   on CentOS 7. 
              
              engine=# SELECT storage_name, storage_pool_id, storage,
              status FROM storage_pool_with_storage_domain ORDER BY
              storage_name;
                   storage_name      |          
              storage_pool_id            |               
              storage                 | status
              
-----------------------+--------------------------------------+----------------------------------------+--------
               compute1-iscsi-ssd    |
              f72ec125-69a1-4c1b-a5e1-313fcb70b6ff |
              yvUESE-yWUv-VIWL-qX90-aAq7-gK0I-EqppRL |      1
               compute7-iscsi-ssd    |
              f72ec125-69a1-4c1b-a5e1-313fcb70b6ff |
              8ekHdv-u0RJ-B0FO-LUUK-wDWs-iaxb-sh3W3J |      1
               export-domain-storage |
              f72ec125-69a1-4c1b-a5e1-313fcb70b6ff |
              d3932528-6844-481a-bfed-542872ace9e5   |      1
               iso-storage           |
              f72ec125-69a1-4c1b-a5e1-313fcb70b6ff |
              f800b7a6-6a0c-4560-8476-2f294412d87d   |      1
               vm-storage-7200rpm    |
              f72ec125-69a1-4c1b-a5e1-313fcb70b6ff |
              a0bff472-1348-4302-a5c7-f1177efa45a9   |      1
               vm-storage-ssd        |
              f72ec125-69a1-4c1b-a5e1-313fcb70b6ff |
              95acd9a4-a6fb-4208-80dd-1c53d6aacad0   |      1
               vm-storage-ssd2       |
              f72ec125-69a1-4c1b-a5e1-313fcb70b6ff |
              829d0600-c3f7-4dae-a749-d7f05c6a6ca4   |      1
              (7 rows)
              
              Thanks,
               -Matthew
              
-- 
              
             
            _______________________________________________