Fwd: Manual add from CLI lead to duplicate resources

Thomas Segismont tsegismo at redhat.com
Fri Feb 14 08:05:48 UTC 2014


It looks like this one didn't make it through the list manager, maybe 
because of the javascript file attached. Trying again with attachments 
as a zip.

-------- Message original --------
Sujet: Manual add from CLI lead to duplicate resources
Date : Thu, 13 Feb 2014 18:42:05 +0100
De : Thomas Segismont <tsegismo at redhat.com>
Organisation : Red Hat
Pour : rhq-devel at lists.fedorahosted.org <rhq-devel at lists.fedorahosted.org>

Hi everyone,

So I'm playing with the attached script to manually import a few
thousands of "PortServices" [1].

  From time to time, resources are duplicated in inventory (see the
attached screenshots).

I'll start to look at this tomorrow but wanted to share in case it rings
a bell to somebody.

Thanks,
Thomas


[1] this is to test the fix for Bug 738799 - deleting a group alertdef
containing >1000 member alertdefs fails with "SQLException: ORA-01795:
maximum number of expressions in a list is 1000" error



-------------- next part --------------
A non-text attachment was scrubbed...
Name: duplicates.zip
Type: application/zip
Size: 75451 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20140214/10466e01/attachment-0001.zip>


More information about the rhq-devel mailing list