Bug 757178
| Summary: | Non processed IOE prevents drift report | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Heiko W. Rupp <hrupp> |
| Component: | drift | Assignee: | Heiko W. Rupp <hrupp> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.2 | CC: | jsanda, jshaughn |
| Target Milestone: | --- | ||
| Target Release: | RHQ 4.3.0, JON 3.0.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 4.3 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-07 19:21:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 752488 | ||
master b9ef6c8 release_jon3.x commit hash: 20c2bae9c4c9aa6f9127c0a9d81ebada8d4dfd23 i encountered an error verifying this BZ. https://bugzilla.redhat.com/show_bug.cgi?id=757827 could the fix for this BZ have caused 757827? reassigning to ON_QA ... 757827 was environmental (not a regression) verified jon 3 branch changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |
I am checking files in /etc/ and can not access /etc/aliases.db (as the agent user has no rights) this prevents drift detection: 2011-11-25 18:20:47,835 ERROR [pool-3-thread-1] (rhq.core.pc.drift.DriftDetector)- Drift detection failed: An error occurred while generati ng a drift change set org.rhq.core.pc.drift.DriftDetectionException: An error occurred while generating a drift change set at org.rhq.core.pc.drift.DriftDetector$1.visit(DriftDetector.java:239) at org.rhq.core.pc.drift.FilterFileVisitor.visit(FilterFileVisitor.java:136) at org.rhq.core.util.file.FileUtil.forEachFile(FileUtil.java:361) at org.rhq.core.pc.drift.DriftDetector.generateDriftChangeSet(DriftDetector.java:213) at org.rhq.core.pc.drift.DriftDetector.run(DriftDetector.java:114) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: java.io.FileNotFoundException: /etc/aliases.db (Permission denied) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at org.rhq.core.util.MessageDigestGenerator.calcDigest(MessageDigestGenerator.java:255) at org.rhq.core.util.MessageDigestGenerator.calcDigestString(MessageDigestGenerator.java:291) at org.rhq.core.pc.drift.DriftDetector.sha256(DriftDetector.java:514) at org.rhq.core.pc.drift.DriftDetector.access$200(DriftDetector.java:51) at org.rhq.core.pc.drift.DriftDetector$1.visit(DriftDetector.java:233) ... 13 more