Bug 1105062 - Creating a large amount of resources via CLI and/or REST fails
Summary: Creating a large amount of resources via CLI and/or REST fails
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Core Server
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-05 10:11 UTC by Jan Bednarik
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
Script creates and imports 1000 PortService resources to the server's inventory. (1.14 KB, application/javascript)
2014-06-05 10:11 UTC, Jan Bednarik
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.