[
https://issues.apache.org/jira/browse/CLOUDSTACK-9606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693054#comment-15693054
]
ASF GitHub Bot commented on CLOUDSTACK-9606:
--------------------------------------------
GitHub user priyankparihar opened a pull request:
https://github.com/apache/cloudstack/pull/1775
CLOUDSTACK-9606: While IP address is released, tag are not deleted.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/priyankparihar/cloudstack CLOUDSTACK-9606
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1775.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1775
----
commit 428f9c6acf8eeddca8fc137e7187bef2d773f7f8
Author: Priyank Parihar <[email protected]>
Date: 2016-11-24T11:40:08Z
CLOUDSTACK-9606: While IP address is released, tag are not deleted.
----
> While IP address is released, tag are not deleted
> -------------------------------------------------
>
> Key: CLOUDSTACK-9606
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9606
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Priyank Parihar
> Assignee: Priyank Parihar
>
> IP address release API call (disassociateIpAddress) does not have any
> mechanism to remove the tags.
> All though the IP address is not allocated, corresponding tag still exists.
> REPRO STEPS
> ==================
> 1. Acquire an IP address by Domain-Admin account A.
> 2. Add tag to the target IP address by Domain-Admin account A.
> 3. Release the target IP address without deleting the tag.
> ⇒We found out that the state of the IP address is "Free" at this point,
> but the tag which added by Domain-Admin account A still remains.
> 4. Acquire the target IP address by Domain-Admin account B.
> ⇒The tag still remains without change.
> If account B tries to delete the tag, in our lab we can delete the tag as
> domain admin. Although customer reported that they can't complete it because
> of authority error.
> EXPECTED BEHAVIOR
> ==================
> When we release an IP address, the corresponding tags should be removed from
> related tables
> ACTUAL BEHAVIOR
> ==================
> When we release an IP address, the corresponding tags are not removed from
> related tables
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)