Closed Bug 757285 Opened 13 years ago Closed 13 years ago

Make public mirror of PuppetAgain repos

Categories

(Infrastructure & Operations :: RelOps: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jgriffin, Assigned: dustin)

References

Details

We're planning on using the PuppetAgain repos for installing Python packages on buildbot slaves during build jobs (e.g., talos tests), see bug 701506, bug 757283. Currently, these packages aren't available publicly, which makes testing and debugging against them hard. We'd like to mirror these files to a public location to make testing and debugging easier.
I think I will implement this as a Zeus proxy to one or more puppet masters, on a distinct, "public" port. Then I'll use Apache to prevent access to sensitive materials from that public port. This will require setting up a puppetmaster in scl3 first, since that's where we'll be serving this from. The VM's already up, but I'm wrapping up some SSL work before I can initialize it. So this could be a few days to a week.
Assignee: nobody → server-ops-releng
Blocks: PuppetAgain
Component: Release Engineering → Server Operations: RelEng
QA Contact: release → arich
Assignee: server-ops-releng → dustin
OK, the plan is: * add a public_mirror => true option to the releng::puppetmaster class * that causes a number of "trees" to be shared, currently - python - repos/yum/mirrors - repos/yum/releng (note that this will not include e.g., repos/yum/private) * for each tree: - set up an rsync module - set up an Apache Alias on a distinct port * Point rsync and http toward this with Zeus on a freshly allocated VIP.
VIP: puppetagain-zlb.vips.scl3.mozilla.com / 63.245.215.68 CNAME: puppetagain.pub.build.mozilla.org
OK, rsync and public http (on port 82) are up. Both exclude /data/*/private, which exist but are empty right now. All puppetagain masters serve both. So, all that remains is to get Zeus configured and pointed toward one of the masters (scl3, since that's where Zeus is).
Zeus is set up, but disabled pending the flow in the dependent bug.
Rsync is running. I requested the wrong flow for http, so that's not running yet.
Http's up.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: Server Operations: RelEng → RelOps
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.