Bug 12765 - %post failure for crmsh package (supplies crm utility to config pacemaker)
Summary: %post failure for crmsh package (supplies crm utility to config pacemaker)
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Daniel Lucio
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2014-02-14 14:35 CET by claire robinson
Modified: 2015-03-31 16:04 CEST (History)
0 users

See Also:
Source RPM: crmsh
CVE:
Status comment:


Attachments

Description claire robinson 2014-02-14 14:35:20 CET
# urpmi crmsh
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  corosync                       2.3.0        1.mga3        x86_64  
  crmsh                          1.2.5        2.mga3        x86_64  
  pssh                           2.3.1        2.mga3        noarch  
  python-psshlib                 2.3.1        2.mga3        noarch  
2.6MB of additional disk space will be used.
586KB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n) y

...

installing pssh-2.3.1-2.mga3.noarch.rpm corosync-2.3.0-1.mga3.x86_64.rpm python-psshlib-2.3.1-2.mga3.noarch.rpm crmsh-1.2.5-2.mga3.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     ###############################################
      1/4: python-psshlib        ###############################################
      2/4: pssh                  ###############################################
      3/4: corosync              ###############################################
      4/4: crmsh                 ###############################################
confbasic. checking... PASS
confbasic-xml. checking... FAIL
edit. checking... PASS
rset. checking... PASS
rset-xml. checking... FAIL
delete. checking... PASS
node....... checking... FAIL
resource............... checking... PASS
file..... checking... PASS
shadow. checking... FAIL
ra. checking... FAIL
acl. checking... PASS
history.. checking... FAIL
seems like some tests failed or else something not expected
check crmtestout/regression.out and diff files in crmtestout
in case you wonder what lrmd was doing, read crmtestout/crm.log and crmtestout/crm.debug
Shell tests failed.
Fri Feb 14 13:26:22 GMT 2014: BEGIN testcase confbasic
Fri Feb 14 13:26:29 GMT 2014: END testcase confbasic
Fri Feb 14 13:26:29 GMT 2014: BEGIN testcase confbasic-xml
----------
testcase confbasic-xml failed
output is in crmtestout/confbasic-xml.out
diff (from crmtestout/confbasic-xml.diff):
<diff crm_feature_set="3.0.6">
  <diff-removed>
    <cib>
      <configuration>
        <nodes>
          <node type="normal" id="node1"/>
        </nodes>
      </configuration>
    </cib>
  </diff-removed>
  <diff-added/>
</diff>
----------
Fri Feb 14 13:26:35 GMT 2014: END testcase confbasic-xml
Fri Feb 14 13:26:35 GMT 2014: BEGIN testcase edit
Fri Feb 14 13:26:40 GMT 2014: END testcase edit
Fri Feb 14 13:26:40 GMT 2014: BEGIN testcase rset
Fri Feb 14 13:26:46 GMT 2014: END testcase rset
Fri Feb 14 13:26:46 GMT 2014: BEGIN testcase rset-xml
----------
testcase rset-xml failed
output is in crmtestout/rset-xml.out
diff (from crmtestout/rset-xml.diff):
<diff crm_feature_set="3.0.6">
  <diff-removed>
    <cib>
      <configuration>
        <nodes>
          <node type="normal" id="node1"/>
        </nodes>
      </configuration>
    </cib>
  </diff-removed>
  <diff-added/>
</diff>
----------
Fri Feb 14 13:26:52 GMT 2014: END testcase rset-xml
Fri Feb 14 13:26:52 GMT 2014: BEGIN testcase delete
Fri Feb 14 13:26:56 GMT 2014: END testcase delete
Fri Feb 14 13:26:56 GMT 2014: BEGIN testcase node
----------
testcase node failed
output is in crmtestout/node.out
diff (from crmtestout/node.diff):
--- /usr/share/crmsh/tests/testcases/node.exp   2013-03-14 01:26:40.000000000 +0000
+++ -   2014-02-14 13:27:02.646967674 +0000
@@ -1,5 +1,5 @@
 .TRY node show
-node1: normal
+node1: 
 .TRY node show node1
-node1: normal
+node1: 
 .SETENV showobj=node1
@@ -15,3 +15,3 @@
     <nodes>
-      <node id="node1" type="normal" uname="node1">
+      <node id="node1" uname="node1">
         <instance_attributes id="nodes-node1">
@@ -36,3 +36,3 @@
     <nodes>
-      <node id="node1" type="normal" uname="node1">
+      <node id="node1" uname="node1">
         <instance_attributes id="nodes-node1">
@@ -57,3 +57,3 @@
     <nodes>
-      <node id="node1" type="normal" uname="node1">
+      <node id="node1" uname="node1">
         <instance_attributes id="nodes-node1">
@@ -80,3 +80,3 @@
     <nodes>
-      <node id="node1" type="normal" uname="node1">
+      <node id="node1" uname="node1">
         <instance_attributes id="nodes-node1">
@@ -104,3 +104,3 @@
     <nodes>
-      <node id="node1" type="normal" uname="node1">
+      <node id="node1" uname="node1">
         <instance_attributes id="nodes-node1">
----------
Fri Feb 14 13:27:02 GMT 2014: END testcase node
Fri Feb 14 13:27:02 GMT 2014: BEGIN testcase resource
Fri Feb 14 13:27:12 GMT 2014: END testcase resource
Fri Feb 14 13:27:12 GMT 2014: BEGIN testcase file
Fri Feb 14 13:27:22 GMT 2014: END testcase file
Fri Feb 14 13:27:22 GMT 2014: BEGIN testcase shadow
----------
testcase shadow failed
output is in crmtestout/shadow.out
diff (from crmtestout/shadow.diff):
--- /usr/share/crmsh/tests/testcases/shadow.exp 2013-03-14 01:26:40.000000000 +0000
+++ -   2014-02-14 13:27:25.386493075 +0000
@@ -5,12 +5,16 @@
 .EXT >/dev/null </dev/null crm_shadow -c 'regtest' --force
-INFO: 2: regtest shadow CIB created
+Could not create the shadow instance 'regtest': No such file or directory
 .INP: reset regtest
 .EXT >/dev/null </dev/null crm_shadow -r 'regtest'
-INFO: 3: copied live CIB to regtest
+Could not access shadow instance 'regtest': No such file or directory
+ERROR: 3: failed to copy live CIB to regtest
 .INP: use regtest
+ERROR: 4: regtest: no such shadow CIB
 .INP: commit regtest
 .EXT >/dev/null </dev/null crm_shadow -C 'regtest' --force
-INFO: 5: commited 'regtest' shadow CIB to the cluster
+Could not access shadow instance 'regtest': No such file or directory
+ERROR: 5: failed to commit the regtest shadow CIB
 .INP: delete regtest
-ERROR: 6: regtest shadow CIB is in use
+.EXT >/dev/null </dev/null crm_shadow -D 'regtest' --force
+ERROR: 6: failed to delete regtest shadow CIB
 .INP: use
@@ -18,2 +22,2 @@
 .EXT >/dev/null </dev/null crm_shadow -D 'regtest' --force
-INFO: 8: regtest shadow CIB deleted
+ERROR: 8: failed to delete regtest shadow CIB
----------
Fri Feb 14 13:27:25 GMT 2014: END testcase shadow
Fri Feb 14 13:27:25 GMT 2014: BEGIN testcase ra
----------
testcase ra failed
output is in crmtestout/ra.out
diff (from crmtestout/ra.diff):
--- /usr/share/crmsh/tests/testcases/ra.exp     2013-03-14 01:26:40.000000000 +0000
+++ -   2014-02-14 13:27:29.754661725 +0000
@@ -28,2 +28,6 @@
 
+op_sleep (string, [0]): Operation sleep duration in seconds.
+    Number of seconds to sleep during operations.  This can be used to test how
+    the cluster reacts to operation timeouts.
+
 Operations' defaults (advisory minimum):
@@ -55,3 +59,3 @@
 
-stonith-timeout (time, [60s]): How long to wait for the STONITH action to complete.
+stonith-timeout (time, [60s]): How long to wait for the STONITH action to complete per a stonith device.
     Overrides the stonith-timeout cluster property
@@ -75,5 +79,5 @@
 
-pcmk_poweroff_action (string, [poweroff]): Advanced use only: An alternate command to run instead of 'poweroff'
+pcmk_off_action (string, [off]): Advanced use only: An alternate command to run instead of 'off'
     Some devices do not support the standard commands or may provide additional ones.
-    Use this to specify an alternate, device-specific, command that implements the 'poweroff' action.
+    Use this to specify an alternate, device-specific, command that implements the 'off' action.
 
----------
Fri Feb 14 13:27:29 GMT 2014: END testcase ra
Fri Feb 14 13:27:29 GMT 2014: BEGIN testcase acl
Fri Feb 14 13:27:34 GMT 2014: END testcase acl
Fri Feb 14 13:27:34 GMT 2014: BEGIN testcase history
----------
testcase history failed
output is in crmtestout/history.out
diff (from crmtestout/history.diff):
--- /usr/share/crmsh/tests/testcases/history.exp        2013-03-14 01:26:40.000000000 +0000
+++ -   2014-02-14 13:27:39.295542530 +0000
@@ -4,2 +4,3 @@
 .INP: info
+.EXT tar -xj < history-test.tar.bz2
 Source: history-test.tar.bz2
@@ -235,2 +236,4 @@
 INFO: 24: running ptest with history-test/xen-e/pengine/pe-input-50.bz2
+error: crm_abort:      write_xml_stream: Triggered assert at xml.c:801 : stream != NULL
+Could not create '/var/lib/pacemaker/cib/shadow.11416': No such file or directory
 Transition xen-e:pe-input-50 (20:08:43 - 20:08:43):
@@ -241,2 +244,4 @@
 INFO: 25: running ptest with history-test/xen-e/pengine/pe-input-49.bz2
+error: crm_abort:      write_xml_stream: Triggered assert at xml.c:801 : stream != NULL
+Could not create '/var/lib/pacemaker/cib/shadow.11418': No such file or directory
 Transition xen-e:pe-input-49 (20:07:56 - 20:07:57):
@@ -247,2 +252,3 @@
 INFO: 26: transition history-test/xen-e/pengine/pe-input-50.bz2 saved to shadow _crmsh_regtest
+ERROR: 26: open: [Errno 2] No such file or directory: '/var/lib/pacemaker/cib/shadow._crmsh_regtest'
 .INP: transition log 49
----------
Fri Feb 14 13:27:39 GMT 2014: END testcase history
warning: %post(crmsh-1.2.5-2.mga3.x86_64) scriptlet failed, exit status 1
ERROR: 'script' failed for crmsh-1.2.5-2.mga3.x86_64:


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2014-02-14 18:31:59 CET

Keywords: (none) => Triaged
Assignee: bugsquad => luis.daniel.lucio

Comment 1 Marja Van Waes 2015-03-31 16:04:01 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.