Fail to add MailTo resource for Clone Set with error "is not a group"
Issue
- Fail to add
MailTo
resource for Clone Set with error below
# pcs resource create MailTo-res MailTo email=test@demo.com,dev@demo.com subject="MainTo-NOTIFICATION" --group cloneset-name
Assumed agent name 'ocf:heartbeat:MailTo' (deduced from 'MailTo')
Error: 'cloneset-name' is not a group
Error: Errors have occurred, therefore pcs is unable to continue
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.