Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1665912

Summary: kube-controller-manager image must include Ceph RBD utilities
Product: OpenShift Container Platform Reporter: Jan Safranek <jsafrane>
Component: StorageAssignee: Clayton Coleman <ccoleman>
Status: CLOSED WONTFIX QA Contact: Liang Xia <lxia>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: aos-bugs, aos-storage-staff, bchilds, ccoleman, eparis, fan-wxa, gmeno, jdillama, jokerman, mfojtik, mmccomas, rh-container, ykaul
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-27 14:38:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Safranek 2019-01-14 12:30:12 UTC
Description of problem:
Dynamic provisioning of Ceph RBD volumes does not work in 4.0 because /bin/rbd is missing in controller-manager image.

Version-Release number of selected component (if applicable):
oc v4.0.0-alpha.0+2b41d8b-874-dirty [beta1-ish]

How reproducible:
always

Steps to Reproduce:
1. follow https://access.redhat.com/documentation/en-us/openshift_container_platform/3.11/html/configuring_clusters/persistent-storage-examples#install-config-storage-examples-ceph-example and set up Ceph RBD dynamic provisioning

2. Create PVC

Actual results:
  Warning    ProvisioningFailed  1s                 persistentvolume-controller  Failed to provision volume with StorageClass "dynamic": failed to create rbd image: executable file not found in $PATH, command output:
Mounted By:  <none>


Expected results:
PVC is provisioned

Additional info:
Provisioning starts to work after installing ceph-common to kube-controller-manager:

$ kubectl -n openshift-kube-controller-manager exec -ti openshift-kube-controller-manager-ip-10-0-45-117.eu-central-1.compute.internal  yum install ceph-common

Comment 3 Michal Fojtik 2019-04-08 08:46:21 UTC
Bump.

Comment 4 Jan Safranek 2019-04-09 07:28:30 UTC
Raising priority, it blocks tests.

Comment 6 Jan Safranek 2019-04-09 15:35:27 UTC
Filled PR: https://github.com/openshift/origin/pull/22517

Comment 8 Eric Paris 2019-04-10 17:39:22 UTC
https://github.com/openshift/origin/pull/22082

Comment 13 Eric Paris 2019-06-27 14:38:17 UTC
At this time we only expect to support Ceph via CSI. Not via 'in-tree' or 'flex'. As such we do not plan to add these to RHCOS or inside the image.

Comment 14 Red Hat Bugzilla 2023-09-14 04:45:00 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days