Turn on Caching for Heat validation process
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.
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_
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
tags: | added: area-library |
tags: |
added: area-mos puppet removed: area-library |
tags: | added: on-verification |
tags: | added: on-verification |
Fix proposed to branch: master /review. openstack. org/268133
Review: https:/