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

lejeczek peljasz at yahoo.co.uk
Sat Dec 11 08:49:28 EST 2021



On 10/12/2021 21:17, Ken Gaillot wrote:
> 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?
I have already shown the config for there resource. Is there 
not?
>> -> $ 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.



More information about the Users mailing list