Bug 735810
Summary: | SystemManagerRemote.setSystemConfiguration can invalidate the internal cache of system settings | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Lukas Krejci <lkrejci> |
Component: | Core Server | Assignee: | RHQ Project Maintainer <rhq-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.1 | CC: | hrupp, skondkar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-07 19:27:37 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: | 625146 |
Description
Lukas Krejci
2011-09-05 14:25:17 UTC
commit 72430377515c26d205d7664485fcb69d19db14e4 Author: Lukas Krejci <lkrejci> Date: Fri Sep 9 16:25:55 2011 +0200 BZ-735810 - make sure to reload the system config cache after its update. Verified on build#449 (Version: 4.1.0-SNAPSHOT Build Number: 4d56f0b) Created a user and assigned MANAGE_SETTINGS privileges to the user. Logged in to the CLI with the user. Below are the steps followed. var props = SystemManager.systemConfiguration; pretty.print(props.get("CAM_BASE_URL")); //prints out the URL of the server props.remove("CAM_BASE_URL"); SystemManager.setSystemConfiguration(props, false); props = SystemManager.systemConfiguration; pretty.print(props.get("CAM_BASE_URL")); //prints the URL of the server //.... wait a couple of minutes props = SystemManager.systemConfiguration; pretty.print(props.get("CAM_BASE_URL")); //prints the URL again changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE |