2023-03-17 14:09:52 |
Rodrigo Barbieri |
bug |
|
|
added bug |
2023-03-17 14:10:11 |
Rodrigo Barbieri |
description |
Storyboard link
============
SRU TEMPLATE
============
[Impact]
The issue impact stack creation workflows where swift signals are used. There is no workaround for the issue other than not using swift signals. The fix is a conditional one-liner that performs a type-check before running the code change.
[TestCase]
1. Setting up env
1a. Deploy an environment with ceph-rgw and heat
1b. Make sure rgw-swift-versioning-enabled=true
2. Reproducing the bug
2a. Create a stack using the following template:
---
heat_template_version: 2021-04-16
resources:
signal:
type: OS::Heat::SwiftSignal
properties:
handle: {get_resource: signal_handle}
timeout: 300
signal_handle:
type: OS::Heat::SwiftSignalHandle
instance_port:
type: OS::Neutron::Port
properties:
network: private
fixed_ips:
- subnet_id: private_subnet
the_server:
type: OS::Nova::Server
properties:
name: test
image: cirros2
flavor: m1.cirros
networks:
- port: { get_resource: instance_port }
user_data_format: RAW
user_data:
str_replace:
template: |
#!/bin/sh
# Simple success signal
wc_notify --data-binary '{"status": "SUCCESS"}'
params:
wc_notify: { get_attr: [signal_handle, curl_cli] }
2b. Use command "openstack stack create test -t template.yaml
2c. Wait for stack creation to fail using command "openstack stack list"
2d. Once failed, display the details using command "openstack stack show test"
2e. Confirm error with the message:
| stack_status_reason | Resource CREATE failed: Error: resources.signal: Failed to parse JSON data: b'in progress'
3. Cleanup not really needed
4. Install package that contains the fixed code
5. Confirming fix: Repeat steps 2a-2e and confirm stack creation is either successful or fails with a different message for another reason
[Regression Potential]
Since there is a type-check included in the fix, the regression potential is minimal, as if the condition is not fulfilled, then the original code is run. |
Storyboard link: https://storyboard.openstack.org/#!/story/2010485
============
SRU TEMPLATE
============
[Impact]
The issue impact stack creation workflows where swift signals are used. There is no workaround for the issue other than not using swift signals. The fix is a conditional one-liner that performs a type-check before running the code change.
[TestCase]
1. Setting up env
1a. Deploy an environment with ceph-rgw and heat
1b. Make sure rgw-swift-versioning-enabled=true
2. Reproducing the bug
2a. Create a stack using the following template:
---
heat_template_version: 2021-04-16
resources:
signal:
type: OS::Heat::SwiftSignal
properties:
handle: {get_resource: signal_handle}
timeout: 300
signal_handle:
type: OS::Heat::SwiftSignalHandle
instance_port:
type: OS::Neutron::Port
properties:
network: private
fixed_ips:
- subnet_id: private_subnet
the_server:
type: OS::Nova::Server
properties:
name: test
image: cirros2
flavor: m1.cirros
networks:
- port: { get_resource: instance_port }
user_data_format: RAW
user_data:
str_replace:
template: |
#!/bin/sh
# Simple success signal
wc_notify --data-binary '{"status": "SUCCESS"}'
params:
wc_notify: { get_attr: [signal_handle, curl_cli] }
2b. Use command "openstack stack create test -t template.yaml
2c. Wait for stack creation to fail using command "openstack stack list"
2d. Once failed, display the details using command "openstack stack show test"
2e. Confirm error with the message:
| stack_status_reason | Resource CREATE failed: Error: resources.signal: Failed to parse JSON data: b'in progress'
3. Cleanup not really needed
4. Install package that contains the fixed code
5. Confirming fix: Repeat steps 2a-2e and confirm stack creation is either successful or fails with a different message for another reason
[Regression Potential]
Since there is a type-check included in the fix, the regression potential is minimal, as if the condition is not fulfilled, then the original code is run. |
|
2023-03-17 14:10:41 |
Rodrigo Barbieri |
tags |
|
sts sts-sru-needed |
|
2023-03-17 14:11:33 |
Rodrigo Barbieri |
nominated for series |
|
Ubuntu Kinetic |
|
2023-03-17 14:11:33 |
Rodrigo Barbieri |
bug task added |
|
heat (Ubuntu Kinetic) |
|
2023-03-17 14:11:33 |
Rodrigo Barbieri |
nominated for series |
|
Ubuntu Jammy |
|
2023-03-17 14:11:33 |
Rodrigo Barbieri |
bug task added |
|
heat (Ubuntu Jammy) |
|
2023-03-17 14:12:58 |
Rodrigo Barbieri |
bug task added |
|
cloud-archive |
|
2023-03-17 14:13:09 |
Rodrigo Barbieri |
nominated for series |
|
cloud-archive/yoga |
|
2023-03-17 14:13:09 |
Rodrigo Barbieri |
bug task added |
|
cloud-archive/yoga |
|
2023-03-17 14:13:09 |
Rodrigo Barbieri |
nominated for series |
|
cloud-archive/zed |
|
2023-03-17 14:13:09 |
Rodrigo Barbieri |
bug task added |
|
cloud-archive/zed |
|
2023-03-17 14:13:31 |
Rodrigo Barbieri |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-03-17 15:43:21 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rodrigo-barbieri2010/ubuntu/+source/heat/+git/heat/+merge/439167 |
|
2023-03-17 15:49:32 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rodrigo-barbieri2010/ubuntu/+source/heat/+git/heat/+merge/439169 |
|
2023-04-17 14:54:25 |
Corey Bryant |
cloud-archive: status |
New |
Fix Released |
|
2023-04-17 14:54:28 |
Corey Bryant |
heat (Ubuntu): status |
New |
Fix Released |
|
2023-04-17 14:54:53 |
Corey Bryant |
cloud-archive/yoga: status |
New |
Triaged |
|
2023-04-17 14:54:55 |
Corey Bryant |
cloud-archive/zed: status |
New |
Triaged |
|
2023-04-17 14:54:57 |
Corey Bryant |
heat (Ubuntu Jammy): status |
New |
Triaged |
|
2023-04-17 14:54:59 |
Corey Bryant |
heat (Ubuntu Kinetic): status |
New |
Triaged |
|
2023-04-17 14:55:08 |
Corey Bryant |
cloud-archive/yoga: importance |
Undecided |
High |
|
2023-04-17 14:55:10 |
Corey Bryant |
cloud-archive/zed: importance |
Undecided |
High |
|
2023-04-17 14:55:13 |
Corey Bryant |
heat (Ubuntu Jammy): importance |
Undecided |
High |
|
2023-04-17 14:55:15 |
Corey Bryant |
heat (Ubuntu Kinetic): importance |
Undecided |
High |
|
2023-04-21 20:19:41 |
Steve Langasek |
heat (Ubuntu Kinetic): status |
Triaged |
Fix Committed |
|
2023-04-21 20:19:42 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2023-04-21 20:19:47 |
Steve Langasek |
tags |
sts sts-sru-needed |
sts sts-sru-needed verification-needed verification-needed-kinetic |
|
2023-04-21 20:22:25 |
Steve Langasek |
heat (Ubuntu Jammy): status |
Triaged |
Fix Committed |
|
2023-04-21 20:22:28 |
Steve Langasek |
tags |
sts sts-sru-needed verification-needed verification-needed-kinetic |
sts sts-sru-needed verification-needed verification-needed-jammy verification-needed-kinetic |
|
2023-04-24 12:25:34 |
Corey Bryant |
cloud-archive/zed: status |
Triaged |
Fix Committed |
|
2023-04-24 12:25:35 |
Corey Bryant |
tags |
sts sts-sru-needed verification-needed verification-needed-jammy verification-needed-kinetic |
sts sts-sru-needed verification-needed verification-needed-jammy verification-needed-kinetic verification-zed-needed |
|
2023-04-24 12:26:13 |
Corey Bryant |
cloud-archive/yoga: status |
Triaged |
Fix Committed |
|
2023-04-24 12:26:14 |
Corey Bryant |
tags |
sts sts-sru-needed verification-needed verification-needed-jammy verification-needed-kinetic verification-zed-needed |
sts sts-sru-needed verification-needed verification-needed-jammy verification-needed-kinetic verification-yoga-needed verification-zed-needed |
|
2023-04-28 16:27:57 |
Rodrigo Barbieri |
attachment added |
|
bug2012073-jammy-yoga-validation.txt https://bugs.launchpad.net/cloud-archive/+bug/2012073/+attachment/5669464/+files/bug2012073-jammy-yoga-validation.txt |
|
2023-04-28 16:28:11 |
Rodrigo Barbieri |
attachment added |
|
bug2012073-jammy-zed-validation.txt https://bugs.launchpad.net/cloud-archive/+bug/2012073/+attachment/5669465/+files/bug2012073-jammy-zed-validation.txt |
|
2023-04-28 16:28:22 |
Rodrigo Barbieri |
attachment added |
|
bug2012073-kinetic-zed-validation.txt https://bugs.launchpad.net/cloud-archive/+bug/2012073/+attachment/5669466/+files/bug2012073-kinetic-zed-validation.txt |
|
2023-04-28 16:29:30 |
Rodrigo Barbieri |
tags |
sts sts-sru-needed verification-needed verification-needed-jammy verification-needed-kinetic verification-yoga-needed verification-zed-needed |
sts sts-sru-needed verification-done verification-done-jammy verification-done-kinetic verification-yoga-done verification-zed-done |
|
2023-05-11 13:27:56 |
Launchpad Janitor |
heat (Ubuntu Kinetic): status |
Fix Committed |
Fix Released |
|
2023-05-11 13:28:02 |
Andreas Hasenack |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-05-11 13:28:16 |
Launchpad Janitor |
heat (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-05-11 13:56:49 |
Corey Bryant |
cloud-archive/zed: status |
Fix Committed |
Fix Released |
|
2023-05-11 13:57:20 |
Corey Bryant |
cloud-archive/yoga: status |
Fix Committed |
Fix Released |
|