Description of problem: When the loglevel isn't default values (OPTIONS=--loglevel=5). The loglevel will be reset to default value event if the option debug_level=5 was set in inventory. Version-Release number of selected component (if applicable): atomic-openshift-utils-3.5.3-1.git.0.80c2436.el7.noarch How reproducible: always Steps to Reproduce: 1. set debug_level=5 in inventory 2. install OCP 3.4 3. check the system configure file /etc/sysconfig/atomic-openshift-master 4. upgrade Openshift to v3.5 5. check the system configure file /etc/sysconfig/atomic-openshift-master again Actual results: Step 3. Before upgrade: OPTIONS=--loglevel=5 Step 5. After upgrade: OPTIONS=--loglevel=2 Expected results: The upgrade playbook should only change what must be changed. it should keep the configuration Additional info:
Anping Li do you happen to have the output of the run (with facts, etc..) to match any executions I do against?
And what options did you use when doing the upgrade?
Created attachment 1248531 [details] Upgrade logs Yes, and I found TASK [Configure Node settings] ************************************************* skipping: [openshift-203.lab.eng.nay.redhat.com] => (item={u'regex': u'^OPTIONS=', u'line': u'OPTIONS=--loglevel=5'}) => { "changed": false, "item": { "line": "OPTIONS=--loglevel=5", "regex": "^OPTIONS=" }, "skip_reason": "Conditional check failed", "skipped": true }