[ClusterLabs] VirtualDomain - started but... not really

Ken Gaillot kgaillot at redhat.com
Fri Dec 10 16:17:13 EST 2021


On Fri, 2021-12-10 at 16:33 +0000, lejeczek via Users wrote:
> Hi guys.
> 
> I quite often.. well, to frequently in my mind, see a VM 
> which cluster says:
> -> $ pcs resource status | grep -v disabled
> ...
>    * c8kubermaster2    (ocf::heartbeat:VirtualDomain): 
>   Started dzien
> ..
> 
> but that is false, also cluster itself confirms it:
> -> $ pcs resource debug-monitor c8kubermaster2
> crm_resource: Error performing operation: Not running
> Operation force-check for c8kubermaster2 
> (ocf:heartbeat:VirtualDomain) returned: 'not running' (7)
> 
> What is the issue here, might be & how best to troubleshoot it?

Is there a recurring monitor configured for the resource?

> 
> -> $ pcs resource config c8kubermaster2
>   Resource: c8kubermaster2 (class=ocf provider=heartbeat 
> type=VirtualDomain)
>    Attributes: 
> config=/var/lib/pacemaker/conf.d/c8kubermaster2.xml 
> hypervisor=qemu:///system migration_transport=ssh
>    Meta Attrs: allow-migrate=true failure-timeout=30s
>    Operations: migrate_from interval=0s timeout=180s 
> (c8kubermaster2-migrate_from-interval-0s)
>                migrate_to interval=0s timeout=180s 
> (c8kubermaster2-migrate_to-interval-0s)
>                monitor interval=30s 
> (c8kubermaster2-monitor-interval-30s)
>                start interval=0s timeout=90s 
> (c8kubermaster2-start-interval-0s)
>                stop interval=0s timeout=90s 
> (c8kubermaster2-stop-interval-0s)
> 
> many thanks, L.
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list