Bug 1105062

Summary: Creating a large amount of resources via CLI and/or REST fails
Product: [Other] RHQ Project Reporter: Jan Bednarik <jbednari>
Component: Core ServerAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.11CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Script creates and imports 1000 PortService resources to the server's inventory. none

Description Jan Bednarik 2014-06-05 10:11:33 UTC
Created attachment 902478 [details]
Script creates and imports 1000 PortService resources to the server's inventory.

Description of problem:
When I try to automatically create a large amount of resources using script communicating through either CLI or REST API, the executiuon fails with the exception (see below). The problems occurs unpredictably after a few tens or a few hundreds resources are successfully created and sometimes the server even manages to import all of the resources (my objective was to create 1000 resources).

Version-Release number of selected component (if applicable):
RHQ 4.11

How reproducible:
most of the times

Steps to Reproduce:
1. Try to create ~1000 resources using CLI or REST.
2. Observe the server's log
3.

Actual results:
Not all of the resources are created and the script execution ends with the exception.

Expected results:
All of the required resources are successfully created.

Additional info:
Exception captured while using CLI: http://pastebin.test.redhat.com/213459
Exception captured while using REST: http://pastebin.test.redhat.com/213460