Bug 1515458 - [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"
Summary: [3.6] fact gathering fails during upgrade from 3.4 to 3.5 on delete_empty_key...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.6.z
Assignee: Scott Dodson
QA Contact: liujia
URL:
Whiteboard:
Depends On: 1469387 1515459
Blocks: 1491718 1515457
TreeView+ depends on / blocked
 
Reported: 2017-11-20 20:05 UTC by Scott Dodson
Modified: 2021-03-11 16:20 UTC (History)
8 users (show)

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.
Clone Of: 1469387
Environment:
Last Closed: 2018-01-09 20:17:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 liujia 2017-12-13 06:05:42 UTC
add cases.

Comment 3 Scott Dodson 2018-01-09 20:17:49 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.


Note You need to log in before you can comment on or make changes to this bug.