Oslo - a Library of Common OpenStack Code

move service.py and manager.py in to common

Registered by Angus Salkeld on 2012-08-06

Nova has some core infrastructure code for all its services which is broadly applicable to most OpenStack projects. This blueprint aims to move that code into openstack-common and rework it to be generally useful.

Blueprint information

Status:
Complete
Approver:
Mark McLoughlin
Priority:
High
Drafter:
Angus Salkeld
Direction:
Approved
Assignee:
Angus Salkeld
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Angus Salkeld on 2012-08-09
Completed by
Mark McLoughlin on 2012-11-13

Related branches

Sprints

Whiteboard

Historical background: http://wiki.openstack.org/UnifiedServiceArchitecture

Todo items tracked by https://bugs.launchpad.net/openstack-common/+bugs?field.tag=service-infrastructure

Gerrit topic: https://review.openstack.org/#q,topic:common-service,n,z

Addressed by: https://review.openstack.org/10594
    Move manager.py and service.py into common.

Addressed by: https://review.openstack.org/11059
    Basic service launching infrastructure

Addressed by: https://review.openstack.org/11060
    Add signal handling to service launcher

Addressed by: https://review.openstack.org/11061
    Add multiprocess service launcher

Addressed by: https://review.openstack.org/11062
    Add __getattr__() wrapper to Service

Addressed by: https://review.openstack.org/11063
    Add basic periodic task infrastructure.

Addressed by: https://review.openstack.org/11064
    Add threadgroup to manage timers and greenthreads.

Addressed by: https://review.openstack.org/11065
    Add the rpc service and manager

Addressed by: https://review.openstack.org/11066
    Integrate eventlet backdoor

Addressed by: https://review.openstack.org/11067
    Log config on startup

Addressed by: https://review.openstack.org/11068
    Add wsgi Service class

Addressed by: https://review.openstack.org/11069
    Update the wsgi Server class from nova's

Addressed by: https://review.openstack.org/11070
    Add support for ssl needed by glance.

Gerrit topic: https://review.openstack.org/#q,topic:bp/service-infrastructure,n,z

Mailing list discussion: http://lists.openstack.org/pipermail/openstack-dev/2012-September/001154.html

Gerrit topic: https://review.openstack.org/#q,topic:bp/wsgi-common,n,z

Gerrit topic: https://review.openstack.org/#q,topic:service-infrastructure,n,z

Addressed by: https://review.openstack.org/13953
    Implement consume_in_thread_group() for RPC connections. Fixes #1050371.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.