summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Use auth_token from keystonemiddlewareDevananda van der Veen2014-08-111-1/+1
| | | | | | | | | | auth_token middleware in python-keystoneclient is deprecated and has been moved to the keystonemiddleware repo. This patch updates Ironic to use the new keystonemiddleware package. Change-Id: Ifb48996867f9f51c4dbedde0e0d9476c2d2818b4 Closes-Bug: #1342274
* Sync oslo.incubator modulesGhe Rivero2014-08-053-6/+29
| | | | | | | | Update the openstack.common modules from oslo.incubator to have a current copy needed to start using new released oslo libraries. Change-Id: I60ea98b3381cbbc3d2905af224792ee68b423825
* Use oslo.db libraryVictor Sergeyev2014-07-171-1/+1
| | | | | | | | | | | 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
* Port to oslo.messagingLucas Alvares Gomes2014-04-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Do not use __builtin__ in python3yangxurong2014-03-131-2/+1
| | | | | | | | __builtin__ does not exist in Python 3, use six.moves.builtins instead. Change-Id: I79b61b5ab67f491ce88015f799ff7d66c9eeb7ee closes-bug: #1290234
* Import Nova "ironic" driverChris Krelle2014-03-051-1/+1
| | | | | | | | | | | | Import the Nova "ironic" driver from the Nova review queue. This Nova driver will not be present in the Icehouse release of Nova, but is required for Ironic functionality and can be installed as an out-of-tree driver. Co-Author: Lucas Alvares Gomes <lucasagomes@gmail.com> Co-Author: Devananda van der Veen <devananda.vdv@gmail.com> Change-Id: I3351dee1a4b2dfb50317ce85dffe8012f0feca6c
* Remove extraneous vim configuration comments for ironicHe Yongli2014-02-261-2/+0
| | | | | | | | | | | | Remove vim setting: comment - # vim: tabstop=4 shiftwidth=4 softtabstop=4 at the top of source code files, except for files in openstack/common. Change-Id: Ie80f76f08e27b7f5f747227c4cca8d79ad98bec6 Partial-Bug: #1229324
* Sync common config module from OsloVictor Sergeyev2014-02-251-6/+26
| | | | | | | | | | | | | | | | | | | | | | | List of changes 1a6dfb9 Sanitize FQDN in config generator e839886 Config generator fails with lazy messages 763eedf Fix DictOpt support in config sample generator e3dddd7 generator: use EXTRA_* env vars in the bash script e8e636c generator: add an EXTRA_LIBRARIES env variable 5dce17b Use entry points to discover options in libraries dd9aa2b Remove unused variables ad17a69 Fix filter() usage due to python 3 compability 7c18261 Temporary workaround for config generator 4b3e32b Sort the output of config/generator.py by group name 12bcdb7 Remove vim header 806272e Improve error reporting on import failures 6cd1c33 Clean up extra modules code Updated ironic.conf.sample using new config generator. Closes-Bug: #1282481 Change-Id: Ice3e527589bbf0e881d21f55229264513ea445d2
* Add [keystone_authtoken] to ironic.conf.sampleDevananda van der Veen2014-01-211-0/+1
| | | | | | | | | Update the auto-generation of our sample config file by exporting a variable to oslo.config.generator such that it will include the keystone_authtoken section when building our config. Change-Id: I8f0d93846cd948059ac6cbc6ec4024257e2c3f27 Closes-bug: 1271308
* Sync config module from osloDevananda van der Veen2013-12-273-11/+39
| | | | | | | | | 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
* Add tools/conf/check_uptodate to tox.iniDevananda van der Veen2013-12-062-23/+92
| | | | | | | | | | | | To ensure that our sample config file, etc/ironic/ironic.conf.sample, does not get out of sync with the code, this patch introduces a check to tox that will compare the proposed ironic.conf.sample to a freshly generated one, and error if they are not identical. Ported from Nova's tools/config/check_uptodate.sh script. Change-Id: Ic2898142754547e32bc4c03d23eca5d6a33721fc Closes-bug: 1255621
* Remove obsolete redhat-eventlet.patchMark McLoughlin2013-10-092-88/+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
* Merge "Sync install_venv_common from oslo"Jenkins2013-07-091-26/+16
|\
| * Sync install_venv_common from osloMonty Taylor2013-07-071-26/+16
| | | | | | | | | | | | | | | | | | The current version of install_venv_common uses the --distribute flag in its creation of the virtualenv. This causes some upgrade problems with the new versions of distribute and setuptools. The solution to those problems is to get off of the distribute bandwagon. Change-Id: Ie3de2504fe08f751dbf3f06e4973716a51d7e25b
* | Add conf file generator.Anita Kuno2013-06-201-0/+27
|/ | | | | | | | 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
* Copy the RHEL6 eventlet workaround from OsloMark McLoughlin2013-05-271-3/+15
| | | | | | | | | 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
* Fix pep8 errors and make it pass Jenkins tests.Devananda van der Veen2013-05-166-129/+4
| | | | | | | | | | Fix all existing pep8 errors. Remove install_venv and friends, which were not needed. Add a few ignores for nova code that is yet to be cleaned up. Skip one failing test case, fixed by review 29394. Import contrib/redhat-eventlet.patch from Nova. Change-Id: I46b6ccaa272bd058757064672ce9221263ed7087
* Implement initial draft of a Pecan-based API.Devananda van der Veen2013-05-132-10/+17
|
* Rename files and fix things.Devananda van der Veen2013-05-075-15/+94
|
* Import add'l files from NovaDevananda van der Veen2013-05-074-17/+93
| | | | | Import lots of files from Nova at rev f0da3464ab17552f24977d22365fa9573702f5a8
* Added project infrastructure needs.Monty Taylor2013-05-023-0/+254