[
https://issues.apache.org/jira/browse/CLOUDSTACK-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alena Prokharchyk resolved CLOUDSTACK-4979.
-------------------------------------------
Resolution: Fixed
Fixed with fac22936f645ee0ca2b8a7cdd0c7fa21e8c35666
> 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)