You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
Clearly this is something that is slated to be updated given the 'TODO' in the code.
This task is to track such work.
A few ideas on how we might consider more dynamic fqdn on boot server:
IMHO there should be a conf option to specify the default domain name to use. For example in jumpgate.conf
[DEFAULT]default_domain_name = provider.com
This value should be used as the domain name when non is specified on the boot server call.
In the jumpgate handling for boot server call we could:
Accept a server name which is in FQDN format. If the body['server']['name'] is in FQDN format, we split the hostname from the domain name and use the 1st portion for the hostname and the later for the domain name (i.e. <hostname>.<domain_name_may_include_dots>)
Optionally consider supporting obtaining the host/domain name from user_data (http://docs.openstack.org/user-guide/content/user-data.html).. Based on the nova user_data it appears the way this is done for openstack proper is to pass down as user data. Thus we "could" check for user data in the server request body, base64 decode it and use as host/domain name.... On the fence about this one, but wanted to present it for completeness.
The text was updated successfully, but these errors were encountered:
I like all of these solutions. The only one I'm uneasy about is having the server.name be the FQDN because it changes what name actually means from the point of view of the OpenStack API.
The current code is a solution for a single-tenant jumpgate environment as the default domain-name is now settable in the etc/jumpate.conf. However, it is not suitable for multi-tenant environment when two different tenants (or the same tenant) want to use a different domain name. Will transfer this to the next milestone so that can be tracked.
In the current jumpgate impl, the domain name is always
jumpgate.com
as per: https://github.com/softlayer/jumpgate/blob/master/jumpgate/compute/drivers/sl/servers.py#L200Clearly this is something that is slated to be updated given the 'TODO' in the code.
This task is to track such work.
A few ideas on how we might consider more dynamic fqdn on boot server:
This value should be used as the domain name when non is specified on the boot server call.
body['server']['name']
is in FQDN format, we split the hostname from the domain name and use the 1st portion for the hostname and the later for the domain name (i.e.<hostname>.<domain_name_may_include_dots>
)The text was updated successfully, but these errors were encountered: