OnApp 5.1.0-16 Update

Release NotesAffects Version/s
Added a new Market gem. 
Fixed the issue with creating a VS related to inappropriate permissions dependency.5.1

Patch Installation

The instructions below are relevant if you already run OnApp 5.1.0 version. If you are upgrading from OnApp 5.0.x. version, run the full upgrade procedure. For more information refer to the Get Started guide.

To apply the patch into Control Panel (running 5.1.0 version), run the Control Panel installer:

# /onapp/onapp-cp-install/onapp-cp-install.sh

Patch Installation for Clouds with High Availability Control Panel

If you are a High Availability Control Panel customer, it is recommended that you contact support for help with the procedure described below. Be aware, that if the configuration below is performed incorrectly it may cause damage to your cloud.

Upgrade Control Panel Servers for Advanced HA Deployment


To apply the patch for clouds with the Advanced configuration of the High Availability Control Panel:

  1. Switch the cloud to maintenance mode at Control Panel > Sysadmin > Control Panel Maintenance

    Run the following commands on all  Control Panel servers:

  2. Issue the following command:

    # rpm -Uvh http://rpm.repo.onapp.com/repo/onapp-repo-5.1.noarch.rpm
  3. Unmanage RabbitMQ service:

    # crm resource unmanage onapp-mq-cluster
  4. Stop rabbitmq-server on each node:

     # service rabbitmq-server stop


  5. Upgrade the OnApp installer package on CP nodes:

     # yum -y update onapp-cp-install


  6. Upgrade the RabbitMQ packages on remote nodes:

     # yum -y update rabbitmq-server rabbitmq-admin erlang


  7. Start rabbitmq service on remote nodes:

     # service rabbitmq-server start


  8. Ensure that RabbitMQ cluster is working:

     # rabbitmqctl cluster_status


  9. Delete old queues from the RabbitMQ cluster. This command should be run on any remote node without CP

    # rabbitmqctl list_queues | grep 0 | awk '{print $1}' | xargs -I qn python /usr/local/bin/rabbitmqadmin -u <user> -p <password> delete queue name=qn

    You can find the <user> and <password> parameters on the remote RabbitMQ nodes by using this command:

    # cat /onapp/onapp-rabbitmq/.rabbitmq.mgr
  10. Run the Control Panel installer:

     # /onapp/onapp-cp-install/onapp-cp-install.sh


After you have successfully run the previous commands on all Control Panel servers, issue the following commands on one of the CP servers:

  1. Switch all nodes back online by running the following command once on any of the nodes:

    # crm configure property maintenance-mode=false
  2. Enable monitoring onapp-mq-cluster:

     # crm resource manage onapp-mq-cluster
  3. Enable file synchronization on all nodes by running the following command once on any of the nodes:

     # crm resource start lsyncd-cluster

    Ensure that the lsyncd service is not started during the whole CP upgrade procedure.

Upgrade Control Panel Servers for Regular HA Deployment


To apply the patch for clouds with the Regular configuration of the High Availability Control Panel:
  1. Switch the cloud to maintenance mode at Control Panel > Sysadmin Tools > Control Panel Maintenance

  2. Run the Control Panel installer on all three Control Panel servers:

    # /onapp/onapp-cp-install/onapp-cp-install.sh

After you have successfully run the previous commands on all Control Panel servers, issue the following two commands on one of the CP servers:

  1. Switch all nodes back online by running the following command once on any of the nodes:

    # crm configure property maintenance-mode=false
  2. Enable file synchronization on all nodes by running the following command once on any of the nodes:

    # crm resource start lsyncd-cluster