[heat] Creation of stack with WaitCondition/WaitHandle resources periodically fails because of concurrent transactions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Sergey Kraynev | ||
7.0.x |
Fix Released
|
High
|
Alexey Stupnikov |
Bug Description
Steps to reproduce:
1. Create stack using following template:
heat_template_
parameters:
image:
type: string
description: Name of image to use for server
flavor:
type: string
description: Flavor to use for server
timeout:
type: number
description: Timeout for WaitCondition, depends on your image and environment
network:
type: string
resources:
wait_condition:
type: OS::Heat:
depends_on: instance1
properties:
handle: {get_resource: wait_handle}
count: 5
timeout: {get_param: timeout}
wait_handle:
type: OS::Heat:
instance1:
type: OS::Nova::Server
properties:
image: {get_param: image}
flavor: {get_param: flavor}
networks: [{network: {get_param: network}}]
user_
user_data:
template: |
params:
outputs:
curl_cli:
value: { get_attr: ['wait_handle', 'curl_cli'] }
wc_data:
value: { get_attr: ['wait_condition', 'data'] }
2. Wait for stack creation
Observed result:
Stack creation fails because not all signals were received.
E.g:
test_stack 16 minutes Create Failed Resource CREATE failed: WaitConditionTi
wait_condition - 16 minutes Create Failed WaitConditionTi
wait_handle 21 minutes Signal Complete Signal: status:SUCCESS reason:Signal 5 received
wait_handle 21 minutes Signal Complete Signal: status:SUCCESS reason:signal4
wait_handle 21 minutes Signal Complete Signal: status:SUCCESS reason:Signal 4 received
wait_handle 21 minutes Signal Complete Signal: status:SUCCESS reason:signal3
wait_handle 21 minutes Signal Complete Signal: status:SUCCESS reason:signal2
wait_handle 21 minutes Signal Complete Signal: status:SUCCESS reason:Signal 1 received
Upstream bug: https:/
ENV: FUEL/MOS 7.0, ISO 288
description: | updated |
Changed in mos: | |
assignee: | nobody → MOS Heat (mos-heat) |
milestone: | none → 8.0 |
tags: |
added: release-notes-done rn7.0 removed: release-notes |
tags: | added: heat |
tags: |
added: area-heat removed: heat |
tags: | added: on-verification |
Changed in mos: | |
status: | Fix Committed → Fix Released |
Wait a decision about this bug in community.