[ClusterLabs] Antw: [EXT] VirtualDomain stop operation traced - but nothing appears in /var/lib/heartbeat/trace_ra/
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Wed Sep 30 03:47:39 EDT 2020
Hi!
Just two notes:
1) SLES12 SP5 (pacemaker-1.1.23) ist current.
2) There isn't very much debug logging in
/usr/lib/ocf/resource.d/heartbeat/VirtualDomain
Maybe add a "set -x" at the second line of the RA, or call ocf-tester for the
resource (while the cluster isn't managing it, of course)
Regards,
Ulrich
>>> "Lentes, Bernd" <bernd.lentes at helmholtz-muenchen.de> schrieb am 28.09.2020
um
21:43 in Nachricht
<1222541248.13178176.1601322201106.JavaMail.zimbra at helmholtz-muenchen.de>:
> 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/
More information about the Users
mailing list