Skip to content

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

@perezjasonr

Description

@perezjasonr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions