Zun

Make capsule support security groups

Bug #1762902 reported by hongbin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
In Progress
Medium
hongbin

Bug Description

Right now, we can create container with specified list of security groups. We would like to add the similar feature to capsule.

hongbin (hongbin034)
Changed in zun:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Deepak Mourya (mourya007) wrote :

Hi Hongbin,

To make this for the client side, what do you want exactly like
 e.g
   zun add-security-group <capsule> <security_group>
as we have same for the container.

Revision history for this message
hongbin (hongbin034) wrote :

@Deepak,

I don't think so. Currently, there is no capsule update command. If there is one, I guess it will be something like "zun capsule-update -f <capsule_yaml_file>". However, check with Kevin for this.

Rajat Sharma (tajar29)
Changed in zun:
assignee: nobody → Rajat Sharma (tajar29)
Rajat Sharma (tajar29)
Changed in zun:
assignee: Rajat Sharma (tajar29) → nobody
Changed in zun:
assignee: nobody → 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.