Alena Prokharchyk created CLOUDSTACK-4979:
---------------------------------------------
Summary: DeployVM: automatically generated hostName is not RFC
compliant
Key: CLOUDSTACK-4979
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4979
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Affects Versions: 4.2.0
Reporter: Alena Prokharchyk
Assignee: Kelven Yang
Fix For: Future
When no hostName is passed in to the deployVM call, we generate random UUID.
But this uuid is not compliant with RFC for the hostName as it always starts
with the digit. Here are all the rules for the hostName:
// must be between 1 and 63 characters long and may contain only the ASCII
letters 'a' through 'z' (in a
// case-insensitive manner),
// the digits '0' through '9', and the hyphen ('-').
// Can not start with a hyphen and digit, and must not end with a hyphen
// If it's a host name, don't allow to start with digit
--
This message was sent by Atlassian JIRA
(v6.1#6144)