All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH OSSTEST] README.dev: Updates to commissioning process
@ 2015-02-02 14:16 Ian Campbell
  2015-02-02 14:22 ` Ian Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2015-02-02 14:16 UTC (permalink / raw)
  To: ian.jackson; +Cc: Ian Campbell, xen-devel

- 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

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
---
 README.dev |   17 ++++++++++++++++-
 mg-hosts   |    3 ++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/README.dev b/README.dev
index 3303e77..b26f8df 100644
--- a/README.dev
+++ b/README.dev
@@ -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 -Eian.campbell@citrix.com -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
 =============
 
diff --git a/mg-hosts b/mg-hosts
index c49be79..a6f6e6e 100755
--- a/mg-hosts
+++ b/mg-hosts
@@ -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
-- 
1.7.2.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH OSSTEST] README.dev: Updates to commissioning process
  2015-02-02 14:16 [PATCH OSSTEST] README.dev: Updates to commissioning process Ian Campbell
@ 2015-02-02 14:22 ` Ian Jackson
  2015-02-02 14:26   ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Jackson @ 2015-02-02 14:22 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel

Ian Campbell writes ("[PATCH OSSTEST] 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
...
> +$ mf-hosts setflags HOSTA HOSTB -- \!blessed-commission blessed-{real,play,adhoc}

YM mg-hosts

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH OSSTEST] README.dev: Updates to commissioning process
  2015-02-02 14:22 ` Ian Jackson
@ 2015-02-02 14:26   ` Ian Campbell
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2015-02-02 14:26 UTC (permalink / raw)
  To: Ian Jackson; +Cc: xen-devel

On Mon, 2015-02-02 at 14:22 +0000, Ian Jackson wrote:
> Ian Campbell writes ("[PATCH OSSTEST] 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
> ...
> > +$ mf-hosts setflags HOSTA HOSTB -- \!blessed-commission blessed-{real,play,adhoc}
> 
> YM mg-hosts

I do, yes, updated locally.

Ian.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-02 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02 14:16 [PATCH OSSTEST] README.dev: Updates to commissioning process Ian Campbell
2015-02-02 14:22 ` Ian Jackson
2015-02-02 14:26   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.