Closed sjenning closed 6 years ago
I believe the error was introduced here https://github.com/openshift/openshift-ansible/pull/5559/files#diff-f6d4c415edd5332159aa1c77eb72b757R156
/assign mtnbikenc
@michaelgugino You did some work around this var recently and it looks like this is related. Can you give some background?
@mtnbikenc
Previously, openshift_facts was transforming user-provided strings into lists.
This logic has been moved inside of the docker role. If any other sections of the code assume a list, those sections will have to reimplement the CSV string to list conversion.
I recommend we deprecate providing additional/blocked/insecure as CSV strings and enforce lists.
@mtnbikenc
You'll also need to add the enterprise registry like we're here: https://github.com/openshift/openshift-ansible/pull/5559/files#diff-9dc9c16f5365d2528dd6e1525beebd73R53
@sdodson, should this be a docs update and add a check to make sure this var is provided as a list or implement more code for CSV list creation? Reference: https://github.com/openshift/openshift-ansible/pull/5165/files#diff-1b06f2ffbea00508e375a7c7ec2d3051
@sjenning Is this problem resolved if you specify the inventory var as a list?
openshift_docker_additional_registries=['registry.ops.openshift.com']
Looks like @ashcrow already has a PR on this. https://github.com/openshift/openshift-ansible/pull/5619
😸
Yup, reported in https://bugzilla.redhat.com/show_bug.cgi?id=1497274 as well.
Description
Looks to be a tokenizing error in the
docker_image_availability
checkVersion
Steps To Reproduce
Expected Results
Installation check succeeds and each character of the
openshift_docker_additional_registries
is not treated as an individual repo url.@sdodson