[Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

Holger Teutsch holger.teutsch at web.de
Mon May 9 14:44:00 EDT 2011


On Wed, 2011-04-27 at 13:25 +0200, Andrew Beekhof wrote:
> On Sun, Apr 24, 2011 at 4:31 PM, Holger Teutsch <holger.teutsch at web.de> wrote:
...
> > Remaining diffs seem to be not related to my changes.
> 
> Unlikely I'm afraid.  We run the regression tests after every commit
> and complain loudly if they fail.
> What is the regression test output?

That's the output of tools/regression.sh of pacemaker-devel *without* my
patches:
Version: parent: 10731:bf7b957f4cbe tip

see attachment
-holger


-------------- next part --------------
Using local binaries from: .
* Passed: cibadmin       - Require --force for CIB erasure
* Passed: cibadmin       - Allow CIB erasure with --force
* Passed: cibadmin       - Query CIB
* Passed: crm_attribute  - Set cluster option
* Passed: cibadmin       - Query new cluster option
* Passed: cibadmin       - Query cluster options
* Passed: cibadmin       - Delete nvpair
* Passed: cibadmin       - Create operaton should fail with: -21, The object already exists
* Passed: cibadmin       - Modify cluster options section
* Passed: cibadmin       - Query updated cluster option
* Passed: crm_attribute  - Set duplicate cluster option
* Passed: crm_attribute  - Setting multiply defined cluster option should fail with -216, Could not set cluster option
* Passed: crm_attribute  - Set cluster option with -s
* Passed: crm_attribute  - Delete cluster option with -i
* Passed: cibadmin       - Create node entry
* Passed: cibadmin       - Create node status entry
* Passed: crm_attribute  - Create node attribute
* Passed: cibadmin       - Query new node attribute
* Passed: cibadmin       - Digest calculation
* Passed: cibadmin       - Replace operation should fail with: -45, Update was older than existing configuration
* Passed: crm_standby    - Default standby value
* Passed: crm_standby    - Set standby status
* Passed: crm_standby    - Query standby value
* Passed: crm_standby    - Delete standby value
* Passed: cibadmin       - Create a resource
* Passed: crm_resource   - Create a resource meta attribute
* Passed: crm_resource   - Query a resource meta attribute
* Passed: crm_resource   - Remove a resource meta attribute
* Passed: crm_resource   - Create a resource attribute
* Passed: crm_resource   - List the configured resources
* Passed: crm_resource   - Set a resource's fail-count
* Passed: crm_resource   - Require a destination when migrating a resource that is stopped
* Passed: crm_resource   - Don't support migration to non-existant locations
* Passed: crm_resource   - Migrate a resource
* Passed: crm_resource   - Un-migrate a resource
--- ./regression.exp	2011-05-09 20:26:27.669381187 +0200
+++ ./regression.out	2011-05-09 20:38:27.112098949 +0200
@@ -616,7 +616,7 @@
   </status>
 </cib>
 * Passed: crm_resource   - List the configured resources
-<cib epoch="16" num_updates="2" admin_epoch="0" validate-with="pacemaker-1.2" >
+<cib epoch="16" num_updates="1" admin_epoch="0" validate-with="pacemaker-1.2" >
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options"/>
@@ -642,19 +642,13 @@
     <constraints/>
   </configuration>
   <status>
-    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME">
-      <transient_attributes id="clusterNode-UUID">
-        <instance_attributes id="status-clusterNode-UUID">
-          <nvpair id="status-clusterNode-UUID-fail-count-dummy" name="fail-count-dummy" value="10"/>
-        </instance_attributes>
-      </transient_attributes>
-    </node_state>
+    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME"/>
   </status>
 </cib>
 * Passed: crm_resource   - Set a resource's fail-count
 Resource dummy not moved: not-active and no preferred location specified.
 Error performing operation: cib object missing
-<cib epoch="16" num_updates="2" admin_epoch="0" validate-with="pacemaker-1.2" >
+<cib epoch="16" num_updates="1" admin_epoch="0" validate-with="pacemaker-1.2" >
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options"/>
@@ -680,19 +674,13 @@
     <constraints/>
   </configuration>
   <status>
-    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME">
-      <transient_attributes id="clusterNode-UUID">
-        <instance_attributes id="status-clusterNode-UUID">
-          <nvpair id="status-clusterNode-UUID-fail-count-dummy" name="fail-count-dummy" value="10"/>
-        </instance_attributes>
-      </transient_attributes>
-    </node_state>
+    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME"/>
   </status>
 </cib>
 * Passed: crm_resource   - Require a destination when migrating a resource that is stopped
 Error performing operation: i.dont.exist is not a known node
 Error performing operation: The object/attribute does not exist
-<cib epoch="16" num_updates="2" admin_epoch="0" validate-with="pacemaker-1.2" >
+<cib epoch="16" num_updates="1" admin_epoch="0" validate-with="pacemaker-1.2" >
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options"/>
@@ -718,13 +706,7 @@
     <constraints/>
   </configuration>
   <status>
-    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME">
-      <transient_attributes id="clusterNode-UUID">
-        <instance_attributes id="status-clusterNode-UUID">
-          <nvpair id="status-clusterNode-UUID-fail-count-dummy" name="fail-count-dummy" value="10"/>
-        </instance_attributes>
-      </transient_attributes>
-    </node_state>
+    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME"/>
   </status>
 </cib>
 * Passed: crm_resource   - Don't support migration to non-existant locations
@@ -760,13 +742,7 @@
     </constraints>
   </configuration>
   <status>
-    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME">
-      <transient_attributes id="clusterNode-UUID">
-        <instance_attributes id="status-clusterNode-UUID">
-          <nvpair id="status-clusterNode-UUID-fail-count-dummy" name="fail-count-dummy" value="10"/>
-        </instance_attributes>
-      </transient_attributes>
-    </node_state>
+    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME"/>
   </status>
 </cib>
 * Passed: crm_resource   - Migrate a resource
@@ -796,13 +772,7 @@
     <constraints/>
   </configuration>
   <status>
-    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME">
-      <transient_attributes id="clusterNode-UUID">
-        <instance_attributes id="status-clusterNode-UUID">
-          <nvpair id="status-clusterNode-UUID-fail-count-dummy" name="fail-count-dummy" value="10"/>
-        </instance_attributes>
-      </transient_attributes>
-    </node_state>
+    <node_state id="clusterNode-UUID" uname="clusterNode-UNAME"/>
   </status>
 </cib>
 * Passed: crm_resource   - Un-migrate a resource
Tests passed but diff failed


More information about the Pacemaker mailing list