Commit aef647a6 authored by Leigh B Stoller's avatar Leigh B Stoller

New (test) version of image_import that can import the entire image history

from the server, keeping it in sync with the server as new versions of the
image are added. Also handles importing deltas if the metadata says there
is a delta.

Note that downloading the image files is still lazy; we will not import all
15 versions of an image unless they actually are needed.

Lots of work still do. This is a bit of a nightmare cause of client/server
(backward) compatibility issues wrt provenance/noprovenance and
deltas/nodeltas. I might change my mind and say the hell with

Along these same lines, there is an issue of what to do when a site that is
running with provenance turned on, gets this new code. Up to now, the
client and server never tried to stay in sync, but now they have to (cause
of deltas), and so the client image descriptors have to be upgraded. That
will be a hassle too.
parent a046e18d
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
......@@ -54,7 +54,8 @@ SBIN_SCRIPTS = vlandiff vlansync withadminprivs export_tables \
update_sitevars delete_image sitecheckin sitecheckin_client \
mktestbedtest fixrootcert addservers poolmonitor \
node_exclude managetaint shutdown-shared imagerelease \
runsonxen pxelinux_makeconf imagetodir attend atten
runsonxen pxelinux_makeconf imagetodir attend atten \
WEB_SBIN_SCRIPTS= webnewnode webdeletenode webspewconlog webarchive_list \
webwanodecheckin webspewimage webdumpdescriptor \
......@@ -72,7 +73,7 @@ CTRLSBIN_SCRIPTS= opsdb_control.proxy daemon_wrapper ec2import.proxy \
SETUID_BIN_SCRIPTS = create_image
SETUID_SBIN_SCRIPTS = grabwebcams checkquota spewconlog opsdb_control suchown \
anonsendmail readblob image_import delete_image \
pxelinux_makeconf imageinfo
pxelinux_makeconf imageinfo image_import-new
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment