[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13815453#comment-13815453
 ] 

ASF subversion and git services commented on CLOUDSTACK-4979:
-------------------------------------------------------------

Commit fac22936f645ee0ca2b8a7cdd0c7fa21e8c35666 in branch refs/heads/master 
from [~alena1108]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=fac2293 ]

CLOUDSTACK-4979: if no hostName is passed to deployVm call, automatically 
generated hostName follows the pattern <instance.id global config>-<randomly 
generated uuid>.
Example: VM-a6c6457e-e4d0-486f-a392-9239be9b36f5


> 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)

Reply via email to