summaryrefslogtreecommitdiff
path: root/openstack-common.conf
Commit message (Collapse)AuthorAgeFilesLines
* Switch to the oslo_utils.fileutilsSergey Vilgelm2015-07-151-1/+0
| | | | | | | | | | | fileutils is graduated in the oslo.utils library. Implements: blueprint graduate-fileutils[1] [1] https://blueprints.launchpad.net/oslo-incubator/+spec/graduate-fileutils Depends-On: I51ba9076e1fbc16145ee2311f47b7768c16dcb20 (requirements) Change-Id: I15388a1dac6fb08c73392d0803ac1a3977de6982
* Switch to oslo.serviceSergey Vilgelm2015-06-291-3/+0
| | | | | | | oslo.service has graduated, so ironic should consume it. Change-Id: Iaa1ca0d97b92b9a6858b2c2d50eb514cc2118762 Closes-Bug: #1466851
* Sync with latest oslo-incubatorDavanum Srinivas2015-06-101-6/+0
| | | | | | Periodic sync with latest oslo-incubator code Change-Id: Ia18335278da4c25240e537d53687658fe4fbaa6a
* Use oslo_log libGhe Rivero2015-05-051-1/+0
| | | | | | Module 'log' from oslo-incubator was removed after release of oslo_log library. Change-Id: I4261083dae076cea66c42ad16eb82a5faaeb1a65
* Sync from oslo.incubatorGhe Rivero2015-03-181-4/+2
| | | | | | | | | | Update imports from oslo.incubator and remove old modules no longer used. The config.generator scripts are no longer available and were not incorporated to oslo.config so leaving those here. Change-Id: I25dd3e559aeb3040068ac071d213a2b7da8de3c1
* Use oslo_policy packageGhe Rivero2015-03-121-1/+0
| | | | | | | Use graduated library oslo_policy and remove any reference to the policy module from oslo.incubator Change-Id: I6a2a608282039ce5c1e711cae2635918d04fd0a2
* Use oslo_context packageGhe Rivero2015-03-121-1/+0
| | | | | | | Use graduated library oslo_context and remove any reference to the context module from oslo.incubator Change-Id: I590f033c4b164cea9022cd951ded393b7406381e
* Switch to oslo.concurrencyDerek Higgins2014-10-281-2/+0
| | | | | | | | | | | Nova has removed nova/openstack/common/lockutils.py and switched to oslo.concurrency so we can no longer import lockutils from the nova tree. Make the same switch in the ironic tree. Closes-Bug: #1386631 Change-Id: I8db99d61dbe6c50c9edae37077242e2696bc5671
* Migration to oslo.serializationGhe Rivero2014-10-101-1/+0
| | | | | | | oslo.serialization library has graduated and now provides all the jsonutils API that was available in oslo-incubator. Change-Id: Ie80d58db4a96a10a57f975984fe69dead95c6d63
* Remove unused modules from openstack-common.confVladyslav Drok2014-09-101-5/+0
| | | | | | | | | | | openstack-common.conf under "The list of modules to copy from oslo-incubator" section contains some modules that are not used by Ironic code, only by openstack/common modules. Such modules should be removed from openstack-common.conf, as oslo-incubator/update.py can handle internal dependencies. Change-Id: Ifb3cc67efba10dd39e86c1d3a0cc769753de2122 Closes-bug: #1367291
* Migration to oslo.utils libraryGhe Rivero2014-08-061-3/+0
| | | | | | | | | | | | | | | | | | | oslo.utils has been released with the modules excutils, importutils, strutils and timeutils. Changes done: - Use the new oslo.utils modules when possible (not updated in the nova.ironic driver and other oslo.incubator modules) - importutils.import_module now is importutils.try_import - Updated requirements.txt with the new library - strutils.to_bytes now is strutils.string_to_bytes Once the nova.ironic driver is migrated into nova tree, old references and libraries can be cleaned (Bug: #1350269) Closes-Bug: #1353540 Change-Id: Ic0af04ebd07b23eb94df32a6abf0e490d597f32a
* Sync oslo imageutils, strutils to IronicZhongyue Luo2014-08-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in imageutils: =============================== 9e88af1 fixed typos found by RETF rules b455fac Enable decimal value input in imageutils.QemuImgInfo bec3a5e Implements SI/IEC unit system conversion to bytes 8b2b0b7 Use hacking import_exceptions for gettextutils._ aad179d Fixing misspelled encryption key in QemuImgInfo 12bcdb7 Remove vim header 2bd46eb Refactors byte size extraction logic 0356685 Adds common image utils Changes in strutils: ==================== cb5a804 Move `mask_password` to strutils 8a0f567 Remove str() from LOG.* and exceptions fd18c28 Fix safe_encode(): return bytes on Python 3 302c7c8 strutils: Allow safe_{encode,decode} to take bytes as input bec3a5e Implements SI/IEC unit system conversion to bytes e53fe85 strutils bool_from_string, allow specified default 8b2b0b7 Use hacking import_exceptions for gettextutils._ 84d461e Fix a bug in safe_encode where it returns a bytes object in py3 12bcdb7 Remove vim header Change-Id: If0d16d70c004344511b9851c8a533759f0d2bb52
* Use oslo.db libraryVictor Sergeyev2014-07-171-3/+0
| | | | | | | | | | | oslo.db library has been graduated from oslo-incubator, so now we can use it instead of ironic.openstack.common.db.* code. Co-Authored-By: Ghe Rivero <ghe.rivero@hp.com> Implements: blueprint oslo.db Change-Id: I250050a7dbd8735ba3af954223b54eabae793f59
* Clean up openstack-common.confChangBo Guo(gcb)2014-05-091-0/+3
| | | | | | | | This patch clean up openstack-common.conf: * remove unused module sslutils * add missing module versionutils in openstack-common.conf Change-Id: Ibf36a9e5507dcae3209227b563cc3ef566d976cd
* Clean oslo dependencies filesGhe Rivero2014-04-281-6/+5
| | | | | | | | | Modules py3kcompat, flakes, test and setup are no longer available or needed. The modules install_venv_common and config are now synced as scripts. Change-Id: I2da06cb3599c6ba2ec736789d48679d38d4150c6
* Port to oslo.messagingLucas Alvares Gomes2014-04-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The oslo.messaging library takes the existing RPC code from oslo and wraps it in a sane API with well defined semantics around which we can make a commitment to retain compatibility in future. The patch is large and hard to be split into different patches, but the changes can be summarized as: * Remove openstack/common/{rpc, notifier, log_handler} modules dependency (superceded by oslo.messaging) * New config option `conductor.workers_pool_size` add to determine the size of the workers greenthread pool. * PeriodicService class refactored and renamed to RPCService, all periodic tasks methods were moved to the ConductorManager class leaving RPCService class to be resposable for setting up and starting the RPCServer from oslo.messaging only. * In oslo.messaging, a request context is expected to be a dict so the method RequestContext.{to,from}_dict() was updated/added to the module. * The allowed_rpc_exception_modules configuration option is replaced by an allowed_remote_exmods get_transport() parameter. This is not something that users ever need to configure, but it is something each project using oslo.messaging needs to be able to customize. * New common/rpc.py module added to wrap the global messaging state. It also contains transport aliases for backwards compatibility with IceHouse rpc_backend configuration values. blueprint: oslo-messaging Change-Id: I454e8898baed002a1cddb9eb76492ae9c2f1212b
* Correct version.py and update current version stringDevananda van der Veen2014-03-211-1/+0
| | | | | | | | | | | | | | | | Correct the version string in setup.cfg for Icehouse. Make ironic/version.py use PBR instead of the stale code that was there. Make ironic/common/config.py properly set the version string so that all CLI commands output it when "--version" is passed. Remove openstack.common.version module which is no longer present in oslo-incubator. Closes-bug: #1294389 Change-Id: I9a7bfe5fc1b79934cf2467d6f8a6c16f41205dbf
* Sync Oslo service module to IronicYuriy Zveryanskyy2014-02-171-0/+1
| | | | | | | | | New Oslo service code does correct stop Ironic conductor service from screen session on devstack (screen -S stack -p ir-cond -X kill), otherwise multiple conductors started on devstack after few unstack/rejoin-stack cycles. Change-Id: Ia8b4523e1288ca0817b94f85070f78237908a410
* Sync db.sqlalchemy code from OsloLucas Alvares Gomes2014-01-301-0/+3
| | | | | | | | | | | | | Patch contains common code from Oslo, we need to sync this modules to fix a problem with a newer version of sqlite and the db.sqlachemy module that is causing some of tests to fail if the version of the sqlite is >=3.7.16. The patch also includes the code needed with the transition from migrate tool to alembic, these base migration classes depends on the py3kcompat and test modules which were also added to the project. Closes-Bug: #1272500 Change-Id: Ifcd1254f16506a4247523056d6ad4ad8d7aefdac
* Use oslo.rootwrap library instead of local copyLucas Alvares Gomes2014-01-171-1/+0
| | | | | | | | | | | Remove rootwrap code copied from oslo-incubator, make the ironic-rootwrap console_script entrypoint point to oslo.rootwrap code instead. Patch based on: https://review.openstack.org/#/c/67422 Change-Id: I3dd2c4cab6652dea5bd755b6048cbeea9edc81cf Partial-Bug: #1268674
* Sync config module from osloDevananda van der Veen2013-12-271-0/+1
| | | | | | | | | Add 'config' to openstack-common so that it syncs from Oslo, move tools/conf -> tools/config to be able to sync from Oslo, and then sync the changes which are proposed in oslo-incubator commit Iee6cc05cad70963f2a151f595ac376c9338f5774. Change-Id: I32a80b0e2aa0e26b9fc78b7546c07e102639374e
* Remove openstack.common.uuidutilsLucas Alvares Gomes2013-11-261-1/+0
| | | | | | Remove the oslo uuidutils module requirement. Change-Id: Ic17282c87d6a95b64f3874e189f89c9f9f8be196
* Removes unwanted mox and fixture fileslinggao2013-10-161-1/+0
| | | | | | | | | Module ironic.openstack.commom.fixture.moxstubout and mockptch are no longer needed, so the whole directory is removed by this patch. mox is removed from test-requirements.txt because it is no longer used in ironic unit test cases. Change-Id: I6060546b565c096c3a602b22f28b5d84b8a03b24
* Remove obsolete redhat-eventlet.patchMark McLoughlin2013-10-091-2/+0
| | | | | | | | | | | | | | | | 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
* Add common code from Oslo for db migrations testYuriy Zveryanskyy2013-07-231-0/+1
| | | | | | | | Moved common code for db migrations test from Oslo. partially implements blueprint db-migration-tests Change-Id: Icf8c27a40ccc0114e6001cfa64444ca1cdb132fa
* Sync strutils from oslo-incubatorGhe Rivero2013-06-251-0/+1
| | | | | | Implements: blueprint equivalent-pxe-driver Change-Id: Ib2679ed0d85411f6ca74a593174683eeb24f890e
* Merge "Add conf file generator."Jenkins2013-06-211-0/+1
|\
| * Add conf file generator.Anita Kuno2013-06-201-0/+1
| | | | | | | | | | | | | | | | Add oslo generator.py and generate_sample.sh similar to nova. These files provide generator functionality for creating a conf file. Fixes: bug #1191032 Change-Id: I5a239e41f822e2f51c95d7a44e8d62c38c62c8ac
* | Remove the unused plugin frameworkMark McLoughlin2013-06-191-1/+0
|/ | | | | | | This framework is used by Nova to allow adding API extensions and notification drivers. Ironic doesn't use the code at all. Change-Id: I09e4f14a65b162d5d0571da0b724d0f8a8f11646
* Copy the RHEL6 eventlet workaround from OsloMark McLoughlin2013-05-271-0/+2
| | | | | | | | | 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
* Sync log changes from oslo-incubatorMark McLoughlin2013-05-221-0/+1
| | | | | | | | This syncs: b135234 Remove the notifier and its dependencies from log.py Change-Id: I20699fada068d52c812809237c3d16b653b56bc2
* Implement initial draft of a Pecan-based API.Devananda van der Veen2013-05-131-2/+0
|
* update openstack-common.conf and import from osloDevananda van der Veen2013-05-071-0/+34