cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Matteson (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-5466) removeIpFromNic not working properly
Date Wed, 11 Dec 2013 17:03:06 GMT
David Matteson created CLOUDSTACK-5466:

             Summary: removeIpFromNic not working properly
                 Key: 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

View raw message