Ruby Loo ec202c444b Separate WSGIService from RPCService
This patch fixes a problem which prevented Ironic from honoring the
interval values configuration for the periodic tasks. Since the interval
values are passed to a decorator, the configuration options should be
evaluated prior to importing the module which contains the periodic tasks.

In our case this was not happening due to the chain of imports going
from ironic.cmd.conductor -> ironic.common.service -> ironic.api.app
-> ... -> ironic.conductor.manager. This caused the @periodic
decorators to be evaluated before the configuration options were loaded.

This patch breaks that chain of imports by separating the WSGIService
and RPCService classes into two separate files. The conductor uses the
RPCService, and since it is now in a separate file from WSGIService, it
no longer pulls in ironic.api.app, ..., and ironic.conductor.manager.
(ironic.api.app was being imported because WSGIService needed it.)

Change-Id: Ie318e7bb2d2c2d971a796ab8960be33fccbd88f3
Closes-Bug: #1562258
Co-Authored-By: Lucas Alvares Gomes <lucasagomes@gmail.com>
2016-09-15 11:14:20 -04:00
2016-09-08 13:41:38 +01:00
2013-05-02 14:55:43 -04:00
2013-10-28 10:19:15 +00:00
2015-09-28 21:27:01 +00:00
2013-07-22 09:51:10 +02:00
2013-05-02 14:55:43 -04:00
2016-08-23 12:49:04 -07:00
2015-08-31 21:43:58 +00:00
2016-09-02 12:08:38 +02:00
2015-09-22 03:33:28 +00:00
2016-09-07 08:40:48 -04:00
2015-08-07 09:51:32 +00:00

Ironic

Ironic consists of an API and plug-ins for managing and provisioning physical machines in a security-aware and fault-tolerant manner. It can be used with nova as a hypervisor driver, or standalone service using bifrost. By default, it will use PXE and IPMI to interact with bare metal machines. Ironic also supports vendor-specific plug-ins which may implement additional functionality.

Ironic is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Project resources

Project status, bugs, and requests for feature enhancements (RFEs) are tracked on Launchpad: http://launchpad.net/ironic

For information on how to contribute to ironic, see http://docs.openstack.org/developer/ironic/dev/code-contribution-guide.html

Description
A service for managing and provisioning Bare Metal servers.
Readme 309 MiB
Languages
Python 98.1%
Shell 1.8%