Change memcache addresses lookup

Bug #1524275 reported by Stanislaw Bogatkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Stanislaw Bogatkin

Bug Description

Today we use complicated procedure to lookup memcache addresses on nodes. It prevents us to override them easily and to separate/change memcache role for nodes. We should change this behavior by moving memcache addresses declaration to globals task.

For example, I want to introduce new memcache balancer and install it to all nodes. I want that after configuration all needed OpenStack services look to
127.0.0.1 to my balancer and each of my balancers looks to all nodes where memcached is really running. With our current code I must change a bunch of duplicated code in fuel-library to do so and completely unable to make balancer work over plugin. With memcache addresses in globals I can do it easily.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/255254

Changed in fuel:
status: New → In Progress
tags: added: area-library
Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/255254
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=a0792cfc77edda553a96c6a39e474ebce0322245
Submitter: Jenkins
Branch: master

commit a0792cfc77edda553a96c6a39e474ebce0322245
Author: Stanislaw Bogatkin <email address hidden>
Date: Wed Dec 9 16:12:01 2015 +0300

    Add memcached_addresses variable to hiera

    Introduce new variable to have an ability for easy override memcache servers
    addresses.

    Closes-Bug: #1524275
    Change-Id: I96c8e38e6be2fa865c870908cbbaf0d95034a952

Changed in fuel:
status: In Progress → Fix Committed
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.