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

Bug 1582059

Summary: The rbd executable is missing from ose-control-plane image
Product: OpenShift Container Platform Reporter: Jianwei Hou <jhou>
Component: ReleaseAssignee: Wei Sun <wsun>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Sun <wsun>
Severity: high Docs Contact:
Priority: high    
Version: 3.10.0CC: ahaile, aos-bugs, aos-storage-staff, bchilds, bleanhar, fbertina, jhou, jokerman, mmccomas, smunilla, wmeng, wsun, xtian
Target Milestone: ---   
Target Release: 3.10.z   
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: 2018-08-21 15:11:21 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 Jianwei Hou 2018-05-24 06:02:53 UTC
Description of problem:
The rbd executable is missing, the master-controllers pod can not perform rbd operations.

Version-Release number of selected component (if applicable):
openshift v3.10.0-0.47.0
kubernetes v1.10.0+b81c8f8

openshift3/ose-control-plane:v3.10.0  e18710ce4978

How reproducible:
Always

Steps to Reproduce:
1. Use rbd dynamic provision
2. oc rsh -n kube-system master-controllers-ocp310.master.vsphere.local -- rbd

Actual results:
1. Got event "failed to create rbd image: executable file not found in $PATH"
2. rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "exec: \"--\": executable file not found in $PATH"

Expected results:
RBD dynamic provision is successful.

Additional info:

Comment 2 hchen 2018-05-29 17:39:46 UTC
origin pr is at https://github.com/openshift/origin/pull/19870

Comment 13 Ben Parees 2018-07-09 13:35:00 UTC
The Build component is for issues related to the openshift build feature (building images on openshift, using the build/buildconfig apis), not issues building/packaging the product (i know, confusing).

Setting this to the release team since it sounds like either a packaging or install issue.

Comment 17 Jianwei Hou 2018-07-13 02:47:53 UTC
Verified this is fixed in v3.10.16.

image: registry.reg-aws.openshift.com:443/openshift3/ose-control-plane:v3.10
imageID: docker-pullable://registry.reg-aws.openshift.com:443/openshift3/ose-control-plane@sha256:5d4bbd3624ca3af0a5ab69d77411bf33d401a01f2af5bd836ebc4c1270c459cd

Comment 20 Brenton Leanhardt 2018-08-21 15:11:21 UTC
This fix is live:

docker run --rm -it --entrypoint=/usr/bin/rbd registry.access.stage.redhat.com/openshift3/ose-control-plane:v3.10.14 --version
ceph version 12.2.4-42.el7cp (f73642baacccbf2a3c254d1fb5f0317b933b28cf) luminous (stable)