When a two nodes pcs cluster is created without a stonith device the below error may appear when creating an IPaddr2 cluster resource. After the creation the resource cannot be brought online.
In order to resolve the issue stonith-enabled setting should be disabled. Afterwards the resource would become online as shown on the below screenshot.