Chapter 2. Upgrading the Core Project 4.7.x to 4.7.1

2.1. Overview

Upgrading Red Hat Mobile Application Platform from version 4.7.x to version 4.7.1 includes the following changes:

  • Existing images versions are updated to RHMAP 4.7.1 versions by modifying the deployment configurations for all objects in the RHMAP Core, which triggers a redeployment of each component.
Warning

Before proceeding with the upgrade:

2.2. Upgrading to RHMAP Core Version 4.7.1

  1. If you are using the installer container image option, mount an inventory file and a valid SSH key for targeting that inventory, for example:

    docker run -it \
           -v ~/.ssh/id_rsa:/opt/app-root/src/.ssh/id_rsa:Z \
           -v ${HOME}/Desktop/rhmap-ansible/inventories:/opt/app-root/src/inventories \
           -e ANSIBLE_PRIVATE_KEY_FILE=/opt/app-root/src/.ssh/id_rsa \
    	   rhmap47/installer bash
  2. To upgrade your existing RHMAP Core from 4.7.x to 4.7.1 you must specify:

    • the name of the current project
    • an inventory file
    • project_type which must be set to core.

      An example command is shown below:

      cd /opt/rhmap/4.7/rhmap-ansible
      ansible-playbook -i my-inventory-file playbooks/upgrade.yml -e project_type=core -e project_name=my-rhmap-core-project

      This command reads the current deployment information and chooses the next available upgrade path. A warning message is displayed advising you to back up your data before proceeding. Press Enter to confirm that you have backed up and to continue with the upgrade.

2.3. Verifying RHMAP Core Upgrade

  1. Review the output to verify there were no failures.
  2. Verify all Nagios checks are healthy.
  3. Make sure the component versions match those in the Container Catalog for the erratum.

See the troubleshooting documentation in cases where the upgrade fails.