[Linux-HA] resource's from /etc/init.d won't start

Jan Lenaerts wetenschapper at gmail.com
Wed Oct 5 06:10:32 MDT 2005


hello,

when I configure a few IPaddr recources they start without a problem, but
when I configure any resource from the /etc/init.d/ dir(apache2, samba,
bind) the logs always repeat the same warnings. Can you guys please look at
it, cause I have no idea how to fix this.
how i config a IPaddr:
<primitive class="ocf" id="IPaddr_2" provider="heartbeat" type="IPaddr">
<operations>
<op id="1" interval="5s" name="monitor" timeout="5s"/>
</operations>
<instance_attributes>
<attributes>
<nvpair name="ip" value="10.0.200.32 <http://10.0.200.32>"/>
<nvpair name="netmask" value="16"/>
<nvpair name="nic" value="eth0"/>
</attributes>
</instance_attributes>
</primitive>
how I config a resource from the init.d
<primitive id="IPaddr_Apache" class="ocf" type="apache2"/>

the a part out logs:
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(stages.c:stage8):
Creating transition graph 13.
Sep 28 15:13:23 localhost crmd: [29788]: info: mask(
fsa.c:do_state_transition): State transition S_POLICY_ENGINE ->
S_TRANSITION_ENGINE [ input=I_PE_SUCCESS cause=C_IPC_MESSAGE
origin=do_msg_route ]
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(unpack.c:unpack_graph):
Beginning transition 13 : timeout set to 120000ms
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(unpack.c:unpack_graph):
Unpacked 5 actions in 5 synapses
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(
tengine.c:initiate_transition): Initating transition
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(
tengine.c:initiate_action): Executing pseudo-event (9): stop on (null)Sep 28
15:13:23 localhost tengine: [29795]: info: mask(tengine.c:cib_action_updated):
Initiating action 4: stop groupid:IPaddr_Apache on vmsteven
Sep 28 15:13:23 localhost crmd: [29788]: info: mask(lrm.c:do_lrm_rsc_op):
Performing op stop on groupid:IPaddr_Apache
Sep 28 15:13:23 localhost lrmd: [29787]: WARN: mapped the invalid return
code 151.
Sep 28 15:13:23 localhost cib: [29785]: WARN: mask(io.c:initializeCib):
Option suppress_cib_writes not set
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(
tengine.c:match_graph_event): Action groupid:IPaddr_Apache_stop_0 on
cfb0149c-8f35-417d-8abf-bda22c14d7f7 failed: ERROR
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:send_complete):
13 - Transition status: Aborted by failed action: Action failed
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_state):
Synapse 0 was confirmed
Sep 28 15:13:23 localhost crmd: [29788]: info: mask(
fsa.c:do_state_transition): State transition S_TRANSITION_ENGINE ->
S_POLICY_ENGINE [ input=I_PE_CALC cause=C_IPC_MESSAGE origin=do_msg_route ]
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_state):
Synapse 1 is pending
Sep 28 15:13:23 localhost crmd: [29788]: info: mask(
fsa.c:do_state_transition): All 1 cluster nodes are eligable to run
resources.
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_action):
^I[Action 10] Pending (cannot fail)
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_action):
^I^IPseudo Op: stopped
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <pseudo_event id="10" rsc_id="groupid" operation="stopped"
operation_key="groupid_stopped_0" allow_fail="false">
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <attributes/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: </pseudo_event>
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_input):
^I[Input 5] Pending (rsc)
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_input):
^I^I^IRaw input: <rsc_op id="5" rsc_id="groupid:IPaddr_1" operation="stop"
operation_key="groupid:IPaddr_1_stop_0" on_node="vmsteven"
on_node_uuid="cfb0149c-8f35-417d-8abf-bda22c14d7f7" allow_fail="false"/>
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_state):
Synapse 2 is pending
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_action):
^I[Action 5] Pending (cannot fail)
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_action):
^I^IResource Op: groupid:IPaddr_1/stop on vmsteven
(cfb0149c-8f35-417d-8abf-bda22c14d7f7)
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <rsc_op id="5" rsc_id="groupid:IPaddr_1" operation="stop"
operation_key="groupid:IPaddr_1_stop_0" on_node="vmsteven"
on_node_uuid="cfb0149c-8f35-417d-8abf-bda22c14d7f7" allow_fail="false">
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <primitive class="ocf" id="groupid:IPaddr_1"
provider="heartbeat" type="IPaddr"/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <attributes>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <nvpair name="ip" value="10.0.200.30 <http://10.0.200.30>
"/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <nvpair name="netmask" value="16"/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <nvpair name="nic" value="eth0"/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: </attributes>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: </rsc_op>
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_input):
^I[Input 6] Pending (rsc)
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_input):
^I^I^IRaw input: <rsc_op id="6" rsc_id="groupid:IPaddr_2" operation="stop"
operation_key="groupid:IPaddr_2_stop_0" on_node="vmsteven"
on_node_uuid="cfb0149c-8f35-417d-8abf-bda22c14d7f7" allow_fail="false"/>
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_state):
Synapse 3 is pending
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_action):
^I[Action 6] Pending (cannot fail)
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_action):
^I^IResource Op: groupid:IPaddr_2/stop on vmsteven
(cfb0149c-8f35-417d-8abf-bda22c14d7f7)
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <rsc_op id="6" rsc_id="groupid:IPaddr_2" operation="stop"
operation_key="groupid:IPaddr_2_stop_0" on_node="vmsteven"
on_node_uuid="cfb0149c-8f35-417d-8abf-bda22c14d7f7" allow_fail="false">
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <primitive class="ocf" id="groupid:IPaddr_2"
provider="heartbeat" type="IPaddr"/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <attributes>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <nvpair name="ip" value="10.0.200.32 <http://10.0.200.32>
"/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <nvpair name="netmask" value="16"/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: <nvpair name="nic" value="eth0"/>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: </attributes>
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_action):
^I^I^IRaw action: </rsc_op>
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_input):
^I[Input 4] Pending (rsc)
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(print_input):
^I^I^IRaw input: <rsc_op id="4" rsc_id="groupid:IPaddr_Apache"
operation="stop" operation_key="groupid:IPaddr_Apache_stop_0"
on_node="vmsteven" on_node_uuid="cfb0149c-8f35-417d-8abf-bda22c14d7f7"
allow_fail="false"/>
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_state):
Synapse 4 was executed
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_action):
^I[Action 4] Completed (cannot fail)
Sep 28 15:13:23 localhost tengine: [29795]: WARN: mask(utils.c:print_action):
^I^IResource Op: groupid:IPaddr_Apache/stop on vmsteven
(cfb0149c-8f35-417d-8abf-bda22c14d7f7)
Sep 28 15:13:23 localhost tengine: [29795]: info: mask(process_graph_event):
Event failed <lrm_rsc_op
transition_key="13:7d1f5b75-7dd4-4e81-9b53-7f52eb86ffaf"
transition_magic="4:13:7d1f5b75-7dd4-4e81-9b53-7f52eb86ffaf" call_id="19"
id="groupid:IPaddr_Apache_stop_0"/>
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(process_pe_message):
[generation] <cib generated="true" admin_epoch="0" epoch="2"
num_updates="477" have_quorum="true" num_peers="1" origin="vmsteven"
cib_feature_revision="1" last_written="Wed Sep 28 15:13:23 2005"
dc_uuid="cfb0149c-8f35-417d-8abf-bda22c14d7f7" debug_source="finalize_join"
ccm_transition="1"/>
Sep 28 15:13:23 localhost pengine: [29796]: WARN: mask(unpack.c:param_value):
Option default_resource_stickiness not set
Sep 28 15:13:23 localhost pengine: [29796]: WARN: mask(unpack.c:param_value):
Option stonith_enabled not set
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(
unpack.c:unpack_config): STONITH of failed nodes is disabled
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(
unpack.c:unpack_config): Cluster is symmetric - resources can run anywhere
by default
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(
unpack.c:unpack_config): On loss of CCM Quorum: Stop ALL resources
Sep 28 15:13:23 localhost pengine: [29796]: WARN: mask(
unpack.c:unpack_rsc_op): Handling failed start for groupid:IPaddr_Apache on
vmsteven
Sep 28 15:13:23 localhost pengine: [29796]: WARN: mask(
unpack.c:unpack_rsc_op): Handling failed stop for groupid:IPaddr_Apache on
vmsteven
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(
native.c:native_create_actions): Stop resource groupid:IPaddr_1^I(vmsteven)
Sep 28 15:13:23 localhost pengine: [29796]: WARN: mask(
native.c:create_recurring_actions): groupid:IPaddr_1_monitor_5000:^I(<null>)
(cancelled : start un-runnable)
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(
native.c:native_create_actions): Stop resource groupid:IPaddr_2^I(vmsteven)
Sep 28 15:13:23 localhost pengine: [29796]: WARN: mask(
native.c:create_recurring_actions): groupid:IPaddr_2_monitor_5000:^I(<null>)
(cancelled : start un-runnable)
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(
native.c:native_create_actions): Stop resource
groupid:IPaddr_Apache^I(vmsteven)
Sep 28 15:13:23 localhost pengine: [29796]: info: mask(stages.c:stage8):
Creating transition graph 14.

and it creates lots of those transition graph's......

btw what are those Synapse's?

some notes:
- I use the heartbeat-2.0.2 deb package on debian 2.6.8-2-386
- I use a group in the cib.xml config

Thanks in advance !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux-ha.org/pipermail/linux-ha/attachments/20051005/89cd8525/attachment.html>


More information about the Linux-HA mailing list