When deleting and re adding a service instance, all IP's assigned to automatic mgmt LAN are being flushed and then reassigned. This is causing multiple VM's on same management LAN to think they have the same IP. In Horizon, only one instance with interface on mgmt lan will indicate having an interface on mgmt lan with an IP. In Contrail UI, all vm's with mgmt lan interfaces indicate having the same IP.
[1/13/15, 9:05:04 PM] Ajay Hampapur: fw1
11:58:47 create vmi c35d7490-0a28-4bd5-a599-096ee71512f7
11:58:47 create iip dd193886-1d48-4d2c-8254-f4833ce02b57 6669 (.253)
fw2
11:59:12 create vmi 81394b94-4063-47de-917a-38d3904e473c
11:59:12 create iip bbd27a73-79b9-456a-a487-cd913dad8cdd 6668 (.252)
12:02:46 delete si e51888f4-fa8b-4981-aba3-e0cf6be362ad
12:02:46 delete iip bbd27a73-79b9-456a-a487-cd913dad8cdd
12:02:49 delete iip dd193886-1d48-4d2c-8254-f4833ce02b57
12:05:22 create iip fff3b2dc-db00-49b2-877b-a2ec5b58270f 6669 (.253)
[1/13/15, 9:05:38 PM] Ajay Hampapur: root@control1:~# contrail-logs --object-type config --object-id instance_ip:default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7 --last 2d
2015 Jan 13 11:58:47.086155 openstack [:contrail-api:] : VncApiConfigLog: [VncApiCommon: object_type = instance_ip, identifier_name = default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7, url = http://192.168.150.82:8082/instance-ips, operation = post, useragent = /usr/bin/contrail-svc-monitor, remote_ip = 192.168.150.82:8082, body = {u'instance-ip': {'display_name': u'default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7', 'id_perms': {u'enable': True, u'uuid': None, u'created': 0, u'user_visible': True, u'last_modified': 0, u'permissions': {u'owner': u'cloud-admin', u'owner_access': 7, u'other_access': 7, u'group': u'cloud-admin-group', u'group_access': 7}, u'description': None}, u'fq_name': [u'default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7'], u'uuid': None, u'virtual_network_refs': [{u'to': [u'default-domain', u'Customer2', u'svc-vn-mgmt'], u'uuid': u'cb29647e-9f8c-4fe9-8a81-1ed99935b491'}]}}, user = admin, project = admin, domain = None]2015 Jan 13 11:58:47.105869 openstack [:contrail-api:] : VncApiConfigLog: [VncApiCommon: identifier_uuid = dd193886-1d48-4d2c-8254-f4833ce02b57, object_type = instance_ip, identifier_name = default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7, url = http://192.168.150.82:8082/instance-ip/dd193886-1d48-4d2c-8254-f4833ce02b57, operation = put, useragent = /usr/bin/contrail-svc-monitor, remote_ip = 192.168.150.82:8082, body = {u'instance-ip': {u'instance_ip_mode': u'active-standby', u'fq_name': [u'default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7'], u'uuid': u'dd193886-1d48-4d2c-8254-f4833ce02b57', 'id_perms': {u'enable': True, u'uuid': {u'uuid_mslong': 15931827305467890988L, u'uuid_lslong': 9391399967473544023L}, u'created': u'2015-01-13T16:58:47.096623', u'description': None, u'user_visible': True, u'last_modified': u'2015-01-13T16:58:47.096623', u'permissions': {u'owner': u'cloud-admin', u'owner_access': 7, u'other_access': 7, u'group': u'cloud-admin-group', u'group_access': 7}}, u'virtual_network_refs': [{u'to': [u'default-domain', u'Customer2', u'svc-vn-mgmt'], u'uuid': u'cb29647e-9f8c-4fe9-8a81-1ed99935b491'}]}}, user = admin, project = admin, domain = None]
2015 Jan 13 11:58:47.124359 openstack [:contrail-api:] : VncApiConfigLog: [VncApiCommon: identifier_uuid = dd193886-1d48-4d2c-8254-f4833ce02b57, object_type = instance_ip, identifier_name = default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7, url = http://192.168.150.82:8082/ref-update, operation = ref-update, useragent = /usr/bin/contrail-svc-monitor, remote_ip = 192.168.150.82:8082, body = {u'ref-type': u'virtual-machine-interface', u'uuid': u'dd193886-1d48-4d2c-8254-f4833ce02b57', u'ref-fq-name': [u'default-domain', u'Customer2', u'default-domain__Customer2__fw1__1-management-13582b84-cc62-48ab-8242-eef23aeea440'], u'ref-uuid': u'c35d7490-0a28-4bd5-a599-096ee71512f7', u'operation': u'ADD', u'type': u'instance-ip', u'attr': None}, user = admin, project = admin, domain = None]
2015 Jan 13 12:02:49.771099 openstack [:contrail-api:] : VncApiConfigLog: [VncApiCommon: identifier_uuid = dd193886-1d48-4d2c-8254-f4833ce02b57, object_type = instance_ip, identifier_name = default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7, url = http://192.168.150.82:8082/instance-ip/dd193886-1d48-4d2c-8254-f4833ce02b57, operation = delete, useragent = /usr/bin/contrail-svc-monitor, remote_ip = 192.168.150.82:8082, user = admin, project = admin, domain = None]
[1/13/15, 9:06:00 PM] Ajay Hampapur: root@control1:~# contrail-logs --object-type config --object-values --last 1d | grep instance_ipinstance_ip:43f7612e-9c96-4973-ac1a-9d584619272a
instance_ip:6b07ced0-ab8f-4169-a31d-c558d17caf64
instance_ip:c566c8a8-0c8f-41db-925c-614144b7b5b3
instance_ip:default-domain__Customer2__fw1__1-left-a44fb6a7-574a-4acd-b37b-5c90aaa3f065
instance_ip:default-domain__Customer2__fw1__1-management-c35d7490-0a28-4bd5-a599-096ee71512f7
instance_ip:default-domain__Customer2__fw1__1-right-624389f9-eece-48a6-988a-fd2354e416c1
instance_ip:default-domain__Customer2__fw2__1-left-0bb4ad1b-9037-4ebf-85c0-73a32a7a5f9f
instance_ip:default-domain__Customer2__fw2__1-left-193d3ae5-0582-4e95-a10e-f0a1fac2ec66
instance_ip:default-domain__Customer2__fw2__1-management-81394b94-4063-47de-917a-38d3904e473c
instance_ip:default-domain__Customer2__fw2__1-management-990759ca-f00d-4f25-905f-227246e34929
instance_ip:default-domain__Customer2__fw2__1-right-3a7ecb7f-4f71-49dd-a6ab-255fc767d492
instance_ip:default-domain__Customer2__fw2__1-right-488db6a4-1212-41a6-9623-43c4cc46c94c
This is version 2.0 (build 22)