** Changed in: nova/kilo
Status: Fix Released => Fix Committed
** Changed in: nova/kilo
Milestone: 2015.1.2 => 2015.1.3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1495388
Title:
The instance hostname didn't match the RFC 952 and 1123's definition
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) kilo series:
Fix Committed
Bug description:
The instance hostname is convert from instance's name. There is method
used to do that
https://github.com/openstack/nova/blob/master/nova/utils.py#L774
But looks like this method didn't match all the cases described in the
RFC
For example, if the host name just one character, like 'A', this
method return 'A‘ also, this isn't allowed by RFC.
And the hostname was updated at wrong place:
https://github.com/openstack/nova/blob/master/nova/compute/api.py#L641
It just update the instance db entry again after instance entry creation. We
can populate the hostname before instance creation, then we can save one db
operation.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1495388/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp