Use oslo.service in Watcher

Bug #1541850 reported by Vincent Françoise on 2016-02-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
watcher
Wishlist
Vincent Françoise

Bug Description

In watcher/common/service.py, there a RPCService class which is currently unused. This class is similar to one we can find in Ironic (see https://github.com/openstack/ironic/blob/master/ironic/common/service.py#L59) and should be used to run both the decision-engine and the applier services.

This is an effort to consolidate the Watcher services for making it more production-ready.

Changed in watcher:
milestone: none → mitaka-3
Changed in watcher:
milestone: mitaka-3 → mitaka-rc-final
Changed in watcher:
assignee: nobody → Vincent Françoise (vincent-francoise)

Related fix proposed to branch: master
Review: https://review.openstack.org/294555

Changed in watcher:
status: New → In Progress
Changed in watcher:
milestone: mitaka-rc-final → newton-1

Reviewed: https://review.openstack.org/294555
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=a9e7251d0d57015d752ca7e8b9ea1f1667d8ddc5
Submitter: Jenkins
Branch: master

commit a9e7251d0d57015d752ca7e8b9ea1f1667d8ddc5
Author: Vincent Françoise <email address hidden>
Date: Fri Mar 18 11:12:48 2016 +0100

    Refactored Watcher API service

    This patchset introduces the use of oslo.service to run the
    Watcher API service.

    Change-Id: I6c38a3c1a2b4dc47388876e4c0ba61b7447690bd
    Related-Bug: #1541850

Changed in watcher:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/294556
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=eb861f86abd3c470ea7abac39e7ff23c26e7c9ab
Submitter: Jenkins
Branch: master

commit eb861f86abd3c470ea7abac39e7ff23c26e7c9ab
Author: Vincent Françoise <email address hidden>
Date: Fri Mar 18 10:22:46 2016 +0100

    Refactored DE and Applier to use oslo.service

    In this PS, I have refactored the Decision Engine and the Applier
    to use the oslo service utility.

    Change-Id: If29158cc9b5e5e50f6c69d67c232cceeb07084f2
    Closes-Bug: #1541850

This issue was fixed in the openstack/watcher 0.27.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers