Closed
Bug 864325
Opened 11 years ago
Closed 11 years ago
Provide CNAMEs for AWS-based machines
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
Details
(Whiteboard: [reit-ops])
Attachments
(2 files)
ATM we can use releng.{use1,usw2}.mozilla.com domain names for AWS-based machines. We usually also use CNAMEs in build.mozilla.org domain for convenience. AFAIK, there are some difficulties with CNAME entries (inventory related?). Amy may have more details.
Updated•11 years ago
|
Whiteboard: [reit-ops]
Comment 1•11 years ago
|
||
There is no way to automate changes to the mozilla.org zones since they are not under inventory control (unlike the forward and reverse zones for AWS). I'll hand this over to the folks who are working on migrating zones for an update about when that eventually happens (there is quite a bit of difficulty in driving that via inventory, I believe just because of the kinds of hosts that are in the mozilla.org zone).
Assignee: server-ops-releng → juber
Component: Server Operations: RelEng → Server Operations
QA Contact: arich → shyam
Comment 2•11 years ago
|
||
You can create build.mozilla.org CNAMEs in Inventory now.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 3•11 years ago
|
||
Due to technicality (we don't yet have build.m.o CNAMES created) I'm moving this over to releng (to reflect where the work lies) and reopening.
Assignee: juber → nobody
Status: RESOLVED → REOPENED
Component: Server Operations → Release Engineering
QA Contact: shyam
Resolution: FIXED → ---
Assignee | ||
Comment 4•11 years ago
|
||
The following command should do the trick: invtool CNAME create --fqdn cname.build.mozilla.org --target longlong.usw2.mozilla.com --private --description "Bug 864325" I list of existing hosts can be grabbed from http://cruncher.build.mozilla.org/~buildduty/hosts. We need to filter the list by removing non-FQDN and we should verify if all of the entries have appropriate DNS entries (A+PTR)
Assignee | ||
Comment 5•11 years ago
|
||
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Assignee | ||
Comment 6•11 years ago
|
||
generated by: invtool search -q "type=:A /^(try|bld|tst)-linux(64|32)-ec2-[0-9].*" | awk '{print $2}' | sed 's/\.$//' | grep -v ^$ | sort > slaves for slave in `cat slaves`; do short=$(echo $slave | awk -F. '{print $1}') cname="${short}.build.mozilla.org" echo "invtool CNAME create --fqdn $cname --target $slave --private --description 'bug 864325'" done > add_them.sh
Attachment #828171 -
Flags: review?(hwine)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → rail
Comment 7•11 years ago
|
||
Comment on attachment 828171 [details]
add_them.sh
Looks good -- two questions, but non-blocking if they aren't needed
1. do we need --no-public option? Or is that default? (not clear to me)
2. should --description be --comment, and maybe add --description "RelEng Convention"
Attachment #828171 -
Flags: review?(hwine) → review+
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Hal Wine [:hwine] (use needinfo) from comment #7) > Comment on attachment 828171 [details] > add_them.sh > > Looks good -- two questions, but non-blocking if they aren't needed > > 1. do we need --no-public option? Or is that default? (not clear to me) That's default AFAIK, at least it's not set in the UI. > 2. should --description be --comment, and maybe add --description "RelEng > Convention" Fixed and ran!
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•