From owner-freebsd-current@FreeBSD.ORG Thu Nov 7 00:48:08 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B1C1B93; Thu, 7 Nov 2013 00:48:08 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 740C82C5F; Thu, 7 Nov 2013 00:48:07 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id rA70m42e009211 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 6 Nov 2013 18:48:04 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.152]) by LTCFISWMSGHT05.FNFIS.com ([10.132.206.16]) with mapi id 14.03.0158.001; Wed, 6 Nov 2013 18:48:02 -0600 From: "Teske, Devin" To: Glen Barber Subject: Re: [Review] bsdconfig pkgng integration Thread-Topic: [Review] bsdconfig pkgng integration Thread-Index: AQHO2x6RJrucrqXds0+MgGctNGb1Bg== Date: Thu, 7 Nov 2013 00:48:02 +0000 Message-ID: References: <527ACA8E.7010301@allanjude.com> <21C1BAD8-DC2F-4338-9AE5-28B28B64C933@fisglobal.com> <527ACE7B.6090002@allanjude.com> <20131106233218.GF1761@glenbarber.us> <39DE2EDF-69F3-43C5-AEDE-7A5399AC2859@fisglobal.com> <20131106234417.GG1761@glenbarber.us> <20131107000124.GH1761@glenbarber.us> <31C96E68-1503-4433-A286-288CADCBAD23@fisglobal.com> <20131107002235.GI1761@glenbarber.us> In-Reply-To: <20131107002235.GI1761@glenbarber.us> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: multipart/signed; boundary="Apple-Mail=_7B96CD12-0E7B-4DF5-9025-680A8FAAAFA0"; protocol="application/pgp-signature"; micalg=pgp-sha512 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-11-06_06:2013-11-06,2013-11-06,1970-01-01 signatures=0 Cc: Devin Teske , "Teske, Devin" , " Current" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 00:48:08 -0000 --Apple-Mail=_7B96CD12-0E7B-4DF5-9025-680A8FAAAFA0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Nov 6, 2013, at 4:22 PM, Glen Barber wrote: > On Thu, Nov 07, 2013 at 12:13:49AM +0000, Teske, Devin wrote: >> So what hard-coding are you talking about? >>=20 >=20 > You are trying to hard-code hostnames for a service in the FreeBSD > src/ tree, when it is *absolutely* unnecessary. >=20 Not all hostnames are equal. As you know, pkg.freebsd.org is one that you would never deny. So just as pkg.freebsd.org is "different" from a normal hostname, pkg.eu.freebsd.org and pkg.us-east.freebsd.org and pkg.us-west.freebsd.org are similarly "different" (in the same way). I'm not trying to hard-code any ol' hostnames... I'm trying to hardcode the hostnames which can be administered to point to one or more grouped servers. You talk about how pkg.freebsd.org is unique because we can simply change where it points... I'm talking about doing the same thing for the other 3 names we have which were designed for the same thing. I think that you're thinking that: pkg.eu.freebsd.org pkg.us-east.freebsd.org pkg.us-west.freebsd.org Will somehow change? The only way they would change is in the same way that you would change pkg.freebsd.org -- I don't know how much clearer I can make this. >> You talk about how "if a node goes down we take it out of DNS" >> but that has absolutely nothing to do with me because I'm not >> putting A/AAAA-resolving names in the menu. >>=20 >=20 > I did not once say anything about A or AAAA records. >=20 You talked about a node going down. A node has a A or quad-A record. The name for that node is served via the SRV record. Read the above paragraph again carefully. I said "A/AAAA-resolving names" That is equivalent to "node name" and you were talking about "what if a node goes down." And my answer to that was... I don't care if a node goes down, because I'm not using node names in the menu. >> You do realize don't you that pkg.eu.f.o is a locale-specific name >> that will eventually hold potentially many-more European server >> names, right? >>=20 >=20 > So? >=20 So, the name "pkg.eu" is never going to change. It, like pkg.freebsd.org will just have modified SRV records to track the European nodes. >> You do realize that the actual European server is *NOT* pkg.eu, >> right? >>=20 >=20 > *Sigh*... >=20 Your sign leads me to be concerned that there is a false assumption that the DNS name that serves the SRV records should be a one-to-one mapping. There's absolutely no reason whatsoever to dedicate an entire locale specific domain to one SRV record. That's silly. As we grow, this domain -- which is decidedly locale-specific by way of its actual name -- should be used for what it was intended... a locale abstraction of many-to-one. >> You do realize that while the name pkg.f.o may wholly encompass >> all the mirrors, that this will not always be true, right? >>=20 >=20 > No, you are wrong. >=20 I surely hope I am not. You're saying that: + We'll never have more than one server in Europe. + We'll never have more than one server in the West Coast of the USA. + We'll never have more than one server in the East Coast of the USA. That makes me very sad. Very sad indeed. I envisaged a growth that would have had dozens upon dozens of servers all throughout, and the locale-specific domains would then return geographically based SRV records (of which we administer on the back-end). >> I have no idea what you're talking about with the updating of config >> files. >>=20 >=20 > Clearly. If you hard-code anything other than pkg.FreeBSD.org in > bsdconfig, now clusteradm has to become aware of it, and make sure that > record *always* exists, no matter what the endpoint is. >=20 http://lists.freebsd.org/pipermail/freebsd-pkg/2013-October/000107.html According to that mail, clusteradm *should* already be away of the three I mentioned... pkg.eu, pkg.us-east, and pkg.us-west > This nonsense happened with sysinstall, and anything else that used the > FTP mirror list. And when a node disappears, for whatever reason, it is > an absolute nightmare to sort out. >=20 I have to continue to beat the drum... You had to do that in sysinstall, because the names that were used there were A/quad-A resolving names (node names). Just as pkg.freebsd.org is not one of those names... pkg.eu and pkg.us-* are not like the names used in sysinstall. So please... tell me again, how or why you would *ever* have to modify pkg.eu or pkg.us-* ??? > For the last time, you do not need to have *any* host entries other than > 'pkg.FreeBSD.org'. Period. >=20 Until you acknowledge that pkg.eu and pkg.us-* are of the same pedigree as pkg.f.o, I assume that you are still confusing this list of names with a traditional list of names like sysinstall had. >> That being said... that name should not go away unless we no longer >> have even one single server in Europe. >>=20 >=20 > This has nothing to do with bsdconfig. Try to see my larger point. >=20 Oh, I agree... I'm looking forward to the big picture when pkg.eu returns more than one SRV record. I'm looking forward to the day that pkg.us-east and pkg.us-west return more than one SRV record. I'd like to some day see: + pkg.freebsd.org use geo2ip to return SRV of closest entries + pkg.eu to return multiple SRV records for multiple European mirrors + pkg.us-* to similarly return multiple SRV records Can't you see what I'm going for? It's a lot larger in scale than what we h= ave now. Why not strive to attain a full-scale CDN and geo-location awareness? I think it's foolish to get locked into this notion that we have to have on= e-to-one sub-mapping of SRV records under the main guy. >> Oh, and by the way... >>=20 >> The name "pkg.f.o" does *NOT* resolve to "pkg.eu"... pkg.eu is a sibling >> name that is disassociated -- it was actually *designed* to be used for >> this. >=20 > So was pkg.FreeBSD.org. It is why I do *NOT* want you to hard-code > anything other than that. >=20 You misread what I stated... pkg.eu was designed for the same purpose as pkg.f.o In every way. --=20 Devin > Glen >=20 _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. --Apple-Mail=_7B96CD12-0E7B-4DF5-9025-680A8FAAAFA0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJSeuNCAAoJEKrMn5R9npq53OEIAJ0j7juTKnfTsFCNxku2N4+x EUASnVqGhO3Z2dYeYCX+1s0J3uKi8n19kYgUDLsKWNsK7zroxYkjWWAJOHLGZgBU luMmGQXbXzkdcYthQWgEc4myJFkC4scZ737TWdT9ZD+9tvHPil7NClO++Yaqvuvg mYcI9y7+7qOwah0BONL+7umKQs5Of2i2Iy0qnaYZajVC/oyN7c/2tjL5+7gQCD/g 73Apf35YsSLd6fhhdtdqfomMmD49Wf/fYPjfRbBq22DAWAFSXmtqtmHDg01pC+dU jlwfu1lexArKib2LXFbyJpj7/T9ONK0wiIYw6LW5NYD5pgR2K5JQQZ3Q6P1+3Xs= =CA2h -----END PGP SIGNATURE----- --Apple-Mail=_7B96CD12-0E7B-4DF5-9025-680A8FAAAFA0--