Description of problem: Set openshift_master_image_policy_config={"maxImagesBulkImportedPerRepository": 3, "disableScheduledImport": true} in ansible inventory by following https://github.com/openshift/openshift-ansible/blob/master/inventory/byo/hosts.ose.example#L63 During installation, master service failed to get started. TASK: [openshift_master | Start and enable master] **************************** failed: [openshift-x.com] => {"failed": true} msg: Job for atomic-openshift-master.service failed because the control process exited with error code. See "systemctl status atomic-openshift-master.service" and "journalctl -xe" for details. Check the configuration of master-config.yaml: imagePolicyConfig: '{"maxImagesBulkImportedPerRepository": 3, "disableScheduledImport": true}' Version-Release number of selected component (if applicable): openshift-ansible-3.0.88-1.git.0.31c3daf.el7.noarch.rpm How reproducible: Always Steps to Reproduce: 1.As in Description 2. 3. Actual results: The imagePolicyConfig is not configured correctly Expected results: Should be configured like imagePolicyConfig: disableScheduledImport: true maxImagesBulkImportedPerRepository: 3 Additional info: It works when using "True" instead of "true" openshift_master_image_policy_config={"maxImagesBulkImportedPerRepository": 3, "disableScheduledImport": True}
The bug that will not die... this was fixed most recently in 3d667872314b2d91f64c5ce2bf282a91e6974a9d. However the last two builds .88 and .89 were hotfix builds with only explicit changes, so this did not make it in. This fix should be included in the next build, likely .90.
PR was: https://github.com/openshift/openshift-ansible/pull/1818
Verify this bug with openshift-ansible-3.0.93-1.git.0.437c450.el7.noarch.rpm Set the following option in ansible inventory: openshift_master_image_policy_config={"maxImagesBulkImportedPerRepository": 3, "disableScheduledImport": true} After installation, check /etc/origin/master/master-config.yaml: imagePolicyConfig: disableScheduledImport: true maxImagesBulkImportedPerRepository: 3
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1208