[
https://issues.apache.org/jira/browse/CLOUDSTACK-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815487#comment-13815487
]
ASF subversion and git services commented on CLOUDSTACK-4979:
-------------------------------------------------------------
Commit 6d7674982afcd636542f5591b77f704f0b42b379 in branch refs/heads/master
from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6d76749 ]
CLOUDSTACK-4979: fix hostName for VmWare vms to follow the same logic
> 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: Alena Prokharchyk
> 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)