[PATCH] change InitClusterManager to BootCluster as there is an error when running testcases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I ran the following command:

# corolab.py --nodes "node01 node02 node03"

it reported an error that "InitClusterManager is not defined", and I confirmed that in pacemaker-cts,
there is no such a class, but BootCluster instead


--- a/cts/corolab.py
+++ b/cts/corolab.py
@@ -308,10 +308,10 @@ if __name__ == '__main__':
     elif Environment["all-once"] or NumIter == 0: 
         NumIter = len(Tests)
         scenario = AllOnce(
-            cm, [ InitClusterManager(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
+            cm, [ BootCluster(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
     else:
         scenario = RandomTests(
-            cm, [ InitClusterManager(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
+            cm, [ BootCluster(Environment), TestAgentComponent(Environment), PacketLoss(Environment) ], Audits, Tests)
 
     Environment.log(">>>>>>>>>>>>>>>> BEGINNING " + repr(NumIter) + " TESTS ")
     Environment.log("Stack:            %s" % Environment["Stack"])
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss

[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux