Do not cache volume status attribute
this field can change by itself even during processing of the stack (e.g. volume created, and considerably later attached), or by itself (e.g. going to error). If something is polling stack or its outputs while the stack is created, the first value will get cached and returned regardless of actual volume status. Change-Id: Ic48a824a330c67cd4d9c4ccff31b6f53f0ca196d Story: 2007217 Task: 38469
This commit is contained in:
parent
b833f8ec2a
commit
d31c123c02
|
@ -206,7 +206,8 @@ class CinderVolume(vb.BaseVolume, sh.SchedulerHintsMixin):
|
|||
),
|
||||
STATUS: attributes.Schema(
|
||||
_('The current status of the volume.'),
|
||||
type=attributes.Schema.STRING
|
||||
type=attributes.Schema.STRING,
|
||||
cache_mode=attributes.Schema.CACHE_NONE
|
||||
),
|
||||
CREATED_AT: attributes.Schema(
|
||||
_('The timestamp indicating volume creation.'),
|
||||
|
|
Loading…
Reference in New Issue