Bug 1646207
Summary: | openshift_master_image_policy_allowed_registries_for_import errors out during setup | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Kim Borup <kborup> |
Component: | Installer | Assignee: | Scott Dodson <sdodson> |
Status: | CLOSED DUPLICATE | QA Contact: | Johnny Liu <jialiu> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.11.0 | CC: | aos-bugs, bleanhar, bparees, jokerman, kborup, klaas, mgugino, mmccomas |
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-21 13:06:50 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: |
Description
Kim Borup
2018-11-05 11:30:11 UTC
Kim, Are those log entries truncated? `journalctl --no-pager` will provide output that's not truncated. Ben, How should that config be rendered? Is it the single quotes that's messing things up? AllowedRegistries is an array of RegistryLocation objects: type RegistryLocation struct { // DomainName specifies a domain name for the registry // In case the registry use non-standard (80 or 443) port, the port should be included // in the domain name as well. DomainName string // Insecure indicates whether the registry is secure (https) or insecure (http) // By default (if not specified) the registry is assumed as secure. Insecure bool } so i'd expect it to render as: imagePolicyConfig: allowedRegistriesForImport: - domainName: "artifactory.hiddenname.no" - domainName: "docker-registry-default.hiddenname.no" etc. (you can leave out the insecure field, it defaults to false). I just get the logs from master-logs api api and master-logs controllers controllers, other than that we just have logs from the docker current and it does not show more than that. Kim, I mean it's likely that the installer is not generating the value correctly. In the meantime you can probably manually edit the master-config.yaml to align with the example I provided. Please provide playbook -vvv output, inventory, and contents of master's config. Seems openshift_master_image_policy_allowed_registries_for_import is being treated a string instead of a dictionary; openshift_facts wants a dictionary and sanity_checks seems to want json. @Michael I cant provide that anymore as i ended up doing it another way, i guess i can make a reproducer but i dont have time atm to do it. I hit the same issue, I'd guess the example in https://github.com/openshift/openshift-ansible/blob/master/inventory/hosts.example#L105 is just wrong and it needs to be something along the lines of: openshift_master_image_policy_allowed_registries_for_import=[domainName: artifactory.hiddenname.no, domainName: ..., ...] I'll create a case about this *** This bug has been marked as a duplicate of bug 1650384 *** *** This bug has been marked as a duplicate of bug 1670473 *** |