[Ci-users] duffy node/get and inventory APIs returning FQDN hostnames

Wed Feb 24 13:40:28 UTC 2016
Fabian Arrotin <arrfab at centos.org>

Hash: SHA1

On 24/02/16 13:51, Karanbir Singh wrote:
> On 24/02/16 10:02, Vishwanath Bhat wrote:
>> I think, they were being resolved some time back (the short
>> hostnames returned by duffy). But I'm not very sure of this :P
>> But right now they aren't being resolved. Did something change in
>> between?
> Fabian is working to fix this, effectively the short names should
> be resolvable, from within the ci infra.

So, just to clarify the DNS situation :
When trying to use "shortnames" from machines like
slave01.ci.centos.org, one could just use $node_name.$chassis as the
search domain on that kind of node was ci.centos.org
That wasn't true on the provisioned nodes (so Seamicro compute nodes)
as NetworkManager added this : "search $chassis.ci.centos.org" in
/etc/resolv.conf .
I've pushed a fix in the kickstart templates used to provision all
those compute nodes to have ci.centos.org as first search domain,
while also keeping/having $chassis.ci.centos.org as secondary search
That change went "live" in the last minutes, but will only be
reflected for nodes being provisioned now, (as Duffy has a
preallocation pool , reason why it's fast to return a node to ci users)

- -- 
Fabian Arrotin
The CentOS Project | http://www.centos.org
gpg key: 56BEC54E | twitter: @arrfab
Version: GnuPG v2.0.22 (GNU/Linux)