Bug 726630

Summary: [vdsm] Permission denied for metadata in mixed data-center
Product: Red Hat Enterprise Linux 6 Reporter: Jakub Libosvar <jlibosva>
Component: vdsmAssignee: Federico Simoncelli <fsimonce>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.1CC: abaron, bazulay, danken, iheim, yeylon, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: vdsm-4.9-88 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 07:35:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jakub Libosvar 2011-07-29 08:39:31 UTC
Description of problem:
When having 2.2 NFS data-center with one rhel5 host in 2.2 cluster and one 3.0 cluster, rhel5 as spm performs some operations on master metadata and then rhel5 is sent to maintenance therefore rhel6 starts contending, empty list is returned while reading metadata.

Version-Release number of selected component (if applicable):
vdsm-86

How reproducible:
Sometimes (80%)

Steps to Reproduce:
1. Create 2.2 NFS data-center
2. Add 2.2 cluster with rhel5.x host within
3. Add 3.0 cluster with rhel6.x host within
4. With rhel5 as SPM Inactivate and re-activate master storage domain
5. Send rhel5 to Maintenance and wait till rhel6 starts condending
  
Actual results:
Metadata cannot be read by rhel6 (vdsm)

Expected results:
Metadata are readable by rhel6

Additional info:
We've tracked down this issue with Federico last week - I don't have relevant logs for it.

Comment 1 Federico Simoncelli 2011-07-29 08:42:05 UTC
commit 327692258dc61498cc9e8e08eadbdae61245a37a
Author: Federico Simoncelli <fsimonce>
Date:   Fri Jul 22 14:48:56 2011 +0000

    BZ#726630 Use only os.access to check permissions
    
    Change-Id: Ic7b892886416e866178ac88c04cbfb68ed0c055b

http://gerrit.usersys.redhat.com/733

Comment 6 Omri Hochman 2011-08-08 13:53:06 UTC
Verified: vdsm-4.9-91.el6.x86_64, (rhevm build ic136).

Comment 7 errata-xmlrpc 2011-12-06 07:35:55 UTC
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/RHEA-2011-1782.html