Steps to reproduce
1) Allocate yourself some floating IPs in Contrail to your tenant.
2) Spin up a new vm
3) Attach floating IP to vm
4) Disassociate floating IP from VM
5) Verify that the Floating IP has been deallocated from your tenant in Horizon and Contrail
If you disassociate a Floating IP from a VM under the instances tab, it will deallocate the floating IP back to the general pool aka "releasing IP."
If you go to the Access & Security tab then to Floating IPs, you can successfully disassociate a floating IP from the VM.
So there must be some incorrect mapping in what the disassociate floating IP button does under Instances versus what is being done under the Access & Security tab.
Steps to reproduce
1) Allocate yourself some floating IPs in Contrail to your tenant.
2) Spin up a new vm
3) Attach floating IP to vm
4) Disassociate floating IP from VM
5) Verify that the Floating IP has been deallocated from your tenant in Horizon and Contrail
If you disassociate a Floating IP from a VM under the instances tab, it will deallocate the floating IP back to the general pool aka "releasing IP."
If you go to the Access & Security tab then to Floating IPs, you can successfully disassociate a floating IP from the VM.
So there must be some incorrect mapping in what the disassociate floating IP button does under Instances versus what is being done under the Access & Security tab.
This is what I saw in one of the contrail API logs on a zone node when I tried to disassociate the Floating IP from the the instance: ip/168a04e9- 51f7-4c72- b527-d28b32d183 62?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1510 0.008264 ip-pool/ 2908eff5- cd83-404f- afbf-3a5ecaba60 0c?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 916 0.006495 network/ cab9d5e5- e4f0-43d4- 8a13-c77dc881ed e4?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1729 0.010227 ip/78c37103- ab04-40d4- 9fef-be9f25d582 d9?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1224 0.006709 ip-pool/ 2908eff5- cd83-404f- afbf-3a5ecaba60 0c?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 916 0.007232 network/ cab9d5e5- e4f0-43d4- 8a13-c77dc881ed e4?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1729 0.010271 ip/168a04e9- 51f7-4c72- b527-d28b32d183 62?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1510 0.008798 ip-pool/ 2908eff5- cd83-404f- afbf-3a5ecaba60 0c?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 916 0.007563 network/ cab9d5e5- e4f0-43d4- 8a13-c77dc881ed e4?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1729 0.009628 ip/168a04e9- 51f7-4c72- b527-d28b32d183 62?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1510 0.008113 ip/168a04e9- 51f7-4c72- b527-d28b32d183 62 HTTP/1.1" 200 258 0.019274 ip-pool/ 2908eff5- cd83-404f- afbf-3a5ecaba60 0c?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 916 0.005582 network/ cab9d5e5- e4f0-43d4- 8a13-c77dc881ed e4?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1729 0.011882 ip/168a04e9- 51f7-4c72- b527-d28b32d183 62?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1224 0.006581 ip-pool/ 2908eff5- cd83-404f- afbf-3a5ecaba60 0c?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 916 0.006831 network/ cab9d5e5- e4f0-43d4- 8a13-c77dc881ed e4?exclude_ back_refs= True&exclude_ children= True HTTP/1.1" 200 1729 0.008290 path=u' /api-server/ subnets/ default- domain: admin:public: xxx.xxx. xxx.xxx/ 24/1747227853' , version=-1) path=u' /fq-name- to-uuid/ floating_ ip:default- domain: admin:public: public: 168a04e9- 51f7-4c72- b527-d28b32d183 62', version=-1) admin-group' ,
u'group_ access' : 7,
u'other_ access' : 7,
u'owner' : u'cloud-admin',
u'owner_ access' : 7},
u'uuid' : {u'uuid_lslong': 101434523604972 05799L,
u'uuid_ mslong' : 104007707077707 89616L} },
u'name' : u'9056f5da- 62f7-4ef0- 8cc4-c82df78892 27',
u'parent_ type': u'floating- ip-pool' ,
u'project_ refs': [{u'to': [u'default-domain',
u'cloudscaling' ]}],
u'uuid' : u'9056f5da- 62f7-4ef0- 8cc4-c82df78892 27'}, floating- ip-pool: default- domain: admin:public: public' , 62f7-4ef0- 8cc4-c82df78892 27'}
172.24.0.10 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.10 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.10 - - [2014-08-14 18:38:36] "GET /virtual-
172.24.0.10 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.10 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.10 - - [2014-08-14 18:38:36] "GET /virtual-
172.24.0.11 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.11 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.11 - - [2014-08-14 18:38:36] "GET /virtual-
172.24.0.11 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.11 - - [2014-08-14 18:38:36] "PUT /floating-
172.24.0.11 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.11 - - [2014-08-14 18:38:36] "GET /virtual-
172.24.0.10 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.10 - - [2014-08-14 18:38:36] "GET /floating-
172.24.0.10 - - [2014-08-14 18:38:36] "GET /virtual-
INFO:api-0:Sending request(xid=4791): Delete(
INFO:api-0:Received response(xid=4791): True
INFO:api-0:Sending request(xid=4792): Delete(
ssions': {u'group': u'cloud-
u'oper': u'CREATE',
u'parent_imid': u'contrail:
u'type': u'floating-ip',
u'uuid': u'9056f5da-
Notification Message: {u'oper': u'UPDATE', control- list', 0094-41f1- 8e3e-1c46de40fb 5f'}
u'type': u'access-
u'uuid': u'dfee2eb2-
Notification Message: {u'oper': u'UPDATE', control- list', 0094-41f1- 8e3e-1c46de40fb 5f'}
u'type': u'access-
u'uuid': u'dfee2eb2-
Notification Message: {u'imid': u'contrail: floating- ip:default- domain: admin:public: public: 78c37103- ab04-40d4- 9fef-be9f25d582 d9', ip_address' : u'xxx.xxx.xxx.xxx',
u'fq_name' : [u'default-domain',
u'admin' ,
u'public' ,
u'public' ,
u'78c37103- ab04-40d4- 9fef-be9f25d582 d9'],
u'id_perms' : {u'created': u'2014- 08-14T18: 37:05.334786' ,
u'description' : None,
u'enable' : True,
u'last_ modified' : u'2014- 08-14T18: 37:05.334786' ,
u'permissions' : {u'group': u'cloud- admin-group' ,
u'group_ access' : 7,
u'other_ access' : 7,
u'owner' : u'cloud-admin',
u'owner_ access' : 7},
u'uuid' : {u'uuid_lslong': 115246395622082 15769L,
u'uuid_ mslong' : 870192316557795 3492}},
u'name' : u'78c37103- ab04-40d4- 9fef-be9f25d582 d9',
u'parent_ type': u'floating- ip-pool' ,
u'project_ refs': [{u'to': [u'default-domain',
u'cloudscaling' ]}],
u'uuid' : u'78c37103- ab04-40d4- 9fef-be9f25d582 d9'}, floating- ip-pool: default- domain: admin:public: public' , ab04-40d4- 9fef-be9f25d582 d9'}
u'obj_dict': {u'floating_
u'oper': u'CREATE',
u'parent_imid': u'contrail:
u'type': u'floating-ip',
u'uuid': u'78c37103-
Notification Message: {u'oper': u'UPDATE', 51f7-4c72- b527-d28b32d183 62'}
u'type': u'floating-ip',
u'uuid': u'168a04e9-
AddrMgmt: free FIP xxx.xxx.xxx.xxx for vn=[u'default- domain' , u'admin', u'public']
Notification Message: {u'imid': u'contrail: floating- ip:default- domain: admin:public: public: 168a04e9- 51f7-4c72- b527-d28b32d183 62', ip_address' : u'xxx.xxx.xx.xxx',
u'fq_name' : [u'default-domain',
u'admin' ,
u'public' ,
u'public' ,
u'168a04e9- 51f7-4c72- b527-d28b32d183 62'],
u'id_perms' : {u'created': u'2014- 08-13T22: 51:54.294692' ,
u'description' : None,
u'enable' : True,
u'last_ modified' : u'2014- 08-14T18: 38:36.872416' ,
u'permissions' : {u'group': u'cloud- admin-group' ,
u'group_ access' : 7,
u'other_ access' : 7,
u'owner' : u'cloud-admin',
u'owner_ access' : 7INFO:api- 0:Received error(xid=4792) NoNodeError((), {}) ip/168a04e9- 51f7-4c72- b527-d28b32d183 62 HTTP/1.1" 200 115 0.048091 path=u' /api-server/ subnets/ default- domain: admin:public: xxx.xxx. xxx.xxx/ 24/1747227853' , version=-1)
u'obj_dict': {u'floating_
172.24.0.10 - - [2014-08-14 18:38:37] "DELETE /floating-
INFO:api-0:Sending request(xid=4793): Delete(
INFO:api-0:Received error(xid=4793) NoNodeError((), {})
Version: contrail 1.05