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
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
- It now requires the versionutils module.
- We need to deal with the "allow_rpc_exception_modules" not
including heat.common.exception
Change-Id: I1ea1479d7bc023649b2af0f68683e9a81f868df9
when set template use non-english resource_name and execute
"heat -v resource-list $stack_id". KeyError will occur because
heat can not encode it correctly. This patch will implement
a process to encode the resource_name.
The patch use a new module (strutils.py) taken from
oslo-incubator in order to use safe_encode() and
safe_decode(), and this module is useful for future
patchs.
Change-Id: Idddda20d96bca32cb4df94ede31b40f7141e3afe
Closes-Bug: #1249238
The openstack.common.exception has been deprecated and removed from
oslo-incubator. Therefore, Heat should follow the recommendation and
stop the usage of this file altogether.
Change-Id: I0364da262d956cecea7b77ebc40ead8ece224828
Closes-Bug: #1208734
This handler sends all error logs as rpc notifications.
Note: when using publish_errors you also need to set the
notification_driver option too.
Change-Id: I9ceb1fa92118161779b4b29e2cdc3b91f79ab733
Closes-bug: #1229246
See I62ce43a330d7ae94eda4c7498782a655e63747fa for the gorey details on
why this exists.
As of this fix:
https://github.com/eventlet/eventlet/pull/34
which was released in eventlet 0.13, we no longer need the patch.
This has now been removed from oslo-incubator, so this is really just
syncing that removal.
Change-Id: I84267f3c6726cb2e750f615e107c48b12c6ed353
Oslo version 96d1f887dda21b43ba4376187f31953dee6f5273
This commit just adds new db related code from Oslo
into Heat without additional changes
Partially implements blueprint oslo-db-support
Change-Id: I97515beaf0713f409405bdc27590e216f6ed1937
- Add generator.py from Oslo
- Add notifier from Oslo
- Add generator bash script used by other projects to generate configuration
files
- Update openstack-common.conf file
The patch https://review.openstack.org/#/c/36493/ needs
to be merged before this one. I'll rebase this patch and
generate the heat configuration.
Fix bug #1183275
Change-Id: Id7f24874b7e3e07d06dcf14bc381b9d630f67fc8
The heat/cmd/manage.py structure is copied from glance to give
us some consistency.
Removing unused cliutils ...
blueprint heat-manage
Change-Id: If3b69eb4c3672740515fd308ec868af1cd3c9396
Tests in oslo-incubator now need the horrendous hack to workaround an
issue with eventlet on RHEL6. We've moved the patch_tox_venv tool
and redhat-eventlet.patch into oslo-incubator, so add them to
openstack-common.conf.
Change-Id: I1acfec282b64d7582144b155119bedb1741db2f7
update.py was changed to support this format recently. It makes it
much easier to review changes to the list of modules.
Change-Id: I0f86f65e107ab54231bd48182947d5799e8a460f
The cfg API is now available via the oslo-config library, so switch to
it and remove the copied-and-pasted version.
Add the 2013.1b3 tarball to tools/pip-requires - this will be changed
to 'oslo-config>=2013.1' when oslo-config is published to pypi. This
will happen in time for grizzly final.
Add dependency_links to setup.py so that oslo-config can be installed
from the tarball URL specified in pip-requires.
Remove the 'deps = pep8==1.3.4' from tox.ini as it means all the other
deps get installed with easy_install which can't install oslo-config
from the URL.
Excluded code from oslo-incubator in the pep8 check.
Retain dummy cfg.py file until keystoneclient middleware has been
updated (I18c450174277c8e2d15ed93879da6cd92074c27a).
Change-Id: I4815aeb8a9341a31a250e920157f15ee15cfc5bc
Sync with latest oslo (now at bd5d9f0), and update config to
pull in policy.py
Change-Id: I3571477cbf7c538c9ddb6860f85265ed503d2049
Signed-off-by: Steven Hardy <shardy@redhat.com>
Use openstack.common routines. One of the parameters changed to
create_consumer().
Thanks to Russell Bryant for assistance with sorting out that problem.
Change-Id: I4badc7ca22298cd0aafc57a2335b3d6801289be8
Signed-off-by: Steven Dake <sdake@redhat.com>
Allows heat to match openstack-common log calling conventions such
as using a context object or instance UUID for better traceability.
Change-Id: Idaa6c04270d9d7143c85988d685c0f9e241b635b
Signed-off-by: Steven Dake <sdake@redhat.com>
Use openstack-common's update script to sync it to the latest.
Add some dire warnings that changes should be made in the upstream
copy of the code first.