Bug 2230441 - cluster should be checked to be quorate and resources running after the role is finished green
Summary: cluster should be checked to be quorate and resources running after the role ...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: CS System Management SST QE
URL:
Whiteboard: role:ha_cluster
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-09 12:49 UTC by michal novacek
Modified: 2023-08-10 01:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-165093 0 None None None 2023-08-09 12:51:04 UTC

Description michal novacek 2023-08-09 12:49:40 UTC
Description of problem:

As I understood running system roles is for most of the components only setting things up without verifying them.

Running rhel-system-roles.ha_cluster seems to be different because it makes no sense for most thing  to setting it up without cluster being running. My expectation would be that after running the role which ends green the cluster would be in a good state. 

Good state is when all the configure resources are in the desired (running?) state and the cluster is quorate.

This is especially painful as the role takes long time to run.


How reproducible: always


Steps to Reproduce:
1. run the role with correct configuration that is "wrong" for example incorrect fencing ips


Actual results: role finishing with green status but fencing not running 


Expected results: role finishing with green status only when cluster quorate and resources in desired (running?) state, red otherwise


Additional info:

This could be probably made optional to not break current workflow. 

It would probably useful to make resource/stonith/cluster quorate conditions separately selective.


Note You need to log in before you can comment on or make changes to this bug.