- Issued:
- 2018-08-29
- Updated:
- 2018-08-29
RHBA-2018:2590 - Bug Fix Advisory
Synopsis
openstack-heat bug fix advisory
Type/Severity
Bug Fix Advisory
Red Hat Lightspeed patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated OpenStack Orchestration packages that resolve various issues are
now available for Red Hat OpenStack Platform 13.0 (Queens) for RHEL 7.
Description
Red Hat OpenStack Platform provides the facilities for building, deploying, and monitoring a private or public infrastructure-as-a-service (IaaS) cloud running on commonly available physical hardware. This advisory includes packages for:
- OpenStack Orchestration service
OpenStack Orchestration (heat) is a template-driven engine used to specify
and deploy configurations for Compute, Storage, and OpenStack Networking.
It can also be used to automate post-deployment actions, which in turn
allows automated provisioning of infrastructure, services, and
applications. Orchestration can also be integrated with Telemetry alarms to
implement auto-scaling for certain infrastructure resources.
Changes to the openstack-heat component:
- When a stack has more than 1,000 past events associated with it, Heat begins to purge a portion of existing events from the database, with some probability of this occurring each time a new event is created. However, if the stack has had previous updates with convergence disabled (the default on the overcloud prior to OSP10, and on the undercloud prior to OSP13) some events might reference resource properties data from the backup stack.
Purging events may fail with a foreign key constraint error:
'Cannot delete or update a parent row: a foreign key constraint fails (`heat`.`event`, CONSTRAINT `ev_rsrc_prop_data_ref` FOREIGN KEY (`rsrc_prop_data_id`) REFERENCES `resource_properties_data` (`id`))'
or
'Cannot delete or update a parent row: a foreign key constraint fails (`heat`.`resource`, CONSTRAINT `rsrc_rsrc_prop_data_ref` FOREIGN KEY (`rsrc_prop_data_id`) REFERENCES `resource_properties_data` (`id`))'
This prevents the new event from being stored and the stack update fails as a result. Heat now ignores foreign key constraint errors when attempting to purge events. If this situation occurs, events are not purged until any backup stacks that hold common references have been purged. New events are stored and the operation of the stack continues. (BZ#1596866)
Solution
Before applying this update, ensure all previously released errata relevant to your system have been applied.
Red Hat OpenStack Platform 13 runs on Red Hat Enterprise Linux 7.5.
The Red Hat OpenStack Platform 13 Release Notes contain the following:
- An explanation of the way in which the provided components interact to
form a working cloud computing environment.
- Technology Previews, Recommended Practices, and Known Issues.
- The channels required for Red Hat OpenStack Platform 13, including which
channels need to be enabled and disabled.
The Release Notes are available at:
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/13/
This update is available through 'yum update' on systems registered through
Red Hat Subscription Manager. For more information about Red Hat
Subscription Manager, see:
https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/index.html
Affected Products
- Red Hat OpenStack for IBM Power 13 ppc64le
- Red Hat OpenStack 13 x86_64
Fixes
- BZ - 1596866 - Heat database error: 'Cannot delete or update a parent row: a foreign key constraint fails ...
CVEs
(none)
References
(none)
Red Hat OpenStack for IBM Power 13
| SRPM | |
|---|---|
| openstack-heat-10.0.1-2.el7ost.src.rpm | SHA-256: df95fb3eeaee1ae1961e43eb5ddf8d1da5649ece52f4970e4b1c592b36bf2285 |
| ppc64le | |
| openstack-heat-api-10.0.1-2.el7ost.noarch.rpm | SHA-256: 23dda63e40b08c268ae284feb86438d61278ceccd663b4c4f8f9d2b958bc98a4 |
| openstack-heat-api-cfn-10.0.1-2.el7ost.noarch.rpm | SHA-256: 98f6da4e307971dbf0b5a87ef8eeb1e06915a0e332785a6c7a43ba02af13f55c |
| openstack-heat-common-10.0.1-2.el7ost.noarch.rpm | SHA-256: ab02317ce56bea5078fb64872e97a8d7989184cbe095adbadbaee72e3cf848a9 |
| openstack-heat-engine-10.0.1-2.el7ost.noarch.rpm | SHA-256: fac3f513c2d212dc3ec41f0c9e32eafa3fa0fe0056fb7cb4ff0032884ca7b7fe |
| openstack-heat-monolith-10.0.1-2.el7ost.noarch.rpm | SHA-256: 886cd6db19c9a015242477c68fdd066b99aa4505563eb8d25c52a3b9412beb8f |
Red Hat OpenStack 13
| SRPM | |
|---|---|
| openstack-heat-10.0.1-2.el7ost.src.rpm | SHA-256: df95fb3eeaee1ae1961e43eb5ddf8d1da5649ece52f4970e4b1c592b36bf2285 |
| x86_64 | |
| openstack-heat-api-10.0.1-2.el7ost.noarch.rpm | SHA-256: 23dda63e40b08c268ae284feb86438d61278ceccd663b4c4f8f9d2b958bc98a4 |
| openstack-heat-api-cfn-10.0.1-2.el7ost.noarch.rpm | SHA-256: 98f6da4e307971dbf0b5a87ef8eeb1e06915a0e332785a6c7a43ba02af13f55c |
| openstack-heat-common-10.0.1-2.el7ost.noarch.rpm | SHA-256: ab02317ce56bea5078fb64872e97a8d7989184cbe095adbadbaee72e3cf848a9 |
| openstack-heat-engine-10.0.1-2.el7ost.noarch.rpm | SHA-256: fac3f513c2d212dc3ec41f0c9e32eafa3fa0fe0056fb7cb4ff0032884ca7b7fe |
| openstack-heat-monolith-10.0.1-2.el7ost.noarch.rpm | SHA-256: 886cd6db19c9a015242477c68fdd066b99aa4505563eb8d25c52a3b9412beb8f |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.