[ClusterLabs] @ - unsupported char - bug or something to improve upon?

Tomas Jelinek tojeline at redhat.com
Mon Feb 22 03:50:51 EST 2021


Hi all,

The error message comes from pcs.

Pacemaker doesn't allow '@' to be used in a resource name. The name is 
an XML ID and those cannot contain '@' (and some other) characters. If 
pcs allowed '@' in the resource name, pacemaker would reject such a CIB. 
As long as this is the case, there's nothing to fix in pcs.

There's really no option other than replacing '@' in the resource name 
as Valentin pointed out.

Regards,
Tomas


Dne 20. 02. 21 v 11:55 Valentin Vidić napsal(a):
> On Sat, Feb 20, 2021 at 09:35:33AM +0000, lejeczek wrote:
>> -> $ pcs resource create "dropbox\@me" systemd:"dropbox\@me"
>>
>> as you can see I've been trying to escape '@' too, in various ways, to no
>> avail.
> 
> Right, but just changing the resource name should work:
> 
>    $ pcs resource create dropbox_me systemd:dropbox at me
> 



More information about the Users mailing list