Bug 1902710 - [OSP] Fails to attach cinder volume using virtio-scsi and in-tree cinder provisioned
Summary: [OSP] Fails to attach cinder volume using virtio-scsi and in-tree cinder prov...
Keywords:
Status: CLOSED DUPLICATE of bug 1897603
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.7.0
Assignee: Martin André
QA Contact: weiwei jiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-30 13:21 UTC by Martin André
Modified: 2020-12-01 13:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-01 13:29:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Martin André 2020-11-30 13:21:14 UTC
With newer versions of OpenStack/libvirt, the path of the attached block storage volume now contains the full volume ID when using virtio-scsi.

The problem is described in the upstream OpenStack cloud provider repository on github [1] and k8s/community [2] and was fixed already for the external cloud provider [3]. However, the fix was never merged for the in-tree cloud provider [4].

Without this change, the Cinder PVC times out attaching the storage to the node when using virtio-scsi and the in-tree cinder provisioned on OSP16.

Kubelet logs show:
Nov 30 12:38:35 mandre-psi-pub-stlh7-worker-0-b4xhh hyperkube[1868]: W1130 12:38:35.640309    1868 openstack_volumes.go:576] Failed to find device for the volumeID: "bcc21b3e-23fa-4464-844c-62506e298744"
Nov 30 12:38:35 mandre-psi-pub-stlh7-worker-0-b4xhh hyperkube[1868]: E1130 12:38:35.640319    1868 attacher.go:249] Error: could not find attached Cinder disk "bcc21b3e-23fa-4464-844c-62506e298744" (path: ""): <nil>

[1] https://github.com/kubernetes/cloud-provider-openstack/issues/852
[2] https://github.com/kubernetes/community/issues/4797
[2] https://github.com/kubernetes/cloud-provider-openstack/pull/853
[3] https://github.com/kubernetes/kubernetes/pull/89726

Comment 1 Martin André 2020-12-01 13:29:36 UTC

*** This bug has been marked as a duplicate of bug 1897603 ***


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