Bug 1931765 - LocalVolumeSet: PV is created on disk belonging to other provisioner
Summary: LocalVolumeSet: PV is created on disk belonging to other provisioner
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.6
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.7.z
Assignee: Rohan CJ
QA Contact: Wei Duan
URL:
Whiteboard:
Depends On: 1929175
Blocks: 1931766
TreeView+ depends on / blocked
 
Reported: 2021-02-23 06:59 UTC by OpenShift BugZilla Robot
Modified: 2021-03-25 01:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-25 01:53:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 209 0 None open [release-4.7] Bug 1931765: localvolumeset should ignore disks with bind-mounts 2021-03-08 10:35:16 UTC
Red Hat Product Errata RHBA-2021:0821 0 None None None 2021-03-25 01:53:14 UTC

Comment 3 Wei Duan 2021-03-11 10:57:46 UTC
Verified pass on OCP4.7 with local-storage-operator.4.7.0-202103102028.p0

1. Two block pv created and not be provisioned by localvolumeset
$ oc get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                                    STORAGECLASS   REASON   AGE
pvc-20deee69-0ab5-4c18-a25e-7af74a1a8bdf   3Gi        RWO            Delete           Bound    openshift-local-storage/mypvc-block      standard-csi            27m
pvc-24128d9c-c528-4bf3-9224-fb6b36f02057   10Gi       RWO            Delete           Bound    openshift-local-storage/pvc-block-test   standard-csi            28m

2. diskmaker-discovery log:
I0311 10:45:05.139291  627717 discovery.go:261] device "vdb" with mount point "/var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices/publish/pvc-24128d9c-c528-4bf3-9224-fb6b36f02057/d754f651-520c-4394-b324-638505e585a2" is not available
I0311 10:45:05.140660  627717 discovery.go:261] device "vdc" with mount point "/var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices/publish/pvc-20deee69-0ab5-4c18-a25e-7af74a1a8bdf/397af423-da6b-447b-9c41-3130be03d55c" is not available

3. diskmaker-manager log:
{"level":"info","ts":1615460071.4480598,"logger":"localvolumeset-symlink-controller","msg":"filter negative","Request.Namespace":"openshift-local-storage","Request.Name":"lvs","Device.Name":"vdb","filter.Name":"noBindMounts"}
{"level":"info","ts":1615460071.4502702,"logger":"localvolumeset-symlink-controller","msg":"filter negative","Request.Namespace":"openshift-local-storage","Request.Name":"lvs","Device.Name":"vdc","filter.Name":"noBindMounts"}

Change status to Verified.

Comment 6 errata-xmlrpc 2021-03-25 01:53:00 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 (OpenShift Container Platform 4.7.3 bug fix 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/RHBA-2021:0821


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