Bug 1491718

Summary: [3.6] fact gathering fails during upgrade from 3.4 to 3.5 on delete_empty_keys(facts['master']['admission_plugin_config']['BuildDefaults']['configuration']['env'])\r\nKeyError: 'env'\r\n"
Product: OpenShift Container Platform Reporter: Scott Dodson <sdodson>
Component: Cluster Version OperatorAssignee: Scott Dodson <sdodson>
Status: CLOSED ERRATA QA Contact: liujia <jiajliu>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.0CC: aos-bugs, javier.ramirez, jialiu, jokerman, mmccomas, tbielawa
Target Milestone: ---   
Target Release: 3.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The configuration management for builddefaults attempts to remove environment variables that were previously defined but have since been removed from the configuration. In situations where no environment variables have been configured this was failing because the 'env' key did not exist. The process has now been updated to skip the cleanup when the env key does not exist.
Story Points: ---
Clone Of: 1469387 Environment:
Last Closed: 2018-01-09 20:18:04 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:
Bug Depends On: 1469387, 1515457, 1515458, 1515459    
Bug Blocks:    

Comment 1 Tim Bielawa 2017-09-14 13:27:41 UTC
3.6 PR

https://github.com/openshift/openshift-ansible/pull/5400

Comment 3 liujia 2017-09-27 10:26:31 UTC
Refer to 1469387.

Comment 5 liujia 2017-09-28 07:43:56 UTC
Refer to 1469387.

Comment 7 Javier Ramirez 2017-11-02 14:21:29 UTC
Any news on when this will be included in an errata ?

Comment 9 Scott Dodson 2018-01-09 20:18:04 UTC
This fix is in openshift-ansible-3.7.10-1, openshift-ansible-3.6.173.0.81-1, openshift-ansible-3.5.146-1 all of which have shipped.

It's also fixed in master as well.