Have you been mixing pcs and crmsh again? :-)
The interesting part is how the dup got in there in the first place.

Can you remove both settings and try to recreate that step?

On 20 Feb 2014, at 9:39 am, Bob Haxo <bh...@sgi.com> wrote:

> Chris, was easy to duplicate ... I thought that I had cleared 
> the error, but that had not happened.
> 
> Bob Haxo
> 
> [root@mici-admin ~]# pcs resource disable virt
> [root@mici-admin ~]# pcs resource disable libvirtd-clone
> Error: Error performing operation: Invalid argument
> Multiple attributes match name=target-role
>  Value: Started        (id=libvirtd-clone-meta-target-role)
>  Value: Started        (id=libvirtd-clone-meta_attributes-target-role)
> 
> [root@mici-admin ~]# pcs --debug resource disable libvirtd-clone
> Running: /usr/sbin/crm_resource -r libvirtd-clone -m -p target-role -v Stopped
> Return Value: 22
> --Debug Output Start--
> Error performing operation: Invalid argument
> Multiple attributes match name=target-role
>  Value: Started        (id=libvirtd-clone-meta-target-role)
>  Value: Started        (id=libvirtd-clone-meta_attributes-target-role)
> 
> --Debug Output End--
> 
> Error: Error performing operation: Invalid argument
> Multiple attributes match name=target-role
>  Value: Started        (id=libvirtd-clone-meta-target-role)
>  Value: Started        (id=libvirtd-clone-meta_attributes-target-role)
> 
> [root@mici-admin ~]# pcs resource disable libvirtd-clone
> Error: Error performing operation: Invalid argument
> Multiple attributes match name=target-role
>  Value: Started        (id=libvirtd-clone-meta-target-role)
>  Value: Started        (id=libvirtd-clone-meta_attributes-target-role)
> 
> 
> On Wed, 2014-02-19 at 15:23 -0600, Chris Feist wrote:
>> On 02/19/2014 11:16 AM, Bob Haxo wrote:
>>> Encountered this error with pcs but not with crm.  Looks like a regex
>>> error, with the existing regex grabbing all strings starting with the
>>> string "libvirtd-clone" ...
>>> 
>>> 
>>> [root@mici-admin2 ~]# pcs resource disable libvirtd-clone
>>> Error: Error performing operation: Invalid argument
>>> Multiple attributes match name=target-role
>>>   Value: Started        (id=libvirtd-clone-meta-target-role)
>>>   Value: Started        (id=libvirtd-clone-meta_attributes-target-role)
>>> 
>>> [root@mici-admin ~]# crm resource stop libvirtd-clone
>>> 
>>> <<no error, success>>
>>> 
>>> [root@mici-admin ~]# pcs resource enable libvirtd-clone
>>> Error: Error performing operation: Invalid argument
>>> Multiple attributes match name=target-role
>>>   Value: Stopped        (id=libvirtd-clone-meta-target-role)
>>>   Value: Stopped        (id=libvirtd-clone-meta_attributes-target-role)
>>> 
>>> xml:
>>>       <clone id="libvirtd-clone">
>>>         <meta_attributes id="libvirtd-clone-meta">
>>>           <nvpair id="libvirtd-clone-meta-target-role" name="target-role" 
>>> value="Stopped"/>
>>>         <meta_attributes id="libvirtd-clone-meta_attributes">
>>>           <nvpair id="libvirtd-clone-meta_attributes-target-role" 
>>> name="target-role" value="Stopped"/>
>>> 
>>> Regards,
>>> Bob Haxo
>> 
>> Can you send the output of the following command:
>> pcs --debug resource disable libvirtd-clone
>> 
>> Thanks,
>> Chris
>>> 
>>> 
>>> _______________________________________________
>>> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>> 
>>> Project Home: http://www.clusterlabs.org
>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>>> Bugs: http://bugs.clusterlabs.org
>>> 
>> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to