<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Added the right list, haha.</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Joshua Harlow <<a href="mailto:harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>><br><span style="font-weight:bold">Date: </span> Fri, 10 Aug 2012 18:35:47 -0700<br><span style="font-weight:bold">To: </span> openstack <<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>><br><span style="font-weight:bold">Cc: </span> Ed Hall <<a href="mailto:edhall@yahoo-inc.com">edhall@yahoo-inc.com</a>><br><span style="font-weight:bold">Subject: </span> Question on hostname generation?<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi all,</div><div><br></div><div>I was wondering about the following case (and am not sure if its been addressed in folsom).</div><div><br></div><div>At yahoo, instead of the default hostname that seems to be automatically established (ie 'server-XYZ.novalocal' was in essex) we were wondering if there is anything in folsom that say lets us override that generation with either a module (or a subclass) or a new function without having to patch nova code. Sometimes we want a default hostname of a different format (as probably do others) and I just am not sure if quantum is directing this default hostname, or if nova still is, or if its some mix of both (the metadata + cloud-init can affect the hostname as well, so perhaps the configdrive work should be the only one establish a 'real' hostname?). </div><div><br></div><div>I have found the following pieces of hostname related code but am not sure if this is all the places that make hostnames :-)</div><ul><li><a href="https://github.com/openstack/nova/blob/master/nova/api/metadata/base.py#L109">https://github.com/openstack/nova/blob/master/nova/api/metadata/base.py#L109</a></li></ul><div>Is this the only place nowadays?? Is there something in quantum also?</div><div><br></div><div>Thx much, just trying to track this down.</div><div><br></div><div>-Josh</div></div></div></span></body></html>