[
https://issues.apache.org/jira/browse/CLOUDSTACK-5466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13851523#comment-13851523
]
ASF subversion and git services commented on CLOUDSTACK-5466:
-------------------------------------------------------------
Commit 961834661cbd3606623e399f4985ea6e86101adc in branch refs/heads/master
from [~jayapal]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9618346 ]
CLOUDSTACK-5466:Fixed freeing ip address in removeIpFromNic
> removeIpFromNic not working properly
> ------------------------------------
>
> Key: CLOUDSTACK-5466
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5466
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: API
> Affects Versions: 4.2.0
> Reporter: David Matteson
> Assignee: Jayapal Reddy
>
> When adding a secondary IP to a NIC via addIpToNic it works properly, but
> when trying to remove it with removeIpFromNic it returns success, and the IP
> no longer shows up on the NIC but the IP is not freed up properly either.
> In order to finish freeing up the IP, you have to go into the database and
> manually set:
> user_ip_address.state = Free
> user_ip_address.account_id = NULL
> user_ip_address.domain_id = NULL
> user_ip_address.allocated = NULL
> These should all be done by the removeIpFromNic command I would think, but
> the aren't. This makes the addIp/removeIp functionality unusable,
> unfortunately.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)