README.dev: Updates to commissioning process
PATCH 1/1 README.dev: Updates to commissioning process
- mkpxedir requires the resource to be allocated
- mention the need to bless the hosts for comissioning run, and to add proper blessings afterwards.
- run mg-execute-flight in screen
--- README.dev | 17 ++++++++++++++++- mg-hosts | 3 ++- 2 files changed, 18 insertions(+), 2 deletions(-)
README.dev +16 -1
@@ -34,6 +34,9 @@ Base it on an existing machine: $ mg-hosts create-like marilith-n5 marilith-n4 +Allocate it for the duration of setup +$ mg-allocate HOST + Set up the props and flags $ mg-hosts setprops ... $ mg-hosts setflags ...
@@ -52,9 +55,21 @@ $ echo $FLIGHT Clone an existing flight, e.g. 20855 was previous successful flight $ OSSTEST_CONFIG=production-config ./cs-adjust-flight $FLIGHT copy 20855 -Run it: +"commission" is a blessing, hosts should be blessed with it, e.g. + +$ mg-hosts setflags HOSTA HOSTB -- blessed-commission + +Can use anything e.g. commission-$classofmachine if doing multiple +commissions in parallel. + +Run it, e.g. in a screen session: OSSTEST_CONFIG=production-config ./mg-execute-flight -Bcommission [email protected] -f20855 $FLIGHT +Once machines are ready for production use remove the commission +blessing and add the production ones, e.g. + +$ mf-hosts setflags HOSTA HOSTB -- \!blessed-commission blessed-{real,play,adhoc} + Shutting down =============
mg-hosts +2 -1
@@ -21,7 +21,8 @@ # # ./mg-hosts mkpxedir HOST... # Create directories for pxeboot as expected by the rest -# of osstest. Will use "sudo". +# of osstest. Will use "sudo". The HOST(s) must be +# allocated (via mg-allocate HOST). # # ./mg-hosts create-like SOURCE-HOST NEW-HOST[,NEW-HOST...] # Create new host(s). This does NOT copy the
Signature · 1 line
1.7.2.5
Ian Campbell writes ("[PATCH OSSTEST] README.dev: Updates to commissioning process"):
Quoted 4 lines
- mkpxedir requires the resource to be allocated
- mention the need to bless the hosts for comissioning run, and to add proper blessings afterwards.
- run mg-execute-flight in screen
...
Quoted 1 line
+$ mf-hosts setflags HOSTA HOSTB -- \!blessed-commission blessed-{real,play,adhoc}
YM mg-hosts
Ian.
Quoted 9 lines · Ian Jackson
Ian Campbell writes ("[PATCH OSSTEST] README.dev: Updates to commissioning process"):
Quoted 4 lines
- mkpxedir requires the resource to be allocated
- mention the need to bless the hosts for comissioning run, and to add proper blessings afterwards.
- run mg-execute-flight in screen...
Quoted 1 line
+$ mf-hosts setflags HOSTA HOSTB -- \!blessed-commission blessed-{real,play,adhoc}
YM mg-hosts
I do, yes, updated locally.
Ian.