Red Hat Bugzilla – Bug 589655
Config change detection is delayed on augeas-based resources (Regression)
Last modified: 2014-11-09 17:50:53 EST
Description of problem:
Normally, if you update an augeas configured resource on the command line, and then view the "Current" subtab of the resource's Configuration tab in RHQ, the update will be displayed immediately. That is no longer occurring, the update takes over 15 minutes to appear. This is a regression.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Take a postfix server into inventory (samba, sudoers, etc should also work - but you'll need to find and update a config key on your own)
2. On the server where postfix is running, run
echo -e "set /files/etc/postfix/main.cf/mynetworks '192.168.0.99/24'\nsave" | augtool
3. Immediately, in RHQ go to Postfix's Configuration->Current tab. Look at the value for mynetworks.
The value hasn't been updated to
After about 15-20 minutes, the value finally updates.
The value is updated to
I did check that flat-file based configurations DO still update instantly in the UI (such as a JBossAS Datasource xml configuration file).
Should check if we're seeing this on the apache plugin