rancher-host-registration icon indicating copy to clipboard operation
rancher-host-registration copied to clipboard

Rancher-Host-Registration stalling out

Open Church- opened this issue 7 years ago • 5 comments

So running this on ubuntu 16.04 with docker-ce 17.09. When deploying a host with this script, it seems to stall out when adding it to rancher with general api keys, won't error out, it'll just stall and take forever before maybe finishing hours later. The only time it'll register properly is when using a specific environment's API's keys. Any help would be appreciated so I don't have to go write my own.

Church- avatar Dec 18 '17 04:12 Church-

What version of Rancher?

cdrx avatar Dec 18 '17 15:12 cdrx

Rancher stable - 1.6.12

Church- avatar Dec 20 '17 01:12 Church-

@ccdrx, Any news?

Church- avatar Dec 27 '17 16:12 Church-

It's been a little while since I looked at this project, sorry. I've just tested the configuration you mentioned, docker 17.09 on Ubuntu 16.04 against rancher stable (1.6.14 now) and it works correctly.

Chances are you've found another solution to this by now, @Church- ?

cdrx avatar Feb 18 '18 17:02 cdrx

I had this happen as well. My issue was fixed when:

A) Using the env-specific API key B) Ensuring to use double quotes around the host IP

When running rancher-agent-registration via Bash script, it would appear to add the Rancher agent correctly but Rancher server would not show this newly added agent/server/host.

Hope this helps.

michaelcopeland avatar Jun 25 '18 15:06 michaelcopeland