jharting / openshift-rabbitmq-cluster

Deploys a RabbitMQ cluster in OpenShift
39 stars 52 forks source link

error converting YAML to JSON: yaml when using Openshift 4 #13

Closed cku-github closed 4 years ago

cku-github commented 4 years ago

Hi All, I'm still trying to fix this but I am having trouble using this: oc create -f rabbitmq-cluster-template.yaml results in error converting YAML to JSON: yaml: line 115: mapping values are not allowed in this context

I ran the yaml through http://www.yamllint.com/ and it looks fine. I even tried using the reformated version and still get the same error. Not sure which line is 115 though :)

cku-github commented 4 years ago

Sorry about this. Apparently caused by a total newbie error -> I was not in my own new openshift project. This worked once I created a new openshift project and switched to that.

oc new-project rabbitmq-cluster-dev then switch to that oc project rabbitmq-cluster-dev

Then run the template creation as described in the guide.