summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Correcting openstack-common mv to oslo-incubator.Jeremy Stanley2012-11-111-1/+1
| | | | | | | | | | | | | | | | | | The earlier rename of openstack-common to oslo was incorrect; it should have been oslo-incubator instead per the 2102-11-06 Project meeting log. This change corrects its .gitreview file to match CI changes already merged. Change-Id: I9720387576a52654383bfc14f557ed1e06cc0a91
* | Update .gitreview for oslo.Jeremy Stanley2012-11-111-1/+1
|/ | | | | | | | | At the Design Summit it was decided that the OpenStack common modules would be named Oslo as part of an effort to convert them into a core project housing a collection of library dependencies. This handles the necessary update to .gitreview reflecting the new remote name. Change-Id: I350ff95213efe85579bc6fdce125237cb1f7f614
* Merge "Use spawn_n when not capturing return value"Jenkins2012-11-053-5/+5
|\
| * Use spawn_n when not capturing return valueEric Windisch2012-11-043-5/+5
| | | | | | | | | | | | If not capturing the return value, spawn_n is more efficient. Change-Id: Ie6baa934e81e17e2d73f70766628d4bc97b7aa5e
* | Merge "Remove unused imports from rpc test_common."Jenkins2012-11-051-2/+0
|\ \
| * | Remove unused imports from rpc test_common.Russell Bryant2012-11-051-2/+0
| | | | | | | | | | | | Change-Id: Ib7eed482bf452bf171462f9200fde9a83abf4606
* | | Merge "Tweak rpc.queue_get_for to deal with host=None."Jenkins2012-11-052-1/+5
|\| |
| * | Tweak rpc.queue_get_for to deal with host=None.Russell Bryant2012-11-052-1/+5
| | | | | | | | | | | | | | | | | | | | | Make rpc.queue_get_for() just a tad more convenient by dealing with the case of host=None. In that case, just return the base topic. Change-Id: I2f55c2205c219df7481dd6e507caf7182622195b
* | | Merge "Rename rabbit_notifier to rpc_notifier."Jenkins2012-11-052-24/+53
|\ \ \
| * | | Rename rabbit_notifier to rpc_notifier.Dan Prince2012-11-052-24/+53
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous rabbit_notifier module is generic and can be used for all RPC notifications. This commit moves the rabbit_notifier module to rpc_notifier and adds a new deprecated rabbit_notifier module which can be used for Grizzly so that users can have a chance to easily upgrade this config setting. Once this lands here I'd like to do the same in Quantum. Change-Id: I95073b1a8e06673d8e7363a4b37c050adbad97c5
* | | Merge "Restore proper LoggerTestCase"Jenkins2012-11-051-6/+8
|\ \ \ | |/ / |/| |
| * | Restore proper LoggerTestCaseEric Windisch2012-11-051-6/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Addresses bug #1075022 Addresses bug #1075028 LoggerTestCase was no longer running as another test was created with this name (presumably due to copy-paste) The duplicate has been renamed to a more appropriate name: LogLevelTestCase. Because LoggerTestCase was not executing, bitrot has occurred. This patch also addresses those resultant test failures. Change-Id: I4f3820ba748d20606bb484d0adbfe678fa1fa38d
* | Merge "Remove unused greenthread import in lockutils"Jenkins2012-11-051-1/+0
|\ \
| * | Remove unused greenthread import in lockutilsEric Windisch2012-11-041-1/+0
| |/ | | | | | | Change-Id: I24bfe5926aa5b8542b0ae1205d82aeb7a1e85b30
* | Remove openstack.common.config and extensions.Russell Bryant2012-11-056-1711/+0
| | | | | | | | | | | | | | | | | | | | Remove the config module. All core openstack projects are using the cfg module instead so no further development will be done on this module. Also remove the extensions module. This code was imported but there has been no attempt to get any projects to use it. Change-Id: I4a974ba1ea25e94fd55cad243cde5f1ef6a17289
* | Merge "Log CONF from ProcessLauncher.wait, like ServiceLauncher"Jenkins2012-11-052-1/+15
|\ \
| * | Log CONF from ProcessLauncher.wait, like ServiceLauncherDavid Ripton2012-10-312-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1050380 In the unit tests, we need to call CONF so that the config-file option referenced by log_opt_values() is registered. We also need unregister the default_publisher_id option to workaround bug #107372. Change-Id: Icc63237ddf97aaa730c0484974ec05a3080f8f04
* | | Merge "Relax the update.py replace regex."Jenkins2012-11-051-2/+2
|\ \ \
| * | | Relax the update.py replace regex.Angus Salkeld2012-11-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In service.py there is an import like: try: from openstack.common import rpc except: rpc = None and this currently does not get converted. The only downside is some doc strings also get converted. Change-Id: If283b50b8e889c0a1878e30cd7ff58494fabe634
* | | | Merge "Creates uuidutils module"Jenkins2012-11-052-0/+68
|\ \ \ \
| * | | | Creates uuidutils moduleZhongyue Luo2012-11-022-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1070198 Implements UUID processing functions used across projects. Change-Id: Ife2c972cea727dc7e453008bcd5871607e883d5c
* | | | | Fixes setup compatibility issue on WindowsYaguang Tang2012-11-031-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Bug #1052161 "python setup.py build" fails on Windows due to a hardcoded shell path: /bib/sh. Change-Id: Iee0a1fcbdabfd469e92fa73002763d419e75ec27
* | | | | Merge "Make ThreadGroup derived from object to make mocking possible"Jenkins2012-11-021-1/+1
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Make ThreadGroup derived from object to make mocking possibleAngus Salkeld2012-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Else mox says it is not callable. Change-Id: I7ec552f2502c3328a1d87932f329d4446a361fca
* | | | | Merge "kombu's fanout_cast_to_server was calling wrong method"Jenkins2012-11-011-1/+1
|\ \ \ \ \
| * | | | | kombu's fanout_cast_to_server was calling wrong methodChris Behrens2012-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it call the common amqp method fanout_cast_to_server vs cast_to_server. Fixes bug 1074113 Change-Id: If06bde93dab94c6030465a5e7ba329d8936c69e3
* | | | | | Move utils.execute to its own module.Michael Still2012-11-016-146/+208
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also move the exceptions raised to being local to the executils module. Change-Id: Ibb2445f92840b9ce4b52373b0b09adb3d6a4a897
* | | | | Merge "Don't log exceptions for GreenletExit and thread_done"Jenkins2012-11-011-11/+12
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Don't log exceptions for GreenletExit and thread_doneAngus Salkeld2012-11-011-11/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Greenletexit is normal so don't log it. 2) logging in a linked callback is just asking for problems. (we don't want to cause a context switch in this callback). Change-Id: Ia9bb1cabc65a742fc49beb379548eb680b326e58
* | | | Merge "Removes redundant string cast"Jenkins2012-11-011-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Removes redundant string castZhongyue Luo2012-10-311-1/+1
| |/ / | | | | | | | | | | | | | | | Removes uuid.UUID.hex result string casting Change-Id: I4b0ed3ec1e4dc4a1ade149a539c5068ac154ebf7
* | | Merge "move nova.common.deprecated to openstack-common"Jenkins2012-10-312-0/+71
|\ \ \
| * | | move nova.common.deprecated to openstack-commonSean Dague2012-10-312-0/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #1070511 nova has a common deprecation path which lets you turn deprecation warnings into fatal errors via config. Make this a function of the openstack common log to make it available to other projects in a standard way. Include exception directly in logging module. Update exception to work correctly now that it's not based off of nova's exception class. Change-Id: I699e776c99c429e60dfb5cd6c0cdbb661bae0ce8
* | | | Add a missing comma in a docstring.David Ripton2012-10-311-1/+1
| |/ / |/| | | | | | | | Change-Id: I1f75c7da1ab1543637198ecbb80a81b39ad35fde
* | | Merge "Use queue_arguments for fanout consumers too."Jenkins2012-10-301-0/+1
|\ \ \
| * | | Use queue_arguments for fanout consumers too.Sam Morrison2012-10-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 1071528 queue_arguments (currently only x-ha-policy for now) were only set for topic consumers, this adds support for rabbit HA for fanout consumers too. Change-Id: I0d5c0393b49cf249262d93a64f6348caa76ef8dd
* | | | Merge "Add setup.py for registering namespace package"Jenkins2012-10-303-0/+48
|\ \ \ \
| * | | | Add setup.py for registering namespace packageDoug Hellmann2012-10-303-0/+48
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Create a dummy package and setup.py file solely to be used to register the name "oslo" on PyPI. Change-Id: Ica9dd1cf05fda36c317223ead22a94f337f3ae21 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
* | | | Merge "Import order clean-up"Jenkins2012-10-308-10/+10
|\ \ \ \
| * | | | Import order clean-upZhongyue Luo2012-10-298-10/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | Reorder imports by full module path Change-Id: If619b4b50aa052401f7fa65df57b74d4ad1b65a6
* | | | Merge "Fix a logic error in stable version calculation."Jenkins2012-10-301-3/+5
|\ \ \ \ | |/ / / |/| | |
| * | | Fix a logic error in stable version calculation.Monty Taylor2012-10-261-3/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Milestone information in blank for stable branches, so there is no milestone prefix. However, we were blindly concatenating the milestone version prefix onto the datestamp. Fixes bug 1059634. Change-Id: I6cff4ee7f6c1dc970397b66fd2d15fa22b0a63a3
* / / cfg: fix required if option has a dashJulien Danjou2012-10-262-1/+9
|/ / | | | | | | | | | | | | | | | | If an option has a dash in it and is required, the check fails because it tries to self._get() on the name (with dash) rather than the dest (with underscore). Change-Id: I6448019f70f98bc2e58a325d0cf9ce88b8bb085b Signed-off-by: Julien Danjou <julien@danjou.info>
* / Fix missing import in lockutils.Michael Still2012-10-231-0/+1
|/ | | | | | This showed up while integrating these changes into nova. Change-Id: I48d846fc761c45cf97480a49c99d20817f1dea2d
* Move nova's util.synchronized decorator to openstack common.Michael Still2012-10-184-0/+469
| | | | | | | In the end I needed to port utils.ensure_tree as well. Resolves bug 1063230. Change-Id: I6e6fa8201de2cac3f17e6c60d7b16f7df7c64116
* Fix a couple of file handle leaks, using with statements.David Ripton2012-10-171-9/+11
| | | | | | | | | In practice unclosed file handle leaks are not a huge deal in CPython code, because reference counting means they get closed automatically in a timely manner. But they're bad style, and they can become a real problem if the code is run with a version of Python that doesn't use reference counting. Change-Id: Ie54b979e26ffc9dd405871ee07c50b304cb36c67
* Merge "Revert "fanout subscriptions in impl_zmq""Jenkins2012-10-162-78/+20
|\
| * Revert "fanout subscriptions in impl_zmq"Eric Windisch2012-10-112-78/+20
| | | | | | | | | | | | | | | | | | | | This changed the message format without consideration for versioning. If this is resubmitted, it will be only after message versioning is introduced. This reverts commit 032bf345ea593e97fcc07e23c1725ba5f4b612d0. Change-Id: I4f4326b0ba78699b5f149cc2d2822235e9a30462
* | Merge "Revert "Support declare_topic_consumer in impl_zmq""Jenkins2012-10-161-29/+0
|\|
| * Revert "Support declare_topic_consumer in impl_zmq"Eric Windisch2012-10-111-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | Depends on reverted patch. Not used by any code or project. This was an implementation of an internal AMQP-driver method. Will determine long-term requirement or replacement for declare_topic_consumer at Grizzly sumit. This reverts commit d5095d7effe79c1dcf19a67ff03e00a454662830. Change-Id: I48883c5011ebccba3e6f987ae48bff871d016bd1