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

lejeczek peljasz at yahoo.co.uk
Sat Feb 20 04:35:33 EST 2021



On 19/02/2021 19:50, Ken Gaillot wrote:
> On Fri, 2021-02-19 at 19:13 +0000, lejeczek wrote:
>> Hi guys.
>>
>> I wonder if there is presently a way to create systemd type
>> of resources when service definition contains '@' ?
>> That is is a common practice I'm sure you know, where you
>> can have systemd services 'per-config' . eg. openvpn-clien@
>> I get:
>> ...
>> Error: invalid resource name 'openvpn-client at me', '@' is not
>> a valid character for a resource name
>> ...
>>
>> If this is not possible with stable current binaries and
>> work-around does not exist - would that be something @devel
>> could look into perhaps and "fix" in near future ?
>>
>> many thanks, L
> What was the command you used that gave that error message?
>
> FYI a similar issue was fixed a while back for "crm_resource --show-
> metadata".
-> $ 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.

pcs-0.10.6-4.el8.x86_64
pacemaker-2.0.4-6.el8_3.1.x86_64


More information about the Users mailing list