Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1425839

Summary: [RFE] Log some sort of message around config changes
Product: OpenShift Container Platform Reporter: Eric Jones <erjones>
Component: RFEAssignee: Dan McPherson <dmcphers>
Status: CLOSED DUPLICATE QA Contact: Xiaoli Tian <xtian>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: aos-bugs, jokerman, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-22 15:02:30 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:

Description Eric Jones 2017-02-22 14:52:14 UTC
- What is the nature and description of the request? 
As an admin I require the ability to know if my config change (to master and/or node configs) was successful or not.

- Why does the customer need this? (List the business requirements here) 
It currently requires the admin to manually check the settings against our examples, like [0]
EX: I need to know why my garbage collection is not working at the values I set

[0] https://docs.openshift.com/container-platform/3.3/install_config/master_node_configuration.html#node-configuration-files

- How would the customer like to achieve this? (List the functional requirements here) 
Either:
1 put an error/warning message stating that the config contains incorrect settings, this way you can see if a setting was modified but not done correctly
2 put a warning/message when a setting is successfully changed, this way you can see that you DID usccessfully change the setting


- For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
for option 1, we could setup something like a built-in, modified, yaml lint [1] or yaml parser that could check against our defined settings

[1] https://github.com/shortdudey123/yamllint

for option 2, when the service gets started we could simply check the settings that can be defined in the config against a list of the defaults. if something is different, we then paste a message into the log that states that X setting has been set to Y.


- Is there already an existing RFE upstream or in Red Hat Bugzilla?
Not that I could Find

Comment 3 Dan McPherson 2017-02-22 15:02:30 UTC

*** This bug has been marked as a duplicate of bug 1321622 ***