Bug 726630 - [vdsm] Permission denied for metadata in mixed data-center
Summary: [vdsm] Permission denied for metadata in mixed data-center
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Federico Simoncelli
QA Contact: Omri Hochman
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-29 08:39 UTC by Jakub Libosvar
Modified: 2011-12-06 07:35 UTC (History)
6 users (show)

Fixed In Version: vdsm-4.9-88
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 07:35:55 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1782 0 normal SHIPPED_LIVE new packages: vdsm 2011-12-06 11:55:51 UTC

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


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