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

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


-----BEGIN PGP SIGNED MESSAGE-----
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
domain.
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlbNsswACgkQnVkHo1a+xU4p4wCghFcEfrb9yxUQv+LakpfTRGiH
azcAmQGK4vZc20hwPWHfmNmAoBNc/5Hz
=qlm8
-----END PGP SIGNATURE-----



More information about the Ci-users mailing list