Fail to add MailTo resource for Clone Set with error "is not a group"

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content