Upgrade process fails to upgrade RabbitMQ

Bug #1563024 reported by James Denton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
High
Unassigned
Liberty
Fix Released
High
Nolan Brubaker

Bug Description

Upgrading from r11.1.3 to 12.0.8 using the documentation found at:

http://docs.openstack.org/developer/openstack-ansible/liberty/upgrade-guide/manual-upgrade.html

During the 'setup-infrastructure' play, the following errors are encountered:

TASK: [rabbitmq_server | Compare installed version of RabbitMQ with new version variable] ***
failed: [infra02_rabbit_mq_container-58a55366] => {"failed": true}
msg: To install a new major/minor version of RabbitMQ set '-e rabbitmq_upgrade=true'.
failed: [infra01_rabbit_mq_container-dbbee3d4] => {"failed": true}
msg: To install a new major/minor version of RabbitMQ set '-e rabbitmq_upgrade=true'.
failed: [infra03_rabbit_mq_container-aeee2d0c] => {"failed": true}
msg: To install a new major/minor version of RabbitMQ set '-e rabbitmq_upgrade=true'.

The process was modified to use the following:

openstack-ansible setup-infrastructure.yml -e 'galera_upgrade=true' -e 'rabbitmq_upgrade=true'

The upgrade script also does not account for a Rabbit upgrade:

https://github.com/openstack/openstack-ansible/blob/liberty/scripts/run-upgrade.sh#L150

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → High
Changed in openstack-ansible:
assignee: nobody → Nolan Brubaker (nolan-brubaker)
Changed in openstack-ansible:
status: Confirmed → Invalid
assignee: Nolan Brubaker (nolan-brubaker) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (liberty)

Fix proposed to branch: liberty
Review: https://review.openstack.org/298872

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (liberty)

Reviewed: https://review.openstack.org/298872
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=67938b57622e08e549eed5fe4b0a012ade65f33a
Submitter: Jenkins
Branch: liberty

commit 67938b57622e08e549eed5fe4b0a012ade65f33a
Author: Nolan Brubaker <email address hidden>
Date: Tue Mar 29 12:43:33 2016 -0400

    Upgrade RabbitMQ on OSA upgrade

    When upgrading OSA from an early Kilo release to 12.0.8, the RabbitMQ
    version has likely changed and the 'Compare installed version of
    RabbitMQ with new version variable' task will fail.

    To avoid manual intervention in response to the failure, this change
    introduces the RabbitMQ upgrade switch to both the run-upgrade.sh script and
    the manual upgrade steps.

    Change-Id: Id90cfb9e94cea1ff2598bc71211efa7ef4370445
    Closes-Bug: #1563024

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 12.0.11

This issue was fixed in the openstack/openstack-ansible 12.0.11 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.