Zun

Define periodic task to sync capsule status

Bug #1751193 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
In Progress
High
hongbin

Bug Description

We have periodic task to sync container's status. Need to do the same for syncing capsule's status

hongbin (hongbin034)
Changed in zun:
importance: Undecided → High
status: New → Triaged
Kevin Zhao (kevin-zhao)
Changed in zun:
assignee: nobody → Kevin Zhao (kevin-zhao)
Revision history for this message
bharaththiruveedula (bharath-ves) wrote :

@kevin-zhao, are you working on this, if not can I assign it to myself?

Revision history for this message
Kevin Zhao (kevin-zhao) wrote :

Yes I already submitted a patch. Sorry about that. I forgot to link thepatch with this bug.

Changed in zun:
assignee: Kevin Zhao (kevin-zhao) → hongbin (hongbin034)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun (master)

Reviewed: https://review.openstack.org/633371
Committed: https://git.openstack.org/cgit/openstack/zun/commit/?id=d0a7940981bb123bfc12d4ed2d24a4bf50e513e4
Submitter: Zuul
Branch: master

commit d0a7940981bb123bfc12d4ed2d24a4bf50e513e4
Author: Hongbin Lu <email address hidden>
Date: Sat Jan 26 23:50:22 2019 +0000

    Consolidate Container and Capsule in compute

    In before, create/delete Capsule has its own RPC api and compute
    manager implementation. The code is largely duplicated with
    the Container equivalent. In fact, the code duplication leads
    to bugs or missing features and it is hard to maintain.

    This commit refactor the compute node implementation for capsule.
    First, the capsule RPC API is removed and the controller will
    use the container RPC for create/delete capsule in compute node.
    Second, the capsule implementation is removed from compute manager.
    Instead, we will reuse the container implementation for capsule.
    Third, we introduce capsule operation in container driver.
    The capsule-specific logic will be implemented by different drivers.

    After this patch, all existing container features (i.e. resource
    tracking and claiming, asynchronized delete, etc.) will be available
    for capsule immediately. In long term, the common implementation
    for capsule and container will be easier to maintain.

    Closes-Bug: #1801649
    Closes-Bug: #1777273
    Partial-Bug: #1762902
    Partial-Bug: #1751193
    Partial-Bug: #1748825
    Change-Id: Ie1d806738fcd945a4f370bdfc7fa8fb5fb815e8d

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.