Kubernetes requires that the volume name conform to naming standards. The workaround is to set openshift_hosted_registry_storage_volume_name to a value that conforms to DNS-1123 standards. The volume name is also used to create a directory in the nfs exports directory.
Hi Scott, can you please confirm where this update should be made? I checked the Installation Guide, but not sure which section. Thanks.
This set of options doesn't appear to be documented in openshift-docs. So I'm going to move this back to the installer and update the sample inventory files.
Hi Vikram, please see Scott's comment above. Should we defer this issue for now? Thanks.
https://github.com/openshift/openshift-ansible/pull/5638
QE could reproduce such issue when using an invalid nfs directory name. And in openshift-ansible-3.7.0-0.143.2.git.0.39404c5.el7.noarch, we already have related content added in the sample inventory file, move this bug as verified. [root@gpei-test-ansible openshift-ansible-auto]# grep openshift_hosted_registry_storage_nfs_directory -B 2 /usr/share/doc/openshift-ansible-docs-3.7.0/docs/example-inventories/hosts.example # nfs_directory must conform to DNS-1123 subdomain must consist of lower case # alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character #openshift_hosted_registry_storage_nfs_directory=/exports -- # nfs_directory must conform to DNS-1123 subdomain must consist of lower case # alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character #openshift_hosted_registry_storage_nfs_directory=/exports
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/RHSA-2017:3188
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days