# crm_simulate -SL -VVVV
crm_simulate[9934]: 2013/07/29_10:24:54 debug: 
init_client_ipc_comms_nodispatch: Attempting to talk on: /var/run/crm/cib_rw
crm_simulate[9934]: 2013/07/29_10:24:54 debug: 
init_client_ipc_comms_nodispatch: Attempting to talk on: 
/var/run/crm/cib_callback
crm_simulate[9934]: 2013/07/29_10:24:54 debug: cib_native_signon_raw: 
Connection to CIB successful
crm_simulate[9934]: 2013/07/29_10:24:54 debug: cib_native_signoff: Signing out 
of the CIB Service
crm_simulate[9934]: 2013/07/29_10:24:54 info: validate_with_relaxng: Creating 
RNG parser context
crm_simulate[9934]: 2013/07/29_10:24:54 debug: cib_file_signon: crm_simulate: 
Opened connection to local file '/var/lib/heartbeat/crm/shadow.9934'
crm_simulate[9934]: 2013/07/29_10:24:54 info: cib_file_perform_op_delegate: 
cib_query on (null)
crm_simulate[9934]: 2013/07/29_10:24:54 info: unpack_config: Startup probes: 
enabled
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: STONITH timeout: 
60000
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: STONITH of failed 
nodes is enabled
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: Stop all active 
resources: false
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: Cluster is 
symmetric - resources can run anywhere by default
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: Default 
stickiness: 0
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: On loss of CCM 
Quorum: Stop ALL resources
crm_simulate[9934]: 2013/07/29_10:24:54 info: unpack_config: Node scores: 'red' 
= -INFINITY, 'yellow' = 0, 'green' = 0
crm_simulate[9934]: 2013/07/29_10:24:54 WARN: cluster_status: We do not have 
quorum - fencing and resource management disabled
crm_simulate[9934]: 2013/07/29_10:24:54 info: unpack_domains: Unpacking domains
crm_simulate[9934]: 2013/07/29_10:24:54 ERROR: unpack_resources: Resource 
start-up disabled since no STONITH resources have been defined
crm_simulate[9934]: 2013/07/29_10:24:54 ERROR: unpack_resources: Either 
configure some or disable STONITH with the stonith-enabled option
crm_simulate[9934]: 2013/07/29_10:24:54 ERROR: unpack_resources: NOTE: Clusters 
with shared data need STONITH to ensure data integrity
crm_simulate[9934]: 2013/07/29_10:24:54 info: determine_online_status: Node 
jupiter is online

Current cluster status:
Online: [ jupiter ]


crm_simulate[9934]: 2013/07/29_10:24:54 info: set_graph_functions: Setting 
custom graph functions

Executing cluster transition:
crm_simulate[9934]: 2013/07/29_10:24:54 info: unpack_graph: Unpacked transition 
0: 0 actions in 0 synapses
crm_simulate[9934]: 2013/07/29_10:24:54 info: run_graph: 
====================================================
crm_simulate[9934]: 2013/07/29_10:24:54 notice: run_graph: Transition 0 
(Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0, Source=crm_simulate): 
Complete
crm_simulate[9934]: 2013/07/29_10:24:54 info: cib_file_perform_op_delegate: 
cib_query on (null)

Revised cluster status:
crm_simulate[9934]: 2013/07/29_10:24:54 info: unpack_config: Startup probes: 
enabled
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: STONITH timeout: 
60000
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: STONITH of failed 
nodes is enabled
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: Stop all active 
resources: false
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: Cluster is 
symmetric - resources can run anywhere by default
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: Default 
stickiness: 0
crm_simulate[9934]: 2013/07/29_10:24:54 debug: unpack_config: On loss of CCM 
Quorum: Stop ALL resources
crm_simulate[9934]: 2013/07/29_10:24:54 info: unpack_config: Node scores: 'red' 
= -INFINITY, 'yellow' = 0, 'green' = 0
crm_simulate[9934]: 2013/07/29_10:24:54 WARN: cluster_status: We do not have 
quorum - fencing and resource management disabled
crm_simulate[9934]: 2013/07/29_10:24:54 info: unpack_domains: Unpacking domains
crm_simulate[9934]: 2013/07/29_10:24:54 ERROR: unpack_resources: Resource 
start-up disabled since no STONITH resources have been defined
crm_simulate[9934]: 2013/07/29_10:24:54 ERROR: unpack_resources: Either 
configure some or disable STONITH with the stonith-enabled option
crm_simulate[9934]: 2013/07/29_10:24:54 ERROR: unpack_resources: NOTE: Clusters 
with shared data need STONITH to ensure data integrity
crm_simulate[9934]: 2013/07/29_10:24:54 info: determine_online_status: Node 
jupiter is online
Online: [ jupiter ]


crm_simulate[9934]: 2013/07/29_10:24:54 debug: cib_file_signoff: Signing out of 
the CIB Service
crm_simulate[9934]: 2013/07/29_10:24:54 info: cib_file_signoff: Wrote CIB to 
/var/lib/heartbeat/crm/shadow.9934
crm_simulate[9934]: 2013/07/29_10:24:54 info: crm_xml_cleanup: Cleaning up 
memory from libxml2
# dpkg -l | egrep "pacemaker|libcib"
ii  libcib1                              1.1.6-2ubuntu3.1                    
Pacemaker libraries - CIB
ii  pacemaker                            1.1.6-2ubuntu3.1                    HA 
cluster resource manager

** Tags removed: verification-failed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to pacemaker in Ubuntu.
https://bugs.launchpad.net/bugs/1057651

Title:
  [SRU] crm_simulate segfaults

Status in “pacemaker” package in Ubuntu:
  Fix Released
Status in “pacemaker” source package in Precise:
  Fix Committed

Bug description:
  [Impact]

  Low to Medium impact. crm_simulate is used to simulate changes that
  will be introduced to the cluster. Not being able to use means one
  can't check if upcoming changes will break anything.

  [Test Case]

  $ sudo apt-get install pacemaker
  $ sudo crm_simulate -L

  With current precise packages, this will cause segfault.

  [Regression potential]

  This is an upstream commit that's part of the package in Raring and
  Saucy. By looking at the code, this shouldn't introduce any regression
  at all.

  
  Original report:

  lsb_release -a
  No LSB modules are available.
  Distributor ID:       Ubuntu
  Description:  Ubuntu 12.04.1 LTS
  Release:      12.04
  Codename:     precise

  pacemaker:
    Installed: 1.1.6-2ubuntu3
    Candidate: 1.1.6-2ubuntu3
    Version table:
   *** 1.1.6-2ubuntu3 0
          500 http://pt.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
          100 /var/lib/dpkg/status

  Using crm_simulate -SL would, according to the manpage, simulate the
  transition's execution and display the resulting cluster status.

  Instead, I get the following:
  # crm_simulate -SL
  Segmentation fault (core dumped)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1057651/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to