Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_kubernetes_module.sh fails with - Could not initialize secrets manager #18

Open
raekins opened this issue Mar 17, 2021 · 1 comment

Comments

@raekins
Copy link

raekins commented Mar 17, 2021

module.olcne.null_resource.install_kubernetes_module (remote-exec): FATAL[17/03/21 11:56:40] Could not initialize secrets manager: open /home/opc/.olcne/certificates/dev/node.cert: no such file or directory
module.olcne.null_resource.install_kubernetes_module (remote-exec): Kubernetes module failed validation

[opc@oci-operator ~]$ olcnectl --api-server 127.0.0.1:8091 module create --environment-name "dev" \

--module kubernetes --name "olcne"
--container-registry "container-registry-lhr.oracle.com"/olcne
--nginx-image "container-registry-lhr.oracle.com"/olcne/nginx:1.12.2
--virtual-ip "10.0.3.3"
--master-nodes "oci-master.masters.px.oraclevcn.com:8090"
--worker-nodes "oci-worker-520410.workers.px.oraclevcn.com:8090,oci-worker-831695.workers.px.oraclevcn.com:8090,oci-worker.workers.px.oraclevcn.com:8090" 2> /dev/null
FATAL[17/03/21 11:33:09] Could not initialize secrets manager: open /home/opc/.olcne/certificates/dev/node.cert: no such file or directory

/home/opc/.olcne directory is missing on Operator, Master and Worker nodes, should it be using /etc/olcne/configs/certificates/ ?

@scoter-oracle
Copy link

Please, check if this issue can be reproduced with latest code release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants