Link Local Services cannot delete

Bug #1742381 reported by guwei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Incomplete
High
Unassigned

Bug Description

I got an issue about "Link Local Services".
1.In webui, i create a Link Local Services:{
          "linklocal_service_name": "metadata-guwei",
          "ip_fabric_service_ip": [
            "172.16.41.136"
          ],
          "linklocal_service_ip": "169.254.169.254",
          "ip_fabric_service_port": 441,
          "ip_fabric_DNS_service_name": "",
          "linklocal_service_port": 80
        }
2.delete metadata-guwei ,but faild:
Error: Bad property in update: Error validating property linklocal_services value {'linklocal_service_entry': [{'ip_fabric_service_ip': ['172.16.41.136'], 'linklocal_service_name': 'metadata', 'linklocal_service_ip': '169.254.169.254', 'lls_fab_address_ip': 'IP', 'ip_fabric_service_port': 443, 'ip_fabric_DNS_service_name': u'', 'linklocal_service_port': 80}, {'cgrid': 'id_2', 'ip_fabric_service_ip': [], 'linklocal_service_name': '123', 'linklocal_service_ip': '111.111.111.3', 'lls_fab_address_ip': 'DNS', 'ip_fabric_service_port': 223, 'ip_fabric_DNS_service_name': u'', 'linklocal_service_port': 24}]} class <class 'vnc_cfg_api_server.gen.resource_xsd.LinklocalServiceEntryType'> does not have field lls_fab_address_ip

Tags: ui
guwei (guwei)
information type: Proprietary → Public
Jeba Paulaiyan (jebap)
tags: added: ui
Revision history for this message
guwei (guwei) wrote :

by the way, I deleted link local service(metadata-guwei) by vnc api.
code:
from vnc_api.vnc_api import *
vnc_lib=VncApi()
vnc_lib.global_vrouter_config_read( fq_name=['default-global-system-config', 'default-global-vrouter-config'])
current_config=vnc_lib.global_vrouter_config_read(fq_name=['default-global-system-config', 'default-global-vrouter-config'])
current_linklocal=current_config.get_linklocal_services()
obj = current_linklocal._dict_
print obj["linklocal_service_entry"][1].linklocal_service_name
<<<metadata-guwei
obj["linklocal_service_entry"].pop(1)
conf_obj=GlobalVrouterConfig(linklocal_services=obj)
vnc_lib.global_vrouter_config_update(conf_obj)

Revision history for this message
Naga Kiran (nagakiran) wrote :

Akhil,
    Please check why the following field is being sent in the delete request as don't see it in schema also.
        'lls_fab_address_ip': 'DNS',

Revision history for this message
Naga Kiran (nagakiran) wrote :

We tried on latest mainline build (5.0 #171) and couldn't reproduce the issue.
Please share the build/release version you faced this issue or setup details.

Revision history for this message
guwei (guwei) wrote :

system: centos 7.2
contrail version:R3.0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.