Upgrading to OpenShift 3.10 fails on a check for file paths outside of /etc/origin/master in the master config
Issue
-
The following error says to change the path of custom files to
/etc/origin/master, but due to the local storage configuration, it is not possible to change those file paths. Is there any way to skip this check or workaround the issue?TASK [openshift_control_plane : Check for file paths outside of /etc/origin/master in master's config] ************************************************************************************** fatal: [openshift-master1.example.com]: FAILED! => {"failed": true, "msg": "A string value that appears to be a file path located outside of\n/etc/origin/master/, /var/lib/origin, /etc/origin/cloudprovider, /etc/origin/kubelet-plugins, /usr/libexec/kubernetes/kubelet-plugins has been found in /etc/origin/master/master-config.yaml.\nIn 3.10 and newer, all files needed by the master must reside inside of\nthose directories or a subdirectory or it will not be readable by the\nmaster process. Please migrate all files needed by the master into\none of /etc/origin/master/, /var/lib/origin, /etc/origin/cloudprovider, /etc/origin/kubelet-plugins, /usr/libexec/kubernetes/kubelet-plugins or a subdirectory and update your master configs before\nproceeding. The string found was: /var/log/example_audit.log\n***********************\nNOTE: the following items do not need to be migrated, they will be migrated\nfor you: oauthConfig.identityProviders"} +++++++++++++++++++++++++++++++++
Environment
- OpenShift Container Platform 3.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
