Fwd: Manual add from CLI lead to duplicate resources
Jay Shaughnessy
jshaughn at redhat.com
Mon Feb 17 20:39:00 UTC 2014
That seems pretty strange. Did you end up with 800 resources (the
number I see in the script) and you're missing some, or did you get more
than 800; the expected resources plus duplicates? Duplicates, of
course, should not happen. It is disallowed to have the same resource
key multiple times under the same parent. So, this could be a serious
issue.
Any interesting agent log messages?
When the script completes are the duplicates only in the server
inventory, or also on the agent?
On 2/14/2014 3:05 AM, Thomas Segismont wrote:
> 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
>
>
>
>
>
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/rhq-devel/attachments/20140217/543f87d4/attachment.html>
More information about the rhq-devel
mailing list