Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6AE418A5E for ; Tue, 26 Jan 2016 07:41:40 +0000 (UTC) Received: (qmail 32705 invoked by uid 500); 26 Jan 2016 07:41:40 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 32668 invoked by uid 500); 26 Jan 2016 07:41:40 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 32656 invoked by uid 500); 26 Jan 2016 07:41:40 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 32647 invoked by uid 99); 26 Jan 2016 07:41:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 07:41:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 279D02C1F58 for ; Tue, 26 Jan 2016 07:41:40 +0000 (UTC) Date: Tue, 26 Jan 2016 07:41:40 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9245) As an User I want to be able to delete non-attached ACL lists that contain items MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15116880#comment-15116880 ] ASF subversion and git services commented on CLOUDSTACK-9245: ------------------------------------------------------------- Commit 1e4bc9ae9d8c5392617b68258af4a7edb75e8ce3 in cloudstack's branch refs/heads/4.8 from [~remibergsma] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1e4bc9a ] Merge pull request #1358 from ekholabs/fix/4.7-acl-delete-CLOUDSTACK-9245 CLOUDSTACK-9245 - Cannot delete non-attached ACL that contains itemsThis PR fixes the issue when trying to delete ACL lists which contain item. It seemed it was not thought of when the ACS project started, when most user were relying on the UI to execute those tasks. Nowadays, with automation all over the place and ACL lists containing hundreds of items, it's very hard to have to delete them 1 by 1 either via the UI. Writing scripts to do so might be a solution, but it would be much simpler to just delete non-attached ACLs with all its items in one go. Also, destroying a VPC that contains ACL lists was "succeeding", but after that the ACL list/items were messing up: ``` list networkacls aclid=920d74b6-4d15-454f-b3a6-61e7a6ffd1a4 Error 431: Unable to find VPC associated with acl { "cserrorcode": 4350, "errorcode": 431, "errortext": "Unable to find VPC associated with acl", "uuidList": [] } ``` So, it also cleans up ACLs when destroying VPCs * pr/1358: CLOUDSTACK-9245 - Deletes ACL items when destroying the VPC or deleting the ACL itself CLOUDSTACK-9245 - Formatting NetworkACLServiceImpl class CLOUDSTACK-9245 - Formatting VpcManagerImpl class CLOUDSTACK-9245 - Formatting NetworkACLManagerImpl class Signed-off-by: Remi Bergsma > 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)