Hey all,

We've been running into a bug that has us a little stumped. When we have an
existing (manually created) instance in our GCE project which begins with a
two letter name and then a hyphen (e.g. "ss-production"). This doesn't
appear to happen when we have instances with just two letter names (e.g.
"ss").

When calling:
val node = computeService.createNodesInGroup(name, 1, template)

we get an exception:

java.lang.IllegalArgumentException: Object 'ss' doesn't match dns
naming constraints. Reason: Can't be null or empty. Length must be 3
to 63 symbols..

The full stack trace is here, we're using JClouds 1.7.3:
https://gist.github.com/ssk2/853ba032135c60621a9a

I can't figure out where the offending logic is that would cause this
problem in JClouds - any pointers would be useful, as well as any
workarounds that don't involve renaming existing instances.

Cheers,

Sunil

Reply via email to