Bug 1408867 - Don't rely on device name provided by Cinder
Summary: Don't rely on device name provided by Cinder
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Pavel Pospisil
QA Contact: Jianwei Hou
URL:
Whiteboard:
Depends On:
Blocks: 1467708
TreeView+ depends on / blocked
 
Reported: 2016-12-27 20:47 UTC by Steven Walter
Modified: 2020-08-13 08:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The device name provided by Cinder was being used for volume mounting into a pod, however, the device name provided by Cinder is unreliable for the actual mounting. Consequence: Some Cinder volumes are not mounted into a pod. A message like the one below shows up in logs: I1220 10:46:05.596012 1960 operation_executor.go:649] Entering MountVolume.WaitForAttach for volume \"kubernetes.io/cinder/c1c7b12e-bcfb-4dcb-9a39-c585d7ede52e\" (spec.Name: \"@kibana-highlighted-field@quay@/kibana-highlighted-field@-pv\") pod \"19abf22b-c6bd-11e6-9e19-fa163e7ff93a\" (UID: \"19abf22b-c6bd-11e6-9e19-fa163e7ff93a\") DevicePath: \"/dev/sdd\" Fix: Detection is performed. The detection uses Cinder ID. Result: Cinder volumes are being reliably mounted into appropriate pods.
Clone Of:
: 1467708 (view as bug list)
Environment:
Last Closed: 2017-04-12 19:08:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0884 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.5 RPM Release Advisory 2017-04-12 22:50:07 UTC

Description Steven Walter 2016-12-27 20:47:54 UTC
Description of problem:

The device name provided by Cinder is unreliable for actual mounting

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

OSCP 3.3.0 -- Fixed upstream in k8s v1.5



Additional info:
This is fixed in kubernetes upstream at https://github.com/kubernetes/kubernetes/pull/33270

Comment 2 Derek Carr 2017-01-04 15:02:13 UTC
Transferring to storage to backport.

Comment 6 Troy Dawson 2017-01-31 20:07:32 UTC
This has been merged into ocp and is in OCP v3.5.0.12 or newer.

Comment 8 Jianwei Hou 2017-02-07 08:36:21 UTC
Tested on openshift v3.5.0.16+a26133a. The problem was not reproduced.

Comment 10 errata-xmlrpc 2017-04-12 19:08:13 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.

https://access.redhat.com/errata/RHBA-2017:0884


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