[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH 09/11] mg-schema-test-database: New script
On Fri, 2015-12-04 at 19:35 +0000, Ian Jackson wrote: > This allows a user in non-standalone mode to make a whole new test > database, which is largely a clone of the original database. > > The new db refers to the same resources (hosts), and more-or-less > safely borrows some of those hosts. "more-or-less" ? ;-) What's the overall idiom for use here, something like: Against the production DB: OSSTEST_TASK=ianc@testing-somethingÂ./mg-allocate [-U ...] a-host ./mg-schema-test-database create [_SUFFIX]Âianc@testing-something Ending up in a state where a-host is allocated in the production db and idle in this new test db and all other hosts are allocated in the test db and left to go about their usual business in the production db? > > Currently we don't do anything about the queue and owner daemons. > This means that queue-daemon-based resource allocation is broken when > clients are pointed at the test db.ÂÂBut non-queue-based allocation > (eg, ./mg-allocate without -U) works, and the test db can be used for > db-related experiments and even support individual ts-* scripts (other > than ts-hosts-allocate of course). > > Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> > --- > Âmg-schema-test-database |ÂÂ458 > +++++++++++++++++++++++++++++++++++++++++++++++ > Â1 file changed, 458 insertions(+) > Âcreate mode 100755 mg-schema-test-database > > diff --git a/mg-schema-test-database b/mg-schema-test-database > new file mode 100755 > index 0000000..64acdcf > --- /dev/null > +++ b/mg-schema-test-database > @@ -0,0 +1,458 @@ I glanced through this, but TBH I don't think picking through it line by line will be very productive, I trust you've tested it and its ok... Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |