Bug 1488366 - Installation fails with the following problem -> The PersistentVolume "BS31369_ocp_registry-volume" is invalid: metadata.name: Invalid value: "XX11111_ocp_registry-volume": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.
Summary: Installation fails with the following problem -> The PersistentVolume "BS3136...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
low
high
Target Milestone: ---
: 3.7.0
Assignee: Scott Dodson
QA Contact: Gaoyun Pei
URL:
Whiteboard: 3.7-release-plan
Depends On:
Blocks: 1703095
TreeView+ depends on / blocked
 
Reported: 2017-09-05 08:29 UTC by Miheer Salunke
Modified: 2023-09-14 04:07 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The example inventories have been updated to clearly indicate that the nfs export directory must only consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.
Clone Of:
: 1703095 (view as bug list)
Environment:
Last Closed: 2017-11-28 22:09:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Comment 4 Scott Dodson 2017-09-06 14:18:05 UTC
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.

Comment 9 Traci Morrison 2017-09-21 19:12:20 UTC
Hi Scott, can you please confirm where this update should be made? I checked the Installation Guide, but not sure which section. Thanks.

Comment 10 Traci Morrison 2017-10-02 19:12:38 UTC
Hi Scott, can you please confirm where this update should be made? I checked the Installation Guide, but not sure which section. Thanks.

Comment 11 Scott Dodson 2017-10-03 14:33:06 UTC
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.

Comment 12 Traci Morrison 2017-10-03 18:19:28 UTC
Hi Vikram, please see Scott's comment above. Should we defer this issue for now? Thanks.

Comment 14 Gaoyun Pei 2017-10-11 08:39:40 UTC
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

Comment 18 errata-xmlrpc 2017-11-28 22:09:17 UTC
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

Comment 19 Red Hat Bugzilla 2023-09-14 04:07:23 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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