Bug 1357849
| Summary: | OSE 3.3 one secret/keystore can not be mount to several locations | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Libor Fuka <lfuka> |
| Component: | openshift-controller-manager | Assignee: | Paul Morie <pmorie> |
| Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | aos-bugs, pweil, tdawson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-27 09:41:00 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: | |||
should be fixed in PR https://github.com/openshift/origin/pull/10111. Moving to QA This has been merged and is in OSE v3.3.0.14 or newer. Confirmed with OSE3.3.0.16, the issue has fixed.
openshift version
openshift v3.3.0.16
kubernetes v1.3.0+507d3a7
etcd 2.3.0+git
[root@zhouy testjson]# oc describe secrets mysecret
Name: mysecrets
Namespace: zhouy
Labels: <none>
Annotations: <none>
Type: Opaque
Data
====
1.txt: 19 bytes
[root@zhouy testjson]# more /home/1.txt
password
password2
Name: deployment-example
Namespace: zhouy
Created: 20 minutes ago
Labels: app=deployment-example
Annotations: openshift.io/generated-by=OpenShiftNewApp
Latest Version: 2
Selector: app=deployment-example,deploymentconfig=deployment-example
Replicas: 1
Triggers: Config, Image(deployment-example@latest, auto=true)
Strategy: Rolling
Template:
Labels: app=deployment-example
deploymentconfig=deployment-example
Annotations: openshift.io/container.deployment-example.image.entrypoint=["/deployment","v1"]
openshift.io/generated-by=OpenShiftNewApp
Containers:
deployment-example:
Image: openshift/deployment-example@sha256:ea9135488f323060cb18ab3ec06286cd49e4b3a611fce1a6a442651ecf421f99
Port: 8080/TCP
Volume Mounts:
/opt from mysecrets (rw)
Environment Variables: <none>
Volumes:
mysecrets:
Type: Secret (a volume populated by a Secret)
SecretName: mysecrets
Name: hello-openshift
Namespace: zhouy
Created: 3 minutes ago
Labels: app=hello-openshift
Annotations: openshift.io/generated-by=OpenShiftNewApp
Latest Version: 2
Selector: app=hello-openshift,deploymentconfig=hello-openshift
Replicas: 1
Triggers: Config, Image(hello-openshift@latest, auto=true)
Strategy: Rolling
Template:
Labels: app=hello-openshift
deploymentconfig=hello-openshift
Annotations: openshift.io/container.hello-openshift.image.entrypoint=["/hello-openshift"]
openshift.io/generated-by=OpenShiftNewApp
Containers:
hello-openshift:
Image: openshift/hello-openshift@sha256:62538b79ee7be867d0e8df3172236124671157560e38fa4fda0a6cf8cdc5a2ee
Ports: 8080/TCP, 8888/TCP
Volume Mounts:
/opt from test (rw)
Environment Variables: <none>
Volumes:
test:
Type: Secret (a volume populated by a Secret)
SecretName: mysecrets
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-2016:1933 |
Description of problem: The one secret (one keystore) can not be mount to several locations. It was possible in OSE 3.2. Version-Release number of selected component (if applicable): OpenShift Master: v3.3.0.5 Kubernetes Master: v1.3.0+57fb9ac How reproducible: Steps to Reproduce: 1. Create secret with two keystores 2. mount keystores to two different locations Additional info: Regression comparing to OSE 3.2