hello,
the dc/os cockroachdb service allows the configuration of the service name. Service names in dc/os can be scoped, so you can have a service name like /test/cockroachdb. Service name resolves the {{FRAMEWORK_NAME}} template. I see that this template for example is also used in start.sh.mustache which causes the following error if the name is foldered.
I180123 17:26:00.792720 41 cli/start.go:503 starting cockroach node
E180123 17:26:00.800914 1 cli/error.go:68 failed to start server: unable to resolve RPC address "cockroachdb-2-node-join./test/cockroachdb.autoip.dcos.thisdcos.directory:26257": lookup cockroachdb-2-node-join./test/cockroachdb.autoip.dcos.thisdcos.directory: no such host
Error: failed to start server: unable to resolve RPC address "cockroachdb-2-node-join./test/cockroachdb.autoip.dcos.thisdcos.directory:26257": lookup cockroachdb-2-node-join./test/cockroachdb.autoip.dcos.thisdcos.directory: no such host
Failed running "start"
hello, the dc/os cockroachdb service allows the configuration of the service name. Service names in dc/os can be scoped, so you can have a service name like /test/cockroachdb. Service name resolves the {{FRAMEWORK_NAME}} template. I see that this template for example is also used in start.sh.mustache which causes the following error if the name is foldered.
This is easy to fix. Like in this case instead of
use the following