Turn on Caching for Heat validation process

Bug #1534510 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Denis Egorenko
8.0.x
Fix Released
High
Denis Egorenko
Mitaka
Fix Released
High
Denis Egorenko

Bug Description

Caching feature was merged in the middle of stable liberty development.
It was checked on scale with 50 nodes and works correct.

We need to enable it in MOS Heat by default, because it needs for better work of Huge Sahara clusters on big deployments.

There are follow steps to turn on caching mechanism in Heat:

Way to enable caching:

1. install or make sure that memcached is installed on host. (already installed and configured in MOS)

2. add to heat.conf next group: (should be done on each controller node)
     [cache]
     enabled = True
     backend = oslo_cache.memcache_pool

3. restart h-engine and h-api and memcached services.

If there's some problems with memcache_pool like: "All hosts are dead. Marking them as live",
it means that you need to add to cache group in heat.conf next option:
     [cache]
     enabled = True
     backend = oslo_cache.memcache_pool
     memcache_servers=ip:port -

I suggest to use last option with memcache_servers option.
port is a same for all controllers - 11211, because memcache listens on this port.
ip - is ip address from memcached.conf from line " -l 192.168.0.25", i.e. ip address of current node in management network

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/268133

Changed in fuel:
status: Triaged → In Progress
Maciej Relewicz (rlu)
tags: added: area-library
tags: added: area-mos puppet
removed: area-library
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

This sounds more like an enhancement, rather than a critical issue.

tags: added: area-heat
removed: area-mos
Changed in fuel:
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

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

commit b5a06d8bec77df2ce2abbfca45e7c34dc9f6327f
Author: Denis Egorenko <email address hidden>
Date: Fri Jan 15 16:33:59 2016 +0300

    Enable caching for Heat validation process

    Caching will provide better perfomance with work of huge Sahara clusters
    on big deployments.

    This feature was merged in the middle of stable liberty development.

    Change-Id: I0ddb4422d0f5894c4226c9e19106fc7de110906d
    Closes-bug: #1534510

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/270224

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/8.0)

Reviewed: https://review.openstack.org/270224
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=650b61c1e72b27a6ea21dfc09574b443adbf661a
Submitter: Jenkins
Branch: stable/8.0

commit 650b61c1e72b27a6ea21dfc09574b443adbf661a
Author: Denis Egorenko <email address hidden>
Date: Fri Jan 15 16:33:59 2016 +0300

    Enable caching for Heat validation process

    Caching will provide better perfomance with work of huge Sahara clusters
    on big deployments.

    This feature was merged in the middle of stable liberty development.

    Change-Id: I0ddb4422d0f5894c4226c9e19106fc7de110906d
    Closes-bug: #1534510
    (cherry picked from commit b5a06d8bec77df2ce2abbfca45e7c34dc9f6327f)

Revision history for this message
Alexander Nagovitsyn (gluk12189) wrote :

everything works as it should be
https://mirantis.jira.com/browse/PROD-643

tags: added: on-verification
Revision history for this message
Andrey Lavrentyev (alavrentyev) wrote :

Verified on ISO #567

[root@nailgun build]# cat /etc/fuel/version.yaml
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "567"
  build_id: "567"
  fuel-nailgun_sha: "558ca91a854cf29e395940c232911ffb851899c1"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "33634ec27be77ecfb0b56b7e07497ad86d1fdcd3"
  fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
  fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
  fuelmenu_sha: "78ffc73065a9674b707c081d128cb7eea611474f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "d605bcbabf315382d56d0ce8143458be67c53434"

tags: removed: on-verification
tags: added: on-verification
Revision history for this message
Ekaterina Shutova (eshutova) wrote :

On all controllers in /etc/heat/heat.conf:
[cache]
enabled=True
backend=oslo_cache.memcache_pool
memcache_servers=10.109.1.6:11211

Verified on:
[root@nailgun /]# shotgun2 short-report
cat /etc/fuel_build_id:
 467
cat /etc/fuel_build_number:
 467
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0

tags: removed: on-verification
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.