fixes in the workflow to debug ping-node issues
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 6 Mar 2015 23:11:32 +0000 (00:11 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 6 Mar 2015 23:11:32 +0000 (00:11 +0100)
Makefile
ping-node.md

index 0c07e51..ef52a82 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,9 +51,9 @@ MKISOFS_OPTS="-R -J -r -f -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-s
 
 sync-rewrap:
        ssh root@$(KVMHOST) "(cd $(KVMDIR); \
-                            echo "Rewrapping bootcd.img"; \
-                            (cd overlay && find . | cpio --quiet -c -o) | gzip -9 > iso/overlay.img; \
                             echo "Rewrapping overlay.img"; \
-                            (cd bootcd && find . | cpio --quiet -c -o) | gzip -9 > iso/bootcd.img; \
+                            (cd overlay && find . | cpio --quiet -c -o) | gzip -1 > iso/overlay.img; \
+                            echo "Rewrapping bootcd.img"; \
+                            (cd bootcd && find . | cpio --quiet -c -o) | gzip -1 > iso/bootcd.img; \
                             mkisofs -o $(NODE).iso $(MKISOFS_OPTS) iso/; \
                            )"
index 3048b5e..84a6ae1 100644 (file)
@@ -13,10 +13,11 @@ And namely, the set of systemd files that describe booting off the CD image
 
 * and then run it on the testmaster side like this
 
-    iterate-ping-node <nb_iterations>
+  `iterate-ping-node -o run01 <nb_iterations>`
 
 * This allows to run a given bootcd (the iso computed for one node) several times over, and to gather all logs from qemu
-* This is **only** restarting the kvm/qemu node several times, nothing is done to recompute the .iso itself (see below for that). So the game is to easily simulate how a change to `bootcd` would affect a node ISO without rebuilding the whole damn thing.
+* This is **only** restarting the kvm/qemu node several times, nothing is done to recompute the .iso itself (see below for that). So the game is to easily simulate how a change to `bootcd` would affect a node ISO without rebuilding the whole damn thing
+* When -o is provided, the directory argument is created and all log files are stored in there
 
 ## Easily redo a .iso