[ClusterLabs] Q: Using undefined utilization
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Fri Jan 29 04:51:39 EST 2021
Hi again!
I had made a mistake: defining resource utilization with a name that doesn't exist as node capacity/utilization (mistyped it).
The effect was that the resource was stopped, but unfortunately ptest did not tell me why
("Insuffient node capacity for resource ...")
However I'd think that would be very useful.
Maybe even more: When using some utilization that is not defined at a node (mistyped) should write a warning.
As the resource affected was DLM, practically everything in the cluster was stopped due to dependencies.
Here's the output of "crm_simulate -LUs" where you can see that it's _very_ hard to guess what the problem is:
Current cluster status:
Online: [ h16 h18 h19 ]
prm_stonith_sbd (stonith:external/sbd): Started h16
Clone Set: cln_DLM [prm_DLM]
Stopped: [ h16 h18 h19 ]
Clone Set: cln_virtlockd [prm_virtlockd-sock]
Stopped: [ h16 h18 h19 ]
Clone Set: cln_lockspace_raid_md10 [prm_lockspace_raid_md10]
Stopped: [ h16 h18 h19 ]
Clone Set: cln_lockspace_ocfs2 [prm_lockspace_ocfs2]
Stopped: [ h16 h18 h19 ]
Clone Set: cln_libvirtd-ro-sock [prm_libvirtd-ro-sock]
Stopped: [ h16 h18 h19 ]
Clone Set: cln_libvirtd-tls-sock [prm_libvirtd-tls-sock]
Stopped: [ h16 h18 h19 ]
Clone Set: cln_CFS_VMI [prm_CFS_VMI]
Stopped: [ h16 h18 h19 ]
prm_cron_snap_v02 (ocf::xola:ISC-cron): Stopped
prm_cron_snap_test-jeos1 (ocf::xola:ISC-cron): Stopped
prm_cron_snap_test-jeos2 (ocf::xola:ISC-cron): Stopped
prm_cron_snap_test-jeos3 (ocf::xola:ISC-cron): Stopped
prm_cron_snap_test-jeos4 (ocf::xola:ISC-cron): Stopped
prm_cron_snap_test-jeos5 (ocf::xola:ISC-cron): Stopped
prm_xen_test-jeos1 (ocf::heartbeat:VirtualDomain): Stopped
prm_xen_test-jeos2 (ocf::heartbeat:VirtualDomain): Stopped
prm_xen_test-jeos3 (ocf::heartbeat:VirtualDomain): Stopped
prm_xen_test-jeos4 (ocf::heartbeat:VirtualDomain): Stopped
prm_xen_test-jeos5 (ocf::heartbeat:VirtualDomain): Stopped
Allocation scores and utilization information:
Original: h16 capacity: utl_ram=231712 utl_cpu=440
Original: h18 capacity: utl_ram=231712 utl_cpu=440
Original: h19 capacity: utl_ram=231712 utl_cpu=440
pcmk__native_allocate: prm_stonith_sbd allocation score on h16: 0
pcmk__native_allocate: prm_stonith_sbd allocation score on h18: 0
pcmk__native_allocate: prm_stonith_sbd allocation score on h19: 0
native_assign_node: prm_stonith_sbd utilization on h16:
pcmk__clone_allocate: cln_DLM allocation score on h16: 0
pcmk__clone_allocate: cln_DLM allocation score on h18: 0
pcmk__clone_allocate: cln_DLM allocation score on h19: 0
pcmk__clone_allocate: prm_DLM:0 allocation score on h16: 0
pcmk__clone_allocate: prm_DLM:0 allocation score on h18: 0
pcmk__clone_allocate: prm_DLM:0 allocation score on h19: 0
pcmk__clone_allocate: prm_DLM:1 allocation score on h16: 0
pcmk__clone_allocate: prm_DLM:1 allocation score on h18: 0
pcmk__clone_allocate: prm_DLM:1 allocation score on h19: 0
pcmk__clone_allocate: prm_DLM:2 allocation score on h16: 0
pcmk__clone_allocate: prm_DLM:2 allocation score on h18: 0
pcmk__clone_allocate: prm_DLM:2 allocation score on h19: 0
pcmk__native_allocate: prm_DLM:0 allocation score on h16: 0
pcmk__native_allocate: prm_DLM:0 allocation score on h18: 0
pcmk__native_allocate: prm_DLM:0 allocation score on h19: 0
pcmk__native_allocate: prm_DLM:1 allocation score on h16: 0
pcmk__native_allocate: prm_DLM:1 allocation score on h18: 0
pcmk__native_allocate: prm_DLM:1 allocation score on h19: 0
pcmk__native_allocate: prm_DLM:2 allocation score on h16: 0
pcmk__native_allocate: prm_DLM:2 allocation score on h18: 0
pcmk__native_allocate: prm_DLM:2 allocation score on h19: 0
pcmk__clone_allocate: cln_lockspace_raid_md10 allocation score on h16: 0
pcmk__clone_allocate: cln_lockspace_raid_md10 allocation score on h18: 0
pcmk__clone_allocate: cln_lockspace_raid_md10 allocation score on h19: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:0 allocation score on h16: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:0 allocation score on h18: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:0 allocation score on h19: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:1 allocation score on h16: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:1 allocation score on h18: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:1 allocation score on h19: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:2 allocation score on h16: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:2 allocation score on h18: 0
pcmk__clone_allocate: prm_lockspace_raid_md10:2 allocation score on h19: 0
pcmk__native_allocate: prm_lockspace_raid_md10:0 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_lockspace_raid_md10:0 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_lockspace_raid_md10:0 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_lockspace_raid_md10:1 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_lockspace_raid_md10:1 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_lockspace_raid_md10:1 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_lockspace_raid_md10:2 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_lockspace_raid_md10:2 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_lockspace_raid_md10:2 allocation score on h19: -INFINITY
pcmk__clone_allocate: cln_lockspace_ocfs2 allocation score on h16: 0
pcmk__clone_allocate: cln_lockspace_ocfs2 allocation score on h18: 0
pcmk__clone_allocate: cln_lockspace_ocfs2 allocation score on h19: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:0 allocation score on h16: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:0 allocation score on h18: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:0 allocation score on h19: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:1 allocation score on h16: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:1 allocation score on h18: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:1 allocation score on h19: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:2 allocation score on h16: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:2 allocation score on h18: 0
pcmk__clone_allocate: prm_lockspace_ocfs2:2 allocation score on h19: 0
pcmk__native_allocate: prm_lockspace_ocfs2:0 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_lockspace_ocfs2:0 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_lockspace_ocfs2:0 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_lockspace_ocfs2:1 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_lockspace_ocfs2:1 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_lockspace_ocfs2:1 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_lockspace_ocfs2:2 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_lockspace_ocfs2:2 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_lockspace_ocfs2:2 allocation score on h19: -INFINITY
pcmk__clone_allocate: cln_virtlockd allocation score on h16: 0
pcmk__clone_allocate: cln_virtlockd allocation score on h18: 0
pcmk__clone_allocate: cln_virtlockd allocation score on h19: 0
pcmk__clone_allocate: prm_virtlockd-sock:0 allocation score on h16: 0
pcmk__clone_allocate: prm_virtlockd-sock:0 allocation score on h18: 0
pcmk__clone_allocate: prm_virtlockd-sock:0 allocation score on h19: 0
pcmk__clone_allocate: prm_virtlockd-sock:1 allocation score on h16: 0
pcmk__clone_allocate: prm_virtlockd-sock:1 allocation score on h18: 0
pcmk__clone_allocate: prm_virtlockd-sock:1 allocation score on h19: 0
pcmk__clone_allocate: prm_virtlockd-sock:2 allocation score on h16: 0
pcmk__clone_allocate: prm_virtlockd-sock:2 allocation score on h18: 0
pcmk__clone_allocate: prm_virtlockd-sock:2 allocation score on h19: 0
pcmk__native_allocate: prm_virtlockd-sock:0 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_virtlockd-sock:0 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_virtlockd-sock:0 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_virtlockd-sock:1 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_virtlockd-sock:1 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_virtlockd-sock:1 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_virtlockd-sock:2 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_virtlockd-sock:2 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_virtlockd-sock:2 allocation score on h19: -INFINITY
pcmk__clone_allocate: cln_libvirtd-ro-sock allocation score on h16: 0
pcmk__clone_allocate: cln_libvirtd-ro-sock allocation score on h18: 0
pcmk__clone_allocate: cln_libvirtd-ro-sock allocation score on h19: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:0 allocation score on h16: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:0 allocation score on h18: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:0 allocation score on h19: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:1 allocation score on h16: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:1 allocation score on h18: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:1 allocation score on h19: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:2 allocation score on h16: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:2 allocation score on h18: 0
pcmk__clone_allocate: prm_libvirtd-ro-sock:2 allocation score on h19: 0
pcmk__native_allocate: prm_libvirtd-ro-sock:0 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_libvirtd-ro-sock:0 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_libvirtd-ro-sock:0 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_libvirtd-ro-sock:1 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_libvirtd-ro-sock:1 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_libvirtd-ro-sock:1 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_libvirtd-ro-sock:2 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_libvirtd-ro-sock:2 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_libvirtd-ro-sock:2 allocation score on h19: -INFINITY
pcmk__clone_allocate: cln_libvirtd-tls-sock allocation score on h16: 0
pcmk__clone_allocate: cln_libvirtd-tls-sock allocation score on h18: 0
pcmk__clone_allocate: cln_libvirtd-tls-sock allocation score on h19: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:0 allocation score on h16: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:0 allocation score on h18: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:0 allocation score on h19: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:1 allocation score on h16: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:1 allocation score on h18: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:1 allocation score on h19: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:2 allocation score on h16: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:2 allocation score on h18: 0
pcmk__clone_allocate: prm_libvirtd-tls-sock:2 allocation score on h19: 0
pcmk__native_allocate: prm_libvirtd-tls-sock:0 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_libvirtd-tls-sock:0 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_libvirtd-tls-sock:0 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_libvirtd-tls-sock:1 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_libvirtd-tls-sock:1 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_libvirtd-tls-sock:1 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_libvirtd-tls-sock:2 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_libvirtd-tls-sock:2 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_libvirtd-tls-sock:2 allocation score on h19: -INFINITY
pcmk__clone_allocate: cln_CFS_VMI allocation score on h16: 0
pcmk__clone_allocate: cln_CFS_VMI allocation score on h18: 0
pcmk__clone_allocate: cln_CFS_VMI allocation score on h19: 0
pcmk__clone_allocate: prm_CFS_VMI:0 allocation score on h16: 0
pcmk__clone_allocate: prm_CFS_VMI:0 allocation score on h18: 0
pcmk__clone_allocate: prm_CFS_VMI:0 allocation score on h19: 0
pcmk__clone_allocate: prm_CFS_VMI:1 allocation score on h16: 0
pcmk__clone_allocate: prm_CFS_VMI:1 allocation score on h18: 0
pcmk__clone_allocate: prm_CFS_VMI:1 allocation score on h19: 0
pcmk__clone_allocate: prm_CFS_VMI:2 allocation score on h16: 0
pcmk__clone_allocate: prm_CFS_VMI:2 allocation score on h18: 0
pcmk__clone_allocate: prm_CFS_VMI:2 allocation score on h19: 0
pcmk__native_allocate: prm_CFS_VMI:0 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_CFS_VMI:0 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_CFS_VMI:0 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_CFS_VMI:1 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_CFS_VMI:1 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_CFS_VMI:1 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_CFS_VMI:2 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_CFS_VMI:2 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_CFS_VMI:2 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_cron_snap_v02 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_cron_snap_v02 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_cron_snap_v02 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos1 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos1 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos1 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos1 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos1 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos1 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos2 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos2 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos2 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos2 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos2 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos2 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos3 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos3 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos3 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos3 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos3 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos3 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos4 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos4 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos4 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos4 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos4 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos4 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos5 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos5 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_xen_test-jeos5 allocation score on h19: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos5 allocation score on h16: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos5 allocation score on h18: -INFINITY
pcmk__native_allocate: prm_cron_snap_test-jeos5 allocation score on h19: -INFINITY
Remaining: h16 capacity: utl_ram=231712 utl_cpu=440
Remaining: h18 capacity: utl_ram=231712 utl_cpu=440
Remaining: h19 capacity: utl_ram=231712 utl_cpu=440
Regards,
Ulrich
More information about the Users
mailing list