Hi Yuko,
It is reporting that the entity has a duplicate entry and unable to perform the action due to that duplication.

For example, if you use REST api to create an affinity group , by passing a VM id under <vms> more than once :

...
<vms>
<vm id="1b0a1ceb-525c-4a12-afee-907c99fac106" />
<vm id="1b0a1ceb-525c-4a12-afee-907c99fac106" />
 </vms>
...

you will get an error due to that duplication (same goes for hosts).

Regards,
Yanir Quinn

On Mon, Jan 16, 2017 at 2:59 PM, Yaniv Dary <ydary@redhat.com> wrote:
Also adding Yanir.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
        8272306
Email: ydary@redhat.com
IRC : ydary

On Sat, Jan 14, 2017 at 9:10 AM, Yuko Katabami <ykatabam@redhat.com> wrote:
Thank you Martin Perina.

@Martin Sivak, 
Thank you in advance. 
Looking forward to your reply.

Kind regards,

Yuko

On Fri, Jan 13, 2017 at 3:39 PM, Martin Perina <mperina@redhat.com> wrote:
Adding Martin, as it's related to affinity groups.

On Fri, Jan 13, 2017 at 2:03 AM, Yuko Katabami <ykatabam@redhat.com> wrote:
Hello oVirt developers.

Could anyone help with the following question?

File: AppErrors
Resource ID: ACTION_TYPE_FAILED_DUPLICATE_ENTITY_IN_AFFINITY_GROUP
String: Cannot ${action} ${type}. Duplicate ${entity}.
Question: Is "Duplicate" used as verb or adjective? 
Is it asking user to duplicate the entity, or reporting that the entity is duplicated, and unable to perform the action?

​Thank you,

Yuko​


_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel



_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel