R4.1.2.0-22: Routing Instance ['default-domain', 'default-project', 'ip-fabric', '__default__'] is not found, causing provisioning failure

Bug #1802286 reported by alok kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Undecided
Unassigned
R4.1
New
High
Shivayogi Ugaji

Bug Description

R4.1 mitaka provisioning failed with below error:

2018-11-08 13:56:05,137-INFO-sm_ansible_callback.py:53-append(): fatal: [10.204.216.64]Traceback (most recent call last):
  File "/usr/share/contrail-utils/provision_control.py", line 230, in <module>
    main()
  File "/usr/share/contrail-utils/provision_control.py", line 226, in main
    ControlProvisioner(args_str)
  File "/usr/share/contrail-utils/provision_control.py", line 64, in __init__
    self._args.address_families, self._args.md5, self._args.local_autonomous_system)
  File "/usr/share/contrail-utils/provision_bgp.py", line 69, in add_bgp_router
    rt_inst_obj = self._get_rt_inst_obj()
  File "/usr/share/contrail-utils/provision_bgp.py", line 44, in _get_rt_inst_obj
    'ip-fabric', '__default__'])
  File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 42, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 605, in _object_read
    res_type, fq_name, fq_name_str, id, ifmap_id)
  File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 946, in _read_args_to_id
    return (True, self.fq_name_to_id(res_type, fq_name))
  File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 42, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 1174, in fq_name_to_id
    content = self._request_server(rest.OP_POST, uri, data=json_body)
  File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 960, in _request_server
    retry_after_authn=retry_after_authn, retry_count=retry_count)
  File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 1013, in _request
    % (op, url, data, content))
cfgm_common.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"fq_name": ["default-domain", "default-project", "ip-fabric", "__default__"], "type": "routing-instance"} response Name ['default-domain', 'default-project', 'ip-fabric', '__default__'] not found"

Routing Instance ['default-domain', 'default-project', 'ip-fabric', '__default__'] is not seen in schema introspect.

[kalok@nodem4 provision_contrail]$ curl http://10.204.216.65:8087/Snh_RoutingInstanceList
<?xml-stylesheet type="text/xsl" href="/universal_parse.xsl"?><RoutingInstanceListResp type="sandesh"><routing_instances type="list" identifier="1"><list type="struct" size="1"><RoutingInstance><name type="string" identifier="1">default-domain:default-project:__link_local__:__link_local__</name><connections type="list" identifier="3"><list type="string" size="0"></list></connections></RoutingInstance></list></routing_instances></RoutingInstanceListResp>

setup Info:

https://github.com/Juniper/contrail-tools/blob/R4.1/jsons/testbed_c7_c8_g36_i1_i2_i3_mitaka.json

Failed job:
http://anamika.englab.juniper.net:8080/job/SMLite_ubuntu-14-04_mitaka_Openstack_HA_Sanity/552/console

alok kumar (kalok)
tags: added: blocker sanityblocker
Revision history for this message
alok kumar (kalok) wrote :

need to unlock the setup as it's sanity testbed.
logs are copied @/cs-shared/bugs/1802286

ls /cs-shared/bugs/1802286
contrail_c7.tar contrail_c8.tar contrail_sm_c7.tar

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.