Bug 984433
| Summary: | rhqctl --install fails with : /var/lib/rhq/storage/commitlog does not exist | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Libor Zoubek <lzoubek> |
| Component: | Installer | Assignee: | John Sanda <jsanda> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.9 | CC: | hrupp, jsanda, theute |
| Target Milestone: | --- | ||
| Target Release: | RHQ 4.9 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-24 19:09:11 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: | |||
I reverted the code that caused this regression. The fix should be in build 2422 of the rhq-master Jenkins job. master commit hash: 68d4c3d2c3c Bulk closing of RHQ 4.9 verified items |
Description of problem: Since Jul 11, 2013 rhqctl fails to install Version-Release number of selected component (if applicable): RHQ 4.9-master build How reproducible:always Steps to Reproduce: 1. chown /var/lib/rhq to current user, clean it up and run ./rhqctl --install Actual results: 04:38:37,834 INFO [org.rhq.storage.installer.StorageInstaller] Running RHQ Storage Node installer... Exception in thread "main" java.lang.IllegalArgumentException: /var/lib/rhq/storage/commitlog does not exist at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2053) at org.rhq.storage.installer.StorageInstaller.isDirectoryEmpty(StorageInstaller.java:453) at org.rhq.storage.installer.StorageInstaller.run(StorageInstaller.java:311) at org.rhq.storage.installer.StorageInstaller.main(StorageInstaller.java:747) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jboss.modules.Module.run(Module.java:262) at org.jboss.modules.Main.main(Main.java:329) If I create /var/lib/rhq/storage/commitlog installer fails on /var/lib/rhq/storage/data does not exist Expected results: it is able to install cassandra to empty directory Additional info: