Closed jhujasonw closed 2 years ago
Some quick notes:
PLUGIN: Job module: image-sync
- Params: images_to_sync, image_source_server (null or the id of a job server with the updated image.)
- Target_server: jobserver to run on
- MPCC creates a new image-sync job for every job server registered with image-sync
PLUGIN: Secondary server sets up a simple http server to serve images to pxelinux
- The job server handling image-update jobs must also run the first image hosting server. MPCC will point to it via 302 from /images/image_name
- MPCC does not hold the images itself.
The answer to the question this ticket seems to be a YES with the following:
image-sync
handle the 302 from MPCC correctly as well to sync the image.image-sync
jobmodule may not need tracking jobs created, and target__server
may not be needed. They can check their version against the version reported to MPCC or make sure they are in the list of servers for that image/version.
Investigate if the job server can be used as the "image server" so that it can handle serving image sync requests.