Comments (4)
Thinking out loud here... MM2 does a number of things. Among them:
- It scrapes the master mirror to figure out what should be on the remote mirrors.
- It scrapes the remote mirrors to figure out what they do and don't have with respect to that master list.
So, if we have pulp simply put the containers in place on the master mirror, then both of those phases should just work.
Proposal: The dynamically generated mirrorlist intended for clients is another story. When people go to pull down the images from crane, they'll be hitting its API, I presume. Crane would then need to somehow take the metadata about the request (the IP and the requested resource) and forward that to the mirrorlist behind the scenes. Mirrorlist could then return a list of possible mirrors which Pulp then forwards back to the client.
This would require 1) a patch or plugin to pulp which does the backend query to mirrorlist and 2) a patch to mirrorlist to serve requests on behalf of another service - i.e., it would have to accept an IP as a querystring argument, or an X-Forwarded-Host
HTTP header on the request, or something like that.
from mirrormanager2.
Mirror list already takes ?ip= query argument, as well as parses out
x-forwarded-for headers.
On Feb 8, 2016 4:13 AM, "Ralph Bean" [email protected] wrote:
Thinking out loud here... MM2 does a number of things. Among them:
- It scrapes the master mirror to figure out what should be on the
remote mirrors.- It scrapes the remote mirrors to figure out what they do and don't
have with respect to that master list.So, if we have pulp simply put the containers in place on the master
mirror, then both of those phases should just work.Proposal: The dynamically generated mirrorlist intended for clients is
another story. When people go to pull down the images from crane, they'll
be hitting its API, I presume. Crane would then need to somehow take the
metadata about the request (the IP and the requested resource) and forward
that to the mirrorlist behind the scenes. Mirrorlist could then return a
list of possible mirrors which Pulp then forwards back to the client.This would require 1) a patch or plugin to pulp which does the backend
query to mirrorlist and 2) a patch to mirrorlist to serve requests on
behalf of another service - i.e., it would have to accept an IP as a
querystring argument, or an X-Forwarded-Host HTTP header on the request,
or something like that.—
Reply to this email directly or view it on GitHub
#160 (comment)
.
from mirrormanager2.
❤️ @mdomsch++ ❤️
from mirrormanager2.
Awww, and Valentine's is this week too. Thanks Ralph!
On Feb 8, 2016 6:57 AM, "Ralph Bean" [email protected] wrote:
[image: ❤️] @mdomsch https://github.com/mdomsch++ [image: ❤️]
—
Reply to this email directly or view it on GitHub
#160 (comment)
.
from mirrormanager2.
Related Issues (20)
- admin-only categories HOT 2
- How to add category and some other items HOT 5
- Caching mirrors HOT 9
- IPv6-only mirrors and clients are not properly supported HOT 1
- Local authentication is broken
- AS path information in mirror selection
- Global mirrors are not possible HOT 1
- time to drop http from metalinks by default? HOT 5
- JSON export with latest mirror update date HOT 6
- hkg.mirror.rackspace.com mirror is never in the mirror list HOT 1
- mirrormanager doesn't work anymore with vagrant
- (IntegrityError) duplicate key value violates unique constraint "host_category_url_url_key"
- Fedora updates with dnf consistently chooses very slow mirrors form asian regions. HOT 2
- Instructions to try out mm2 don't work anymore HOT 3
- https://mirrors.centos.org/centos is offline HOT 1
- The master branch is updated without Pull Requests HOT 1
- Cannot start runserver in newly created vm HOT 6
- Dependency Dashboard
- Encountering PublishTimeout exceptions when adding a site and setting host information in MirrorManager2 on Fedora Workstation 38 HOT 3
- Link to https://admin.fedoraproject.org/mirrormanager/ HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirrormanager2.