6.2 Updating Oracle OpenStack for Oracle Linux Containers

Perform the following steps to update the Oracle OpenStack for Oracle Linux containers.

  1. (Master node) Set up the Docker registry to use for the deployment, see Section 4.3, “Setting up the Docker Registry”.

    The Oracle Container Registry is used by default.

  2. (Master node) Check the openstack_release property.

    The openstack_release property must be set to 3.0.1 so that the latest Docker images are pulled from the registry when you update.

    $ kollacli property list |grep openstack_release
    ...
    | *-- | openstack_release  | 3.0.1               |
    ...
  3. Sign in to the Oracle Container Registry and accept the Oracle Standard Terms and Restrictions for the Oracle software images.

    You only need to perform this step if you are using the Oracle Container Registry for your deployment.

    1. In a web browser, go to https://container-registry.oracle.com and sign in using your Oracle credentials.

    2. Click the Continue button at the top of the page, then scroll down and click the Accept button.

    Your acceptance of the Oracle Standard Terms and Restrictions is stored in a database that links the software images to your Oracle account. Your acceptance of the terms is valid for only eight hours from the time you last accepted it. This is subject to change without notice. If you do not deploy OpenStack services within the valid period for acceptance, you must repeat this step.

  4. (Master node) Run the kollacli upgrade command to update the OpenStack services.

    The kollacli upgrade command updates the OpenStack containers, preserving the existing data.

    You can either update all the OpenStack services at once, or update each OpenStack service individually.

    To update all OpenStack services at once:

    $ kollacli upgrade

    To update OpenStack services individually:

    1. Update the existing services.

      $ kollacli upgrade --service service-name

      The services must be updated in the order shown in the following table. You must wait for a kollacli upgrade command to complete before you can run another one. You only need to update the services shown as optional if they are enabled in your existing deployment. Your OpenStack cloud might not be operational until you have updated all services.

      Order

      Services

      Update Commands

      1

      MySQL Cluster

      $ kollacli upgrade --service mysqlcluster

      2

      Keystone

      $ kollacli upgrade --service keystone

      3

      Glance

      $ kollacli upgrade --service glance

      4

      Neutron

      $ kollacli upgrade --service neutron
      $ kollacli upgrade --service openvswitch

      5

      Nova

      $ kollacli upgrade --service nova

      6

      Cinder (optional)

      $ kollacli upgrade --service cinder

      7

      Horizon (optional)

      $ kollacli upgrade --service horizon

      8

      Swift (optional)

      $ kollacli upgrade --service swift

      9

      Heat (optional)

      $ kollacli upgrade --service heat

      10

      Murano (optional)

      $ kollacli upgrade --service murano

      11

      Ceilometer (optional)

      $ kollacli upgrade --service ceilometer

      12

      Memcached, HAProxy, RabbitMQ

      $ kollacli upgrade --service memcached
      $ kollacli upgrade --service haproxy
      $ kollacli upgrade --service rabbitmq
    2. Redeploy OpenStack services.

      $ kollacli deploy

      You need to run this command to start any support services that are enabled by default in the new release.

  5. (All network and compute nodes) Reboot the node.

    For networking to function after the update, you must reboot all network and compute nodes.

    Oracle Linux nodes:

    # systemctl reboot

    Oracle VM Server nodes:

    # reboot