Date: Thu, 7 Nov 2013 00:48:02 +0000 From: "Teske, Devin" <Devin.Teske@fisglobal.com> To: Glen Barber <gjb@FreeBSD.org> Cc: Devin Teske <dteske@freebsd.org>, "Teske, Devin" <Devin.Teske@fisglobal.com>, "<freebsd-current@freebsd.org> Current" <freebsd-current@freebsd.org> Subject: Re: [Review] bsdconfig pkgng integration Message-ID: <E57D177F-12F2-4D87-8CA4-9F837668862D@fisglobal.com> In-Reply-To: <20131107002235.GI1761@glenbarber.us> References: <527ACA8E.7010301@allanjude.com> <21C1BAD8-DC2F-4338-9AE5-28B28B64C933@fisglobal.com> <527ACE7B.6090002@allanjude.com> <BE3034A7-7677-4B62-8F46-44CE19764539@fisglobal.com> <20131106233218.GF1761@glenbarber.us> <39DE2EDF-69F3-43C5-AEDE-7A5399AC2859@fisglobal.com> <20131106234417.GG1761@glenbarber.us> <EB960CE5-8AEC-44FD-9342-A92E74C8106E@fisglobal.com> <20131107000124.GH1761@glenbarber.us> <31C96E68-1503-4433-A286-288CADCBAD23@fisglobal.com> <20131107002235.GI1761@glenbarber.us>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E57D177F-12F2-4D87-8CA4-9F837668862D>