cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9245) As an User I want to be able to delete non-attached ACL lists that contain items
Date Fri, 22 Jan 2016 12:15:39 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112356#comment-15112356
] 

ASF GitHub Bot commented on CLOUDSTACK-9245:
--------------------------------------------

Github user wilderrodrigues commented on the pull request:

    https://github.com/apache/cloudstack/pull/1358#issuecomment-173902040
  
    Problem fixed!
    
    Ping @remibergsma @borisroman 
    
    * Delete ACL that contains items via Cloud Monkey
    ```
    (local) 🐵 > delete networkacllist id=e4ade8e1-9e69-489a-8642-b895f730090d 
     
    accountid = 795ac80c-c0fc-11e5-902d-5254001daa61
    cmd = org.apache.cloudstack.api.command.user.network.DeleteNetworkACLListCmd
    created = 2016-01-22T12:11:01+0000
    jobid = aa6835e8-efb0-4e27-9191-b6d738b8cf99
    jobprocstatus = 0
    jobresult:
    success = True
    jobresultcode = 0
    jobresulttype = object
    jobstatus = 1
    userid = 795ada3a-c0fc-11e5-902d-5254001daa61
    (local) 🐵 >
    ```
    
    * Destroy VPC that has ACL with items via Cloud Monkey
    ```
    (local) 🐵 > delete vpc id=77338add-a3d4-4c07-8ff3-b37100a8dc28 
     
    accountid = 795ac80c-c0fc-11e5-902d-5254001daa61
    cmd = org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd
    created = 2016-01-22T12:13:50+0000
    jobid = 7cb18193-6d4f-4a0b-afd4-96c25ab7731e
    jobprocstatus = 0
    jobresult:
    success = True
    jobresultcode = 0
    jobresulttype = object
    jobstatus = 1
    userid = 795ada3a-c0fc-11e5-902d-5254001daa61
    (local) 🐵 > 
    ```
    
    * List ACLs after destroying the VPC
    ```
    (local) 🐵 > list networkacls
    count = 4
    networkacl:
    id = 7a955f27-c0fc-11e5-902d-5254001daa61
    aclid = 7a955664-c0fc-11e5-902d-5254001daa61
    action = Allow
    cidrlist = 0.0.0.0/0
    fordisplay = True
    number = 2
    protocol = all
    state = Active
    tags:
    traffictype = Egress
    ================================================================================
    id = 7a955aae-c0fc-11e5-902d-5254001daa61
    aclid = 7a955664-c0fc-11e5-902d-5254001daa61
    action = Allow
    cidrlist = 0.0.0.0/0
    fordisplay = True
    number = 1
    protocol = all
    state = Active
    tags:
    traffictype = Ingress
    ================================================================================
    id = 7a9551d2-c0fc-11e5-902d-5254001daa61
    aclid = 7a954338-c0fc-11e5-902d-5254001daa61
    action = Deny
    cidrlist = 0.0.0.0/0
    fordisplay = True
    number = 2
    protocol = all
    state = Active
    tags:
    traffictype = Egress
    ================================================================================
    id = 7a954c65-c0fc-11e5-902d-5254001daa61
    aclid = 7a954338-c0fc-11e5-902d-5254001daa61
    action = Deny
    cidrlist = 0.0.0.0/0
    fordisplay = True
    number = 1
    protocol = all
    state = Active
    tags:
    traffictype = Ingress
    (local) 🐵 > 
    ```


> As an User I want to be able to delete non-attached ACL lists that contain items
> --------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9245
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9245
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VPC
>    Affects Versions: 4.5.0, 4.6.0, 4.7.0
>            Reporter: Wilder Rodrigues
>            Assignee: Wilder Rodrigues
>             Fix For: 4.7.1
>
>
> Create a VPC, add a network, create an ACL, add items to the ACL, attached the ACL to
the network.
> Trying to delete it should fail, and it actually does. That's expected.
> Now detach the ACL from the network, delete the network, try to delete the ACL. It fails
because the ACL contains item.
> If we delete the VPC, the ACL is also deleted. We want to simply delete the ACL and its
items in one go.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message