![]() |
![]() |
Subject: | Unable To Add Resource Host |
Author: | [Not Specified] |
Posted: | 2015-09-04 12:57 |
I have recently been trying to add another host to my Control Center in order to add it to a new resource pool, but I have been unsuccessful so far.
When attempting to add the host, I keep getting the same error:
Internal Server Error: SERVICED_REGISTRY is false and hostid d10a0840 does not match master d10a0f40
I have set everything exactly as the installation guide specifies, but this keeps occurring. I see where my master host's "name" is d10a0f40 when I click on it under hosts in control center, but I cannot find where this value is set anywhere. For some reason, when starting serviced on the resource host, it keeps searching for d10a0840 instead:
Sep 04 13:55:26 zen-resource serviced[2320]: I0904 17:55:26.157912 02320 daemon.go:511] Trying to discover my pool...
Sep 04 13:55:26 zen-resource serviced[2320]: W0904 17:55:26.159676 02320 daemon.go:521] masterClient.GetHost d10a0840 failed: hosts_server.go host not found (has this host been added)
Anyone seen this issue before, or could point me in the right direction
Thanks.
Subject: | a) Those strings are the |
Author: | [Not Specified] |
Posted: | 2015-09-11 14:29 |
a) Those strings are the hostid of the host, which can be found in /etc/hostid. That's how we differentiate between hosts.
b) You have set SERVICED_REGISTRY to false, which means there's no internal Docker registry. This means resource pool hosts won't be able to pull images. You need to set SERVICED_REGISTRY to true in /etc/default/serviced on the master, restart the master, and run "serviced docker sync". THEN you should be able to start up the other host just fine.
< |
Previous Agent or collector in remote office? |
Next file system treshold for custom partition |
> |