On 9 November 2016 at 14:49, knarra <knarra@redhat.com> wrote:
Can some one please help me to understand the queries below.

On 11/03/2016 06:43 PM, Maor Lipchuk wrote:
Hi kasturi,

Which version of oVirt are you using?
Apologies for the late reply. I am using the latest master.
Roy, I assume it is related to 4.0 version where the import of hosted storage domain was introduced. Care to share your insight about it?

Regards,
Maor


On Thu, Nov 3, 2016 at 12:23 PM, knarra <knarra@redhat.com> wrote:
Hi,

    I have three storage domains backed by gluster in my environment (hostedstorage, data and vmstore). I would want to move the storage domains into maintenance. Have couple of questions here.

1) Will moving master storage domain into maintenance have some impact on hostedstorage?

2) I see that moving master storage domain into maintenance causes  HostedEngine VM to restart and moves hosted_storage from active to Unknown state. Is this expected?

3) master storage domain remains in  "Preparing for Maintenance" and i see the following exceptions in the engine.log.

2016-11-03 06:22:10,988 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler6) [2d534f09] IrsBroker::Failed::GetStoragePoolInfoVDS: IRSGenericException: IRSErrorException: IRSNoMasterDomainException: Wrong Master domain or its version: u'SD=08aba92e-e685-45d7-b03f-85d9678ecc9b, pool=581999ef-02aa-0272-0334-000000000159'
2016-11-03 06:22:11,001 WARN [org.ovirt.engine.core.bll.storage.pool.ReconstructMasterDomainCommand] (org.ovirt.thread.pool-6-thread-24) [210d2f12] Validation of action 'ReconstructMasterDomain' failed for user SYSTEM. Reasons: VAR__ACTION__RECONSTRUCT_MASTER,VAR__TYPE__STORAGE__DOMAIN,ACTION_TYPE_FAILED_STORAGE_DOMAIN_STATUS_ILLEGAL2,$status PreparingForMaintenance

Thanks

kasturi.


The hosted_storage will not be picked up as a master domain. So the reconstruct must have picked up one of your other domain. I don't know why the reconstruct failed, it says here it's wrong master domain version.
 
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users