RabbitMQ versionlock doesn't overwrite previous locks

Bug #1712596 reported by Major Hayden on 2017-08-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
Medium
Major Hayden

Bug Description

In the RabbitMQ role, we use yum's versionlock plugin to lock Erlang versions. However, it's not possible to add a new lock without removing the old one first. This means that adding a new lock won't take effect.

Changed in openstack-ansible:
status: New → In Progress
Changed in openstack-ansible:
assignee: Major Hayden (rackerhacker) → Markos Chandras (hwoarang)
Changed in openstack-ansible:
assignee: Markos Chandras (hwoarang) → nobody
Changed in openstack-ansible:
assignee: nobody → Major Hayden (rackerhacker)

Reviewed: https://review.openstack.org/496376
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-rabbitmq_server/commit/?id=05370b039413399f1db2df1c71bea653b5b10f34
Submitter: Jenkins
Branch: master

commit 05370b039413399f1db2df1c71bea653b5b10f34
Author: Major Hayden <email address hidden>
Date: Tue Sep 12 09:59:47 2017 -0600

    Optimize CentOS Erlang installation

    This patch optimizes the Erlang/RabbitMQ installation on CentOS. It
    includes:

      * Installing RabbitMQ from RabbitMQ's repository
      * Installing Erlang all-in-one from RabbitMQ's repository
      * Remove old versionlocks before applying new ones (fixes bug)

    The erlang-solutions repository is hosted in eastern Europe and has
    high latency to the USA and western Europe. Installing from that
    repository brings in over 80 individual packages, which causes
    additional delays in the role.

    The Erlang all-in-one package from RabbitMQ's repository contains
    only the Erlang bits that RabbitMQ needs. Also, it has HiPE enabled
    by default, which is recommended by RabbitMQ developers for
    better performance.

    Closes-Bug: 1712596
    Change-Id: I1bfcc96f353bd27b0004d93e250bb041eee48bdb

Changed in openstack-ansible:
status: In Progress → Fix Released
Major Hayden (rackerhacker) wrote :

Need to backport this to Pike.

Changed in openstack-ansible:
status: Fix Released → In Progress

Reviewed: https://review.openstack.org/505618
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-rabbitmq_server/commit/?id=d7ae447f5e11dd68e695c14466f7629653cc3487
Submitter: Jenkins
Branch: stable/pike

commit d7ae447f5e11dd68e695c14466f7629653cc3487
Author: Major Hayden <email address hidden>
Date: Tue Sep 12 09:59:47 2017 -0600

    Optimize CentOS Erlang installation

    This patch optimizes the Erlang/RabbitMQ installation on CentOS. It
    includes:

      * Installing RabbitMQ from RabbitMQ's repository
      * Installing Erlang all-in-one from RabbitMQ's repository
      * Remove old versionlocks before applying new ones (fixes bug)

    The erlang-solutions repository is hosted in eastern Europe and has
    high latency to the USA and western Europe. Installing from that
    repository brings in over 80 individual packages, which causes
    additional delays in the role.

    The Erlang all-in-one package from RabbitMQ's repository contains
    only the Erlang bits that RabbitMQ needs. Also, it has HiPE enabled
    by default, which is recommended by RabbitMQ developers for
    better performance.

    Closes-Bug: 1712596
    Change-Id: I1bfcc96f353bd27b0004d93e250bb041eee48bdb
    (cherry picked from commit 05370b039413399f1db2df1c71bea653b5b10f34)

tags: added: in-stable-pike

This issue was fixed in the openstack/openstack-ansible-rabbitmq_server 17.0.0.0b1 development milestone.

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

Changed in openstack-ansible:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers