Bug 2010174 - 2 PVs get created unexpectedly with different paths that actually refer to the same device on the node.
Summary: 2 PVs get created unexpectedly with different paths that actually refer to th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Hemant Kumar
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-04 06:06 UTC by yhe
Modified: 2024-12-20 21:17 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:16:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 292 0 None open Bug 2010174: Fix duplicate PVs for disk by-names 2021-11-02 19:03:39 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:16:59 UTC

Description yhe 2021-10-04 06:06:34 UTC
Description of problem:
2 PVs get created unexpectedly with a different path that actually refers to the same device on the node.

The local-pv-96dcb1a7 gets created unexpectedly.

[root@eit2-mng001 TEST_PV]# oc get pv | grep oam-sc-filesystem-02
local-pv-73818e0c   100Mi      RWO            Delete           Available           oam-sc-filesystem-02            4d12h
local-pv-96dcb1a7   100Mi      RWO            Delete           Available           oam-sc-filesystem-02            2d22h

The paths of the 2 PVs are different.

[root@eit2-mng001 TEST_PV]# oc describe pv local-pv-73818e0c local-pv-96dcb1a7 | grep Path
    Path:  /mnt/local-storage/oam-sc-filesystem-02/scsi-362cea7f05fc6fe0028a959eed8214c9c-part3
    Path:  /mnt/local-storage/oam-sc-filesystem-02/sda3

But the 2 paths are actually referring to the same device on the node.

[root@eit2-worker001 ~]# ls -l /mnt/local-storage/oam-sc-filesystem-02/
total 0
lrwxrwxrwx. 1 root root 60 Sep 29 11:59 scsi-362cea7f05fc6fe0028a959eed8214c9c-part3 -> /dev/disk/by-id/scsi-362cea7f05fc6fe0028a959eed8214c9c-part3
lrwxrwxrwx. 1 root root  9 Oct  1 02:37 sda3 -> /dev/sda3
[root@eit2-worker001 ~]# ls -l /dev/disk/by-id/scsi-362cea7f05fc6fe0028a959eed8214c9c-part3
lrwxrwxrwx. 1 root root 10 Oct  1 10:01 /dev/disk/by-id/scsi-362cea7f05fc6fe0028a959eed8214c9c-part3 -> ../../sda3

Will upload the related information later.

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

How reproducible:
Unsure

Steps to Reproduce:
N/A

Actual results:
2 PVs get created with different paths that refer to the same device

Expected results:
Only 1 PV gets created with the device

Additional info:

Comment 4 yhe 2021-10-04 13:17:40 UTC
BTW, I keep seeing the "The assignee for this bug cannot see private comments!" messages on this Bugzilla, can I ignore this message safely or should I make the private comments public?

Comment 5 Hemant Kumar 2021-10-04 15:19:30 UTC
Yes you can ignore those messages. This happens because default assignee is storage group (so as all of us receive new email notifications).

Comment 20 errata-xmlrpc 2022-03-10 16:16:28 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 (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056


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