You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're getting the following error when running the install-mongo-ce script that is due to oc get statefulset mas-mongo-ce -n ${MONGO_NAMESPACE} -o 'jsonpath={..status.readyReplicas}' not returning any value.
$ ./install-mongo-ce.sh
Now using project "mongo" on server "https://api.nag.cp.fyre.ibm.com:6443".
You can add applications to this project with the 'new-app' command. For example, try:
oc new-app rails-postgresql-example
to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:
kubectl create deployment hello-node --image=k8s.gcr.io/serve_hostname
customresourcedefinition.apiextensions.k8s.io/mongodbcommunity.mongodbcommunity.mongodb.com created
serviceaccount/mongodb-kubernetes-operator created
role.rbac.authorization.k8s.io/mongodb-kubernetes-operator created
rolebinding.rbac.authorization.k8s.io/mongodb-kubernetes-operator created
clusterrole.rbac.authorization.k8s.io/system:openshift:scc:anyuid added: "default"
clusterrole.rbac.authorization.k8s.io/system:openshift:scc:anyuid added: "mongodb-kubernetes-operator"
deployment.apps/mongodb-kubernetes-operator created
- Waiting for MongoDB CE Operator configmap/mas-mongo-ce-cert-map created
secret/mas-mongo-ce-cert-secret created
mongodbcommunity.mongodbcommunity.mongodb.com/mas-mongo-ce created
secret/mas-mongo-ce-admin-password created
- Waiting for MongoDB CE Stateful Set to initialize and start |Error from server (NotFound): statefulsets.apps "mas-mongo-ce" not found
$
The script then appears to stop running (though the rest of the commands ran).
Running oc get statefulset mas-mongo-ce -n ${MONGO_NAMESPACE} -o 'jsonpath={.status.readyReplicas}' gives the result of 3 however. So maybe remove the extra dot in the jsonpath filter.
The text was updated successfully, but these errors were encountered:
We're getting the following error when running the install-mongo-ce script that is due to
oc get statefulset mas-mongo-ce -n ${MONGO_NAMESPACE} -o 'jsonpath={..status.readyReplicas}'
not returning any value.The script then appears to stop running (though the rest of the commands ran).
Running
oc get statefulset mas-mongo-ce -n ${MONGO_NAMESPACE} -o 'jsonpath={.status.readyReplicas}'
gives the result of 3 however. So maybe remove the extra dot in the jsonpath filter.The text was updated successfully, but these errors were encountered: