Bug 842146
Summary: | 3.1 - [Storage][Text] Not informative error message when trying to attach import domain with wrong permissions. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Leonid Natapov <lnatapov> |
Component: | vdsm | Assignee: | Oved Ourfali <oourfali> |
Status: | CLOSED ERRATA | QA Contact: | Haim <hateya> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | abaron, amureini, bazulay, cpelland, dyasny, hateya, iheim, ilvovsky, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul |
Target Milestone: | rc | Keywords: | ZStream |
Target Release: | 6.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Storage | ||
Fixed In Version: | vdsm-4.9.6-32.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-04 19:03:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Leonid Natapov
2012-07-22 14:35:59 UTC
sanlock-2.3-2.1.el6.x86_64 (In reply to comment #1) > sanlock-2.3-2.1.el6.x86_64 Looking at the output above, this has nothing to do with sanlock (spmprotect uses safelease). The prblem was that for some reason the permissions on export domain were changed from vdsm:kvm to root:root. That's why was the failure in attaching shared iso domain. At the same time the error message that was given to user was not informative without any explanation what the problem might be. The message was: Error while executing action Attach Storage Domain: Could not obtain lock Moving this BZ to backend in order to fix the message: Oved, dup of: 782942 ? (In reply to comment #7) > Oved, dup of: 782942 ? Not sure. The description sounds similar, but the reported error is different: in 782942 "Cannot connect server to Storage' error shown." in this bug "cannot acquire lock when importing Storage Domain". Will need to test that (have other urgent bug I'm working on now, so I may get to it only next week). Patch posted to gerrit: http://gerrit.ovirt.org/#/c/7339/ This bug is caused by VDSM, so moving the bug to the correct component. moved to ON_QA by mistake - only the engine build containing the fix was released, still pending VDSM release. verified on SI17 vdsm-4.9.6-32.0: The error code for connection orion.qa.lab.tlv.redhat.com:/export/shared_iso_domain_backup/shared_iso_domain1 returned by VDSM was following Permission settings on the specified path do not allow access to the storage. Verify permission settings on the specified storage path. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-1508.html |