<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 09/28/2017 12:03 PM, Roberto Muņoz
      Gomez wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2A1D5173379F364281423F3AB3A79C8F3889BFCE@BMEMXPA.BME.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">
        <blockquote><br>
          <br>
          <blockquote type="cite">
            <style type="text/css" id="owaParaStyle">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}</style><br>
            <blockquote>> It is common to get a "Transition aborted"
              error when try to disable<br>
              > a resource?<br>
              <br>
              Yes, "Transition aborted" is not an error (notice the log
              is at "info:"<br>
              level), just an indication that something in the
              configuration or<br>
              status changed, and requires a new transition calculation.<br>
            </blockquote>
            <br>
            <br>
            If its not an error, then why the resource is not disable
            afterwards?<br>
            The command seems to be forgotten.<br>
          </blockquote>
          <br>
          It is very well possible that there is an error.<br>
          The transition being aborted is not an error because a
          configuration<br>
          change would mean that pacemaker (pengine in particular) has
          to<br>
          reconsider the decisions made before. The calculated
          transition is<br>
          kind of a write-up was has to be done next. <br>
          The fact that the transition is being aborted makes it
          actually very<br>
          reasonable that the configuration had been updated.<br>
          <br>
          Did you check the config (like  target-role) or did you just
          see the<br>
          service still running by other means (systemctl status, ps,
          ...)?<br>
          <br>
          Possible errors that prevent a service from being stopped
          should<br>
          appear in the logs after pacemaker has calculated a new
          transition<br>
          and faces problems executing it (e.g. resource-agent having<br>
          problems to stop the resource).<br>
          <br>
        </blockquote>
        <div style="font-family: Times New Roman; color: #000000;
          font-size: 16px">
          <div><br>
            <br>
            <br>
            Maybe I miss something, this is the full log when disabling
            the resource. We have several "disable" commands at the same
            time because we need to stop the application to perform some
            End-Of-Day tasks, so in the middle of one "disable" another
            comes and then I guess the "Transtion aborted" happens.<br>
            <br>
            <br>
            Sep 25 23:50:07 [4492] vttwinformlrz1        cib:     info:
            crm_compress_string: Compressed 1106686 bytes into 72331
            (ratio
            <br>
            15:1) in 171ms<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      Diff: --- 0.18638.0 2<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      Diff: +++ 0.18639.0 (null)<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      --
/cib/configuration/resources/group[@id='ctpinet']/primitive[@id='ctpinetfh']/meta_attributes[@id='ctpinetfh-meta_attributes']<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      +  /cib:  @epoch=18639<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      ++
/cib/configuration/resources/group[@id='cmecp2']/primitive[@id='cmecp2dv']/meta_attributes[@id='cmecp2dv-meta_attributes']: 
            <nvpair id="cmecp2dv-meta_attributes-target-role"
            name="target-role" value="Stopped"/><br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_process_request: Completed cib_replace operation for
            section configuration: OK (rc=0,
            origin=vttwinformlrz1/cibadmin/2, version=0.18639.0)<br>
            Sep 25 23:50:08 [4501] vttwinformlrz1       crmd:     info:
            abort_transition_graph:      Transition aborted by deletion
            of meta_attributes[@id='ctpinetfh-meta_attributes']:
            Configuration change | cib=0.18639.0
            source=te_update_diff:456
path=/cib/configuration/resources/group[@id='ctpinet']/primitive[@id='ctpinetfh']/meta_attributes[@id='ctpinetfh-meta_attributes']
            complete=false<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            stonith_device_remove:       Device 'ctpinetfh' not found (1
            active devices)<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            update_cib_stonith_devices_v2:       Updating device list
            from the cib: create
            meta_attributes[@id='cmecp2dv-meta_attributes']<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            cib_devices_update:  Updating devices to version 0.18639.0<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            cib_device_update:   Device fence1 has been disabled on
            vttwinformlrz1: score=-INFINITY<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_process_request: Forwarding cib_replace operation for
            section configuration to all (origin=local/cibadmin/2)<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            crm_compress_string: Compressed 1106837 bytes into 72490
            (ratio 15:1) in 171ms<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      Diff: --- 0.18639.0 2<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      Diff: +++ 0.18640.0 (null)<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      --
/cib/configuration/resources/group[@id='cmecp2']/primitive[@id='cmecp2dv']/meta_attributes[@id='cmecp2dv-meta_attributes']/nvpair[@id='cmecp2dv-meta_attributes-target-role']<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      +  /cib:  @epoch=18640<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      ++
/cib/configuration/resources/group[@id='cftmd1']/primitive[@id='cftmd1s1']: 
            <meta_attributes id="cftmd1s1-meta_attributes"/><br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:     
++                                                                               
            <nvpair id="cftmd1s1-meta_attributes-target-role"
            name="target-role" value="Stopped"/><br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:     
++                                                                             
            </meta_attributes><br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      ++
/cib/configuration/resources/group[@id='cinet2']/primitive[@id='cinet2dv']/meta_attributes[@id='cinet2dv-meta_attributes']: 
            <nvpair id="cinet2dv-meta_attributes-target-role"
            name="target-role" value="Stopped"/><br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_process_request: Completed cib_replace operation for
            section configuration: OK (rc=0,
            origin=vttwinformlrz1/cibadmin/2, version=0.18640.0)<br>
            Sep 25 23:50:08 [4501] vttwinformlrz1       crmd:     info:
            abort_transition_graph:      Transition aborted by deletion
            of nvpair[@id='cmecp2dv-meta_attributes-target-role']:
            Configuration change | cib=0.18640.0
            source=te_update_diff:456
path=/cib/configuration/resources/group[@id='cmecp2']/primitive[@id='cmecp2dv']/meta_attributes[@id='cmecp2dv-meta_attributes']/nvpair[@id='cmecp2dv-meta_attributes-target-role']
            complete=false<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            stonith_device_remove:       Device 'cmecp2dv' not found (1
            active devices)<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            update_cib_stonith_devices_v2:       Updating device list
            from the cib: create primitive[@id='cftmd1s1']<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            cib_devices_update:  Updating devices to version 0.18640.0<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            cib_device_update:   Device fence1 has been disabled on
            vttwinformlrz1: score=-INFINITY<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_process_request: Forwarding cib_replace operation for
            section configuration to all (origin=local/cibadmin/2)<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            crm_compress_string: Compressed 1106885 bytes into 72394
            (ratio 15:1) in 171ms<br>
            Sep 25 23:50:08 [4497] vttwinformlrz1       lrmd:     info:
            log_finished:        finished - rsc:ctpinetibfh action:stop
            call_id:6205 pid:10248 exit-code:0 exec-time:1234ms
            queue-time:0ms<br>
            Sep 25 23:50:08 [4501] vttwinformlrz1       crmd:   notice:
            process_lrm_event:   Result of stop operation for
            ctpinetibfh on vttwinformlrz1: 0 (ok) | call=6205
            key=ctpinetibfh_stop_0 confirmed=true cib-update=24192<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      Diff: --- 0.18640.0 2<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      Diff: +++ 0.18640.1 (null)<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      +  /cib:  @num_updates=1<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_perform_op:      + 
/cib/status/node_state[@id='2']/lrm[@id='2']/lrm_resources/lrm_resource[@id='cftmd1s1']/lrm_rsc_op[@id='cftmd1s1_last_0']: 
            @operation_key=cftmd1s1_start_0, @operation=start,
            @transition-key=513:17221:0:d060d698-76d6-4a95-8f54-b0cd908aa999,
@transition-magic=0:0;513:17221:0:d060d698-76d6-4a95-8f54-b0cd908aa999,
            @call-id=10460, @last-run=1506376207,
            @last-rc-change=1506376207, @exec-time=1190<br>
            Sep 25 23:50:08 [4492] vttwinformlrz1        cib:     info:
            cib_process_request: Completed cib_modify operation for
            section status: OK (rc=0, origin=vttwinformlrz2/crmd/9922,
            version=0.18640.1)<br>
            Sep 25 23:50:08 [4501] vttwinformlrz1       crmd:     info:
            match_graph_event:   Action cftmd1s1_start_0 (513) confirmed
            on vttwinformlrz2 (rc=0)<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            update_cib_stonith_devices_v2:       Updating device list
            from the cib: modify lrm_rsc_op[@id='cftmd1s1_last_0']<br>
            Sep 25 23:50:08 [4495] vttwinformlrz1 stonith-ng:     info:
            cib_devices_update:  Updating devices to version 0.18640.1<br>
            <br>
            <br>
            <br>
            <br>
            <div><br>
              <br>
              <br>
              I noticed the service is still running because the EOD
              taks fails and the next day the program is still running
              and it should not. The forward lines in the log do not
              show anything regarding this resource, it only shows it is
              'Started'<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Well we see that the target-role is properly set to 'Stopped' in the
    CIB.<br>
    As we don't see the pengine running triggered by this config change
    I would<br>
    suppose that the logs you have attached are not from the DC where
    the<br>
    pengine would be running. (e.g. 'Current DC' shown by crm_mon)<br>
    <br>
    Regards,<br>
    Klaus<br>
    <br>
    <blockquote type="cite"
      cite="mid:2A1D5173379F364281423F3AB3A79C8F3889BFCE@BMEMXPA.BME.com">
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">
        <div style="font-family: Times New Roman; color: #000000;
          font-size: 16px">
          <div>
            <div>
              <br>
              Regards<br>
              <div style="font-family:Tahoma; font-size:13px">
                <div style="font-family:Tahoma; font-size:13px">
                  <div style="font-family:Tahoma; font-size:13px">
                    <div style="font-family:Tahoma; font-size:13px">Roberto<br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <br>
          </div>
        </div>
      </div>
      <div class="WordSection1"><br>
        <br>
        <p style="BACKGROUND: white" class="ecxmsonormal"><strong><span
              style="FONT-FAMILY: Webdings; COLOR: green; FONT-SIZE:
              18pt">P</span></strong><em><span style="FONT-FAMILY:
              'Tahoma','sans-serif'; COLOR: navy; FONT-SIZE: 5pt">
            </span></em><em><span style="FONT-FAMILY:
              'Tahoma','sans-serif'; COLOR: green; FONT-SIZE: 7.5pt">Antes
              de imprimir, piensa en el MEDIO AMBIENTE</span></em><span
            style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: #2a2a2a;
            FONT-SIZE: 10pt"><br>
          </span><span style="FONT-FAMILY: 'Verdana','sans-serif';
            COLOR: #2a2a2a; FONT-SIZE: 7.5pt"><a
              href="http://www.bolsasymercados.es/disclaimer.html"
              target="_blank" moz-do-not-send="true">AVISO
              LEGAL/DISCLAIMER</a></span></p>
      </div>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">
</pre>
  </body>
</html>