[ClusterLabs] VirtualDomain stop operation traced - but nothing appears in /var/lib/heartbeat/trace_ra/

Vladislav Bogdanov bubble at hoster-ok.com
Wed Sep 30 13:24:23 EDT 2020


Hi

Try to enable trace_ra for start op.

On September 28, 2020 10:50:19 PM "Lentes, Bernd" 
<bernd.lentes at helmholtz-muenchen.de> wrote:

> Hi,
>
> currently i have a VirtualDomains resource which sometimes fails to stop.
> To investigate further i'm tracing the stop operation of this resource.
> But although i stopped it already now several times, nothing appears in 
> /var/lib/heartbeat/trace_ra/.
>
> This is my config:
> primitive vm_amok VirtualDomain \
>        params config="/mnt/share/vm_amok.xml" \
>        params hypervisor="qemu:///system" \
>        params migration_transport=ssh \
>        params migrate_options="--p2p --tunnelled" \
>        op start interval=0 timeout=120 \
>        op monitor interval=30 timeout=25 \
>        op migrate_from interval=0 timeout=300 \
>        op migrate_to interval=0 timeout=300 \
>        op stop interval=0 timeout=180 \
>        op_params trace_ra=1 \
>        meta allow-migrate=true target-role=Started is-managed=true maintenance=false \
>
> <primitive id="vm_amok" class="ocf" provider="heartbeat" type="VirtualDomain">
>        <instance_attributes id="vm_amok-instance_attributes">
>          <nvpair name="config" value="/mnt/share/vm_amok.xml" 
>          id="vm_amok-instance_attributes-config"/>
>        </instance_attributes>
>        <instance_attributes id="vm_amok-instance_attributes-0">
>          <nvpair name="hypervisor" value="qemu:///system" 
>          id="vm_amok-instance_attributes-0-hypervisor"/>
>        </instance_attributes>
>        <instance_attributes id="vm_amok-instance_attributes-1">
>          <nvpair name="migration_transport" value="ssh" 
>          id="vm_amok-instance_attributes-1-migration_transport"/>
>        </instance_attributes>
>        <instance_attributes id="vm_amok-instance_attributes-2">
>          <nvpair name="migrate_options" value="--p2p --tunnelled" 
>          id="vm_amok-instance_attributes-2-migrate_options"/>
>        </instance_attributes>
>        <operations>
>          <op name="start" interval="0" timeout="120" id="vm_amok-start-0"/>
>          <op name="monitor" interval="30" timeout="25" id="vm_amok-monitor-30"/>
>          <op name="migrate_from" interval="0" timeout="300" 
>          id="vm_amok-migrate_from-0"/>
>          <op name="migrate_to" interval="0" timeout="300" id="vm_amok-migrate_to-0"/>
>          <op name="stop" interval="0" timeout="180" id="vm_amok-stop-0">
>            <instance_attributes id="vm_amok-stop-0-instance_attributes">
>              <nvpair name="trace_ra" value="1" 
>              id="vm_amok-stop-0-instance_attributes-trace_ra"/>
>            </instance_attributes>
>          </op>
>        </operations>
>
> Any ideas ?
> SLES 12 SP4, pacemaker-1.1.19+20181105.ccd6b5b10-3.13.1.x86_64
>
> Bernd
>
> --
>
> Bernd Lentes
> Systemadministration
> Institute for Metabolism and Cell Death (MCD)
> Building 25 - office 122
> HelmholtzZentrum München
> bernd.lentes at helmholtz-muenchen.de
> phone: +49 89 3187 1241
> phone: +49 89 3187 3827
> fax: +49 89 3187 2294
> http://www.helmholtz-muenchen.de/mcd
>
> stay healthy
> Helmholtz Zentrum München
>
> Helmholtz Zentrum München
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20200930/1aceac92/attachment.htm>


More information about the Users mailing list