Skip to content

suse_ha: state gets stuck on quorum warning #19

@tacerus

Description

@tacerus

If the cluster is lacking quorum (i.e. only one node is active), a state.apply suse_ha gets stuck forever during the ha_add_node_utilization_primitive run. Inspecting the process list reveals the culprit to be a stuck crm process, killing it reveals:

----------
          ID: ha_add_node_utilization_primitive
    Function: cmd.run
        Name: crm configure primitive p-node-utilization ocf:pacemaker:NodeUtilization op start timeout=90 interval=0 op stop timeout=100 interval=0 op monitor timeout=20s interval=60s meta targe
t-role=Started
      Result: False
     Comment: Command "crm configure primitive p-node-utilization ocf:pacemaker:NodeUtilization op start timeout=90 interval=0 op stop timeout=100 interval=0 op monitor timeout=20s interval=60s m
eta target-role=Started" run
     Started: 14:57:35.486354
    Duration: 3748496.266 ms
     Changes:
              ----------
              pid:
                  172035
              retcode:
                  -15
              stderr:
                  ?[31mERROR?[0m: (unpack_resources)    error: Resource start-up disabled since no STONITH resources have been defined
                  ?[31mERROR?[0m: (unpack_resources)    error: Either configure some or disable STONITH with the stonith-enabled option
                  ?[31mERROR?[0m: (unpack_resources)    error: NOTE: Clusters with shared data need STONITH to ensure data integrity
                  ?[31mERROR?[0m: crm_verify: Errors found during check: config not valid
              stdout:
                  ?[33mWARNING?[0m: (cluster_status)    warning: Fencing and resource management disabled due to lack of quorum
                  Do you still want to commit (y/n)? Do you still want to commit (y/n)? Do you still want to commit (y/n)? Do you still want to commit (y/n)?

A way to have it automatically answer with "n" or an alternative non-interactive configuration call needs to be implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsuse_ha-formulaEverything related to the suse_ha formula

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions