bcgov / TheOrgBook

A public repository of verifiable claims about organizations. A key component of the Verifiable Organization Network.
http://von.pathfinder.gov.bc.ca
Apache License 2.0
78 stars 66 forks source link

Fail to create secret resource in OpenShift #786

Closed kenhuang closed 5 years ago

kenhuang commented 5 years ago

Try to follow the instruction to deploy TheOrgBook to a local OpenShift server, after the step genDepls.sh run into the following erros, any idea how to fix these errors?

deploymentconfig.apps.openshift.io/django created
horizontalpodautoscaler.autoscaling/django created
Error from server (BadRequest): Secret in version "v1" cannot be handled as a Secret: v1.Secret.Data: decode base64: illegal base64 data at input byte 0, error found in #10 byte of ...|-Z0-9_~!@","key":"[a|..., bigger context ...|{"apiVersion":"v1","data":{"did":"[a-zA-Z0-9_~!@","key":"[a-zA-Z0-9_~!@","seed":"[a-zA-Z0-9_~!@"},"|...
Error from server (BadRequest): Secret in version "v1" cannot be handled as a Secret: v1.Secret.Data: decode base64: illegal base64 data at input byte 0, error found in #10 byte of ...|-Z0-9_~!@","admin-us|..., bigger context ...|on":"v1","data":{"admin-password":"[a-zA-Z0-9_~!@","admin-user":"[a-zA-Z_][a-zA-Z0-9_]{10}","api-pas|...
An error has occurred.  Please check the previous output message(s) for details.
Would you like to continue?  Press Ctrl-C to exit, or any other key to continue ...
...
service/schema-spy created
route.route.openshift.io/schema-spy created
deploymentconfig.apps.openshift.io/schema-spy created
Error from server (BadRequest): Secret in version "v1" cannot be handled as a Secret: v1.Secret.Data: decode base64: illegal base64 data at input byte 0, error found in #10 byte of ...|-Z0-9_~!@","user":"[|..., bigger context ...|iVersion":"v1","data":{"password":"[a-zA-Z0-9_~!@","user":"[a-zA-Z_][a-zA-Z0-9_]{10}"},"kind":"Secre|...
An error has occurred.  Please check the previous output message(s) for details.
Would you like to continue?  Press Ctrl-C to exit, or any other key to continue ...
...
service/wallet-db created
Error from server (BadRequest): Secret in version "v1" cannot be handled as a Secret: v1.Secret.Data: decode base64: illegal base64 data at input byte 0, error found in #10 byte of ...|-Z0-9_~!@","database|..., bigger context ...|on":"v1","data":{"admin-password":"[a-zA-Z0-9_~!@","database-password":"[a-zA-Z0-9_~!@","database-us|...
An error has occurred.  Please check the previous output message(s) for details.
Would you like to continue?  Press Ctrl-C to exit, or any other key to continue ...

Screen Shot 2019-05-01 at 1 26 46 PM Screen Shot 2019-05-01 at 2 12 49 PM Screen Shot 2019-05-01 at 3 13 53 PM Screen Shot 2019-05-01 at 3 14 41 PM

kenhuang commented 5 years ago

Ok, fixed the issue by chmod +x *.overrides.sh, then re-deploy the project again.