Bug 817834 - [Storage][NFS] Error message after ISO domain creation.
Summary: [Storage][NFS] Error message after ISO domain creation.
Status: CLOSED DUPLICATE of bug 808874
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.1.0
Assignee: Daniel Erez
QA Contact: Haim
Whiteboard: storage
Depends On:
TreeView+ depends on / blocked
Reported: 2012-05-01 14:17 UTC by Leonid Natapov
Modified: 2016-02-10 16:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-06-11 11:16:36 UTC
oVirt Team: Storage
Target Upstream Version:

Attachments (Terms of Use)
logs (449.22 KB, application/octet-stream)
2012-05-01 14:17 UTC, Leonid Natapov
no flags Details

Description Leonid Natapov 2012-05-01 14:17:58 UTC
Created attachment 581383 [details]

Getting the following error message after ISO domain creation:
Error: Failed to attach Storage due to an error on the Data Center master Storage Domain. Please Activate the master Storage Domain first.

Although,the creation of ISO domain succeeded and it can be successfully attached and activated. Storage domain also was activated successfully.


Didn't find any errors in the logs.
engine.log and vdsm.log attached.

Comment 1 Haim 2012-05-01 20:04:49 UTC
well, from some reason, it failed to attach the ISO domain to the pool since master domain was not (*) active, the reason you didn't see any ERRORs on log comes from the fact that it failed on CAN_DO_ACTION. 

2012-05-01 16:47:46,090 WARN  [org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand] (ajp-- [67dc9ecd] CanDoAction of action AttachStorageDomainToPool failed. Reasons:VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ATTACH,ACTION_TYPE_FAILED_MASTER_STORAGE_DOMAIN_NOT_ACTIVE

after looking on vdsm log, just after the createStorageDomain command finished, I see the following warning, which implies that the master domain is somehow corrupted. 

Thread-1934::WARNING::2012-05-01 16:45:45,722::hsm::2964::Storage.HSM::(repoStats) repoStats detected invalid master:94690d0b-1ba3-4bef-9783-265fcc3682eb {'finish': 1335879941.1764369, 'mdasize': 0, 'result': {'delay': '0.00150108337402', 'lastCheck': 1335879941.1764369, 'code': 0, 'valid': True}, 'mdavalid': True, 'masterValidate': {'mount': False, 'valid': True}, 'diskfree': '290973286400', 'mdafree': 0, 'disktotal': '898360147968', 'mdathreshold': True}

Saggi - please go over vdsm log, how did we end up with invalid master again?

Comment 3 Haim 2012-06-11 11:16:36 UTC

*** This bug has been marked as a duplicate of bug 808874 ***

Note You need to log in before you can comment on or make changes to this bug.