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

unable to find in nodeadm in /var/cache #181

Open
perezjasonr opened this issue Nov 26, 2019 · 0 comments
Open

unable to find in nodeadm in /var/cache #181

perezjasonr opened this issue Nov 26, 2019 · 0 comments

Comments

@perezjasonr
Copy link

perezjasonr commented Nov 26, 2019

Hello, I am trying to do cctl create machine and getting the error:

Unable to create machine: error creating machine "IP_ADDRESS_HERE": unable to install the correct version of nodeadm: unable to find "nodeadm" in the cache "/var/cache/ssh-provider/nodeadm/v0.3.0/nodeadm

but ive already gone in and copied the nodeadm binary, heres the proof. On that node I did:

ls -la /var/cache/ssh-provider/nodeadm/v0.3.0/
total 12384
drwxr-xr-x. 2 root root       21 Nov 26 15:51 .
drwxr-xr-x. 3 root root       20 Nov 26 22:06 ..
-rwxr-xr-x. 1 root root 12679562 Nov 26 15:51 nodeadm

so the nodeadm binary is indeed there. Why can't it find it?

I went on the node and used those binaries to give version information to further prove they are there. Not sure if the output shows anything crucial but at least its certainly there (see the paths):

/var/cache/ssh-provider/etcdadm/v0.1.1/etcdadm version
version.Info{Major:"", Minor:"", GitVersion:"v0.0.0-master+4175046", GitCommit:"41750460eede1970095ebbac6cfc04d9928fd59e", GitTreeState:"", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}

[centos@ip-172-30-28-13 ~]$ /var/cache/ssh-provider/nodeadm/v0.3.0/nodeadm version
version.Info{Major:"", Minor:"", GitVersion:"v0.0.0-master+09d74d8", GitCommit:"09d74d8f970c0becd2e5fe3e38f951316518fd79", GitTreeState:"", BuildDate:"1970-01-01T00:00:00Z", GoVersion:"go1.13.4", Compiler:"gc", Platform:"linux/amd64"}

please let me know if I did this wrong. I couldn't find documentation anywhere, but I created the
/var/cache/ssh-provider
dir myself then the sub dirs (etcdadm, nodeadm, vX.X.X) then manually copied the binary over. Was this supposed to be autocreated by something else?

THank you.

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

1 participant