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

Stderr": "chmod: cannot access '/etc/kubernetes/ssl/*key.pem': No such file or directory #70

Open
shshang opened this issue Aug 26, 2016 · 1 comment

Comments

@shshang
Copy link

shshang commented Aug 26, 2016

Hi,

I am running Kargo on Ubuntu 16.04 cluster. The cluster has 3 VM with 2 Master and 2 Etcd. Ansible playbook threw the error for the node 2 while changing the permission on the /etc/kubernetes/ssl/*key.pem. See below for details.

TASK [kubernetes/secrets : Gen_certs | set permissions on keys] ****************
skipping: [k8s-ubuntu-node3]
fatal: [k8s-ubuntu-node2]: FAILED! => {"changed": false, "cmd": "chmod 0600 /etc/kubernetes/ssl/_key.pem", "delta": "0:00:00.003090", "end": "2016-08-26 15:32:04.327587", "failed": true, "rc": 1, "start": "2016-08-26 15:32:04.324497", "stderr": "chmod: cannot access '/etc/kubernetes/ssl/_key.pem': No such file or directory", "stdout": "", "stdout_lines": [], "warnings": ["Consider using file module with mode rather than running chmod"]}
ok: [k8s-ubuntu-node1]
[WARNING]: Consider using file module with mode rather than running chmod

Would you please kindly take a look?

Thanks!

Shixiong

@Smana
Copy link
Contributor

Smana commented Aug 20, 2017

Hi @shshang, when using the argument deploy the ansible command line is printed.
Could you please provided it ?

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