-
Bug
-
Resolution: Done
-
Major
-
None
Description:
This is an issue found when following the Quay official docs to install Quay 3.2.1 on Openshift, at the step of "6.7. Red Hat Quay application container", with the "quay-enterprise-app-rc.yaml", the result is the Quay POD will be failed to start and report error message "Your configuration bundle is either not mounted or setup has not been completed", the reason is at the line "secretName: quay-enterprise-secret", the correct secretName should be "quay-enterprise-config-secret", see the section for the correct quay-enterprise-app-rc.yaml
Error message:
" File "./boot.py", line 136, in <module>
main()
File "./boot.py", line 124, in main
"Your configuration bundle is either not mounted or setup has not been completed"
Exception: Your configuration bundle is either not mounted or setup has not been completed"
ENV:
Quay imge: quay.io/quay/quay:3.2.1-1
Steps:
1. Deploy Quay ENV on Openshift following steps at "deploy_red_hat_quay_on_openshift".
2. At the step 6.7. Red Hat Quay application container, run "oc create -f quay-enterprise-app-rc.yaml"
Expected Result:
Quay POD will be deployed successfully following the docs.
Actual Results:
Quay ENV deployment was failed to deploy.
Correct quay-enterprise-app-rc.yaml:
lizhang@lzha-mac Quay_basic_setup % cat quay-enterprise-app-rc.yaml
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
namespace: quay-enterprise
name: quay-enterprise-app
labels:
quay-enterprise-component: app
spec:
replicas: 1
selector:
matchLabels:
quay-enterprise-component: app
template:
metadata:
namespace: quay-enterprise
labels:
quay-enterprise-component: app
spec:
volumes:
- name: configvolume
secret:
quay-enterprise-config-secret
containers: - name: quay-enterprise-app
image: quay.io/quay/quay:3.2.1-1
ports: - containerPort: 8443
volumeMounts: - name: configvolume
readOnly: false
mountPath: /conf/stack
imagePullSecrets: - name: redhat-quay-pull-secret