Bug 1212495
| Summary: | Solaris10-Error in server log after Generate JDR Report operation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Sunil Kondkar <skondkar> | ||||
| Component: | Core Server | Assignee: | Josejulio Martínez <jmartine> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Sunil Kondkar <skondkar> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | JON 3.3.2 | CC: | fbrychta, jmartine, skondkar, spinder | ||||
| Target Milestone: | ER01 | Keywords: | Triaged | ||||
| Target Release: | JON 3.3.6 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Solaris | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-07-27 15:29:51 UTC | 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: |
|
||||||
Created attachment 1045532 [details]
Server Log
Attaching the server log.
Tested on Solaris 10 Version : 3.3.0.GA Update 05 Build Number : 4242930:1c9f74b The error in server log still appears after 'Generate JDR Report' operation. (Report is generated and operation is successful) -------------------- 18:23:54,905 ERROR [org.rhq.enterprise.server.plugins.jdr.JdrServerPluginComponent] (Thread-168) Unable to set file permissions: java.io.IOException: Cannot run program "chmod": error=12, Not enough space ------------------------------ There is enough disk space available on the environment. Tried below commands: # df -h /export/home Filesystem size used avail capacity Mounted on /dev/dsk/c0d0s7 20G 4.4G 16G 23% /export/home ---------------------------------- # vmstat kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr cd s0 -- -- in sy cs us sy id 0 0 0 2800296 2781640 43 198 51 8 8 0 36 12 -0 0 0 340 1371 365 3 4 93 commit fd98d0e6b58d3386e8367045fdef98b7452dcb6a
Merge: 471fe45 2c2e953
Author: Michael Burman <yak>
Date: Fri Jun 3 15:43:34 2016 +0300
Merge pull request #262 from josejulio/bugs/1212495
Bug 1212495 - Solaris10-Error in server log after Generate JDR Report…
commit 2c2e953e49a62b1229b11f75c2e965d067ed4b59
Author: Josejulio Martínez <jmartine>
Date: Tue May 31 10:53:46 2016 -0500
Bug 1212495 - Solaris10-Error in server log after Generate JDR Report operation
Removes the fork to avoid low swap memory conditions.
Moving to ON_QA as available to test with the following build: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=502442 Note: jon-server-patch-3.3.0.GA.zip maps to JON 3.3.6(jon-server-3.3.0.GA-update-06.zip) Verified on Version :3.3.0.GA Update 06 Build Number : 9b78bcc:48b5662 There are no errors in server log after Generate JDR Report operation. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2016-1519.html |
Description of problem: After scheduling Generate JDR Report operation at JDR resource, the operation is successful and the report is generated. However, the server.log displays below error: 16:47:47,406 ERROR [org.rhq.enterprise.server.plugins.jdr.JdrServerPluginComponent] (Thread-198) Unable to set file permissions: java.io.IOException: Cannot run program "chmod": error=12, Not enough space at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041) [rt.jar:1.7.0_60] at java.lang.Runtime.exec(Runtime.java:617) [rt.jar:1.7.0_60] at java.lang.Runtime.exec(Runtime.java:450) [rt.jar:1.7.0_60] at java.lang.Runtime.exec(Runtime.java:347) [rt.jar:1.7.0_60] at org.rhq.enterprise.server.plugins.jdr.JdrServerPluginComponent.writeAccessToken(JdrServerPluginComponent.java:95) [rhq-serverplugin-jdr-4.12.0.JON330GA.jar:4.12.0.JON330GA] at org.rhq.enterprise.server.plugins.jdr.JdrServerPluginComponent.setAccessToken(JdrServerPluginComponent.java:67) [rhq-serverplugin-jdr-4.12.0.JON330GA.jar:4.12.0.JON330GA] at org.rhq.enterprise.server.plugins.jdr.JdrServerPluginComponent.access$500(JdrServerPluginComponent.java:46) [rhq-serverplugin-jdr-4.12.0.JON330GA.jar:4.12.0.JON330GA] at org.rhq.enterprise.server.plugins.jdr.JdrServerPluginComponent$1.run(JdrServerPluginComponent.java:131) [rhq-serverplugin-jdr-4.12.0.JON330GA.jar:4.12.0.JON330GA] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60] Caused by: java.io.IOException: error=12, Not enough space at java.lang.UNIXProcess.forkAndExec(Native Method) [rt.jar:1.7.0_60] at java.lang.UNIXProcess.<init>(UNIXProcess.java:136) [rt.jar:1.7.0_60] at java.lang.ProcessImpl.start(ProcessImpl.java:130) [rt.jar:1.7.0_60] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022) [rt.jar:1.7.0_60] ... 8 more Version-Release number of selected component (if applicable): Version : 3.3.0.GA Update 02 Build Number :0b1f2c5:9451566 Environment details: # uname -a SunOS solaris10 5.10 Generic_147148-26 i86pc i386 i86pc # isainfo -kv 64-bit amd64 kernel modules How reproducible: Always Steps to Reproduce: -Install JBoss ON 3.3GA -Update to JBoss ON 3.3.2 ER01 -Navigate to RHQ-Server resource->Subsystems->jdr -in Operations tab, schedule Generate JDR Report operation -The operation is successful and report is generated. -The server log display error. Actual results: Error in server log after Generate JDR Report operation. Expected results: No error in server log. Additional info: The same error is visible in server.log after ./rhqctl start