David Matteson created CLOUDSTACK-5466:
------------------------------------------

             Summary: 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


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)

Reply via email to