Hide Forgot
Document URL: https://docs.openshift.com/enterprise/3.1/install_config/upgrades.html#updating-the-default-image-streams-and-templates Section Number and Name: Updating the Default Image Streams and Templates Describe the issue: When installing or updating atomic-openshift-utils to obtain the latest image streams and template, /usr/share/openshift/examples/ does not get updated with the latest templates. The following needs to happen to move the files to the correct location: # mkdir /usr/share/openshift/examples # cp -R /usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v1.1/* /usr/share/openshift/examples/ Suggestions for improvement: Either change the the file location use to update the streams and templates or add steps to cp the contents over
Work in progress: https://github.com/openshift/openshift-docs/pull/5200
@Traci, For installation: /usr/share/openshift/examples/ are installed on the first master only. For automate upgrade, Those files get updated on the first master by playbook. For manually upgrade, The templates and imagestreams are updated on the OCP client where atomic-openshift-utils was installed. and the /usr/share/openshift/examples/ does not get updated on first master. If we want to persist the /usr/share/openshift/examples/ on first master. add step as following manually upgrade doc, Update /usr/share/openshift/examples/_* to v3.x on the first master. scp -R /usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.6/* user@master1:/usr/share/openshift/examples/ If we want to persist the /usr/share/openshift/examples/ on all masters. add steps as following on both automate upgrade and manually upgrade Update /usr/share/openshift/examples/_* to v3.x on all masters mkdir /usr/share/openshift/examples scp -R /usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v3.6/* user@masterx:/usr/share/openshift/examples
Updated PR: https://github.com/openshift/openshift-docs/pull/5200
Commits pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/50d45b878d5c44d031036169bb26f694cdefd026 Bug 1297501 added substep to obtain the latest image stream https://github.com/openshift/openshift-docs/commit/c5875a618ca3e68aa99cf951ab1b2e7c776f164b Merge pull request #5200 from tmorriso-rh/directory-location Bug 1297501 added substep to obtain the latest image stream
Updates published in the following sections: https://docs.openshift.com/container-platform/3.4/install_config/upgrading/automated_upgrades.html https://docs.openshift.com/container-platform/3.5/install_config/upgrading/automated_upgrades.html https://docs.openshift.com/container-platform/3.6/install_config/upgrading/automated_upgrades.html https://docs.openshift.com/container-platform/3.4/install_config/upgrading/manual_upgrades.html https://docs.openshift.com/container-platform/3.5/install_config/upgrading/manual_upgrades.html https://docs.openshift.com/container-platform/3.6/install_config/upgrading/manual_upgrades.html