Never cache Senlin cluster outputs
Since the node list and attribute outputs from a Senlin cluster may change without Heat knowing about it, always retrieve this data live from the Senlin API. Change-Id: Ida1dc710984ce938a72a52c848c2305bc8df5383
This commit is contained in:
parent
f47efe532d
commit
0c9adf8e48
@ -161,7 +161,8 @@ class Cluster(res_base.BaseSenlinResource):
|
||||
),
|
||||
ATTR_NODES: attributes.Schema(
|
||||
_("Nodes list in the cluster."),
|
||||
type=attributes.Schema.LIST
|
||||
type=attributes.Schema.LIST,
|
||||
cache_mode=attributes.Schema.CACHE_NONE
|
||||
),
|
||||
ATTR_MIN_SIZE: attributes.Schema(
|
||||
_("Min size of the cluster."),
|
||||
@ -182,6 +183,7 @@ class Cluster(res_base.BaseSenlinResource):
|
||||
"collected from the nodes of this cluster."),
|
||||
type=attributes.Schema.LIST,
|
||||
support_status=support.SupportStatus(version='8.0.0'),
|
||||
cache_mode=attributes.Schema.CACHE_NONE
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user