Sync with oslo incubator at commit
0fb9dcd54d4e08d9ac8f9764a38c68911b287200
This fixes an issue with heat engine shutdown.
Change-Id: Ie29a7781eb06ee58eb347c924b9110100ddd56f9
The README file under the openstack/common directory references to
openstack-common, but the link points to oslo-incubator (which is
correct). Update the file, so it use oslo-incubator instead of
openstack-common.
Change-Id: I7bd165772e4c3043cf4f08048dd2730eee7e2b06
Closes-Bug: 1434370
Context logging does not work if we don't do it in a way that
oslo.log can pick up the context.
- Use the thread local storage from the base RequestContext class.
- Use the helper method context.get_current() as appropriate
- Update the custom_backend_auth.
- Remove heat/openstack/common/local.py as it is now not used.
Change-Id: I64f6af5090e98579b93a616bc79f4aaa6cd2b2ee
Closes-bug: 1435588
Sync to oslo-incubator at 0314366, and remove the (now removed)
log.py - this has graduated to oslo_log, which heat now uses.
Change-Id: Ifbccde85674396830bc89821d6f25c6d8d193629
Replace usage of old incubator configuration generator by the
oslo.config tool.
tools/config/generate_sample.sh has been replaced by tox -egenconfig.
heat_integrationtests/generate_sample.sh has been replaced by
oslo-config-generator
--config-file=heat_integrationtests/config-generator.conf
Change-Id: I6d95df203b556c8ec2088d40a446427f7087b9a7
Remove jsonutils, strutils and timeutils modules.
They are not tracked in openstack-common.conf.
First two were not used anywhere, and single usage of timeutils is fixed
to use oslo.utils.
Change-Id: I368728e486bc7b05c0768df17123a0efad078efb
This module isn't referenced in openstack-common.conf and is unused
so remove it
Change-Id: I602f40c511095818a8aee5f342029993bd470de4
Partial-Bug: #1380629
Sync 838a2a3 oslo-incubator to get the new request_id shim, so
can introduce a deprecation warning that tells operators upgrading
from Juno that their paste.ini files need to point to oslo.middleware
This also syncs all other modules, except policy, which looks like it
needs some changes to heat thus will be handled via another patch.
Note we shouldn't remove this request_id shim until after Kilo is
branched.
Change-Id: I35125ffa263b0522ff6dd0b80b0beb3cbc79999b
Related-Bug: #1380629
Since i18n.install() is deprecated, remove it from heat codes and
import i18n._() to where it needed.
blueprint oslo-i18n
Change-Id: Icefada18b5a33112b425cd90d31d3a6a5f06188a
Move from oslo RPC to oslo.messaging.
Implements: blueprint oslo-messaging
Co-Authored-By: sdake@redhat.com
Change-Id: I2d222c248dd2cd405b8ec35c4c8198ed001fb69f
Sync oslo at c306bc19150fe6e58b088a713c8f45ba4c693496 to help
oslo.messaging transition. It also fixes how the oslo middleware module
is included, and remove the deprecated test module.
Change-Id: I2b44ba24e5a3445db6ffb9c56089ae282f3620b1
This syncing has contained oslo-incubator.middleware module
to get capability of x-openstack-request-id.
Change-Id: I8e3b7d23bc1def705a0399bbd5015241a0fba8b1
Partial-Bug: #1324065
This change is already merged in oslo-incubator. Original commit
message body includes:
Porting this fix from oslo.messaging. This fixes the impl_qpid.py
driver to allow it to work with the latest stable upstream QPID broker
(version 0.28). See the Apache Qpid Jira bug
https://issues.apache.org/jira/browse/QPID-5557
Change-Id: If71f78e50f8a9b3acfd1e9d02c8271f17c4ebee7
Related-Bug: #1300318
Sync with oslo incubator at commit
ea9ead81417e942495f3cc19be400801e7aa9cb4 to get the new config generator
script options.
Change-Id: I52e006325d5cf7ea731d85a73fb7c3675f1f7e41
oslo-incubator will introduce new integrity check in [1].
That will help developer find inconsistent issue while copying
from oslo-incubator. The check just outputs warnings. These are
changes according to warning:
* remove unused module py3kcompat
* add missing module context, processutils in openstack-common.conf
* sort the modules in openstack-common.conf
[1] https://review.openstack.org/#/c/76901/
Change-Id: I2fea01148f6ad268a5fcfdaa788e30d6fcb48c3f
Related-Bug: #1295582
There is a new support library extracted from oslo incubator: the patch
starts using it and removes deprecated modules.
Change-Id: I3839af20613ff6ab905dddb8fc4be65654c6e949
Common db code was updated in oslo. The most important thing is that
engine instances don't stored anymore in oslo.db - ce69e7f.
This patch moves methods `get_engine` and `get_session` to module
`heat.db.sqalchemy.api`.
Latest commit in oslo related to db module:
2fd457bf2ccbeb2b84ffb204778b6417cd5405ba
Change-Id: Iaa2e9ba26e824c678c698914170e3dffbf1c5c95
The patch cherrypicks 2 fixes related to utf8 migration:
* Ib5c0f93c788afda92aad862e50dc086dc39605f1: Ignore migrate versioning tables in utf8 sanity check
* I7f271d846141ac72dde3fb0d12159b125018eb2c: Make table utf-8 charset checking be optional for DB migration
Change-Id: Icb811e846c05f863a42611054f2e3f30a47573db
Closes-Bug: #1301036
cherry pick, including original commit message below from
oslo-incubator commit:
b4f72b2987d53bb434e3a833f06d70a2167f5efc
Closes bug: 1275838
Although this code error is part of the `ping_listener` tests, it was
missing from the list of known - and ignored - connection errors.
The code error 2013 refers to a connection lost during a query, see:
https://dev.mysql.com/doc/refman/5.0/en/error-messages-client.html#error_cr_server_lost
Without this error code, the session won't try to reconnect to mysql,
which makes `max_retries` useless.
Change-Id: Id8a1c0665468b503b092c4f01ffd40e2be9c6fa9
This is to get the schema check that was added.
Note:
- updated to commit: 8dee4b6f04523d71d2011243875865ebb1508eb6
- but this excludes the following commit:
6603e8fe90
Change-Id: Ia8e2faaac53f41ab12b51334a8564f7eed72f8e4
This is done seperately as it requires function calls to be changed.
Updated to commit: 8dee4b6f04523d71d2011243875865ebb1508eb6
Change-Id: Ia5613c6e7064dd80580bb6bec35ffd6f991f9aee