The hostname is sanitized here:
https://github.com/openstack/nova/blob/e85cf38b949200c0ce36b713ab02e473c7c150f5/nova/utils.py#L777
That's also where it's truncating the name, and it's truncating on the - in the failure case.
The hostname is sanitized here:
https:/ /github. com/openstack/ nova/blob/ e85cf38b949200c 0ce36b713ab02e4 73c7c150f5/ nova/utils. py#L777
That's also where it's truncating the name, and it's truncating on the - in the failure case.