Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-1679

SDNR GUI configuration page not able to load the device config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • Istanbul Release, Jakarta Release
    • sdnc-oam

      Hi Team,
      We connected one of our simulated device to SDNR and the GUI configuration page is not loading properly however configuration retrieval from RESTCONF is working fine.

      It is working fine with Honolulu(2.1.3)  but observed this issue with istanbul and above.
      While accessing configuration page with honolulu no errors observed on browser developer tools but in case of istanbul some of the rest calls are failed as mentioned below.

      1. Upon clicking the device in the configuration page,  successfully loaded the topology-netconf of device but subsequent call of module-set failed and following is API and corresponding stack trace(log attached)
      http://localhost:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=3gpp-sim/yang-ext:mount/ietf-yang-library:yang-library?content=nonconfig&fields=module-set(import-only-module(name;revision))
       

      2022-03-22T08:40:51,890 | WARN  | qtp977098595-1623 | HttpChannel                      | 165 - org.eclipse.jetty.util - 9.4.38.v20210224 |  -  | /rests/data/network-topology:network-topology/topology=topology-netconf/node=3gpp-sim/yang-ext:mount/ietf-yang-library:yang-library2022-03-22T08:40:51,890 | WARN  | qtp977098595-1623 | HttpChannel                      | 165 - org.eclipse.jetty.util - 9.4.38.v20210224 |  -  | /rests/data/network-topology:network-topology/topology=topology-netconf/node=3gpp-sim/yang-ext:mount/ietf-yang-library:yang-libraryjavax.servlet.ServletException: javax.servlet.ServletException: java.lang.IllegalArgumentException: Node (urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)import-only-module[{}] is not allowed inside (urn:ietf:params:xml:ns:yang:ietf-yang-library?revision=2019-01-04)module-set at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:90) ~[?:?] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.38.v20210224] at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[bundleFile:9.4.38.v20210224] at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) ~[bundleFile:9.4.38.v20210224] 

       
       
      2. On selecting one of the yang in device configuration, error popped up(screen shot attached). Observed following error in the rest api.
      http://localhost:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=3gpp-sim/yang-ext:mount?content=config&fields=_3gpp-common-managed-element:ManagedElement(id)
       

      2022-03-22T08:50:03,065 | WARN  | qtp977098595-1532 | HttpChannel                      | 165 - org.eclipse.jetty.util - 9.4.38.v20210224 |  -  | /rests/data/network-topology:network-topology/topology=topology-netconf/node=3gpp-sim/yang-ext:mount2022-03-22T08:50:03,065 | WARN  | qtp977098595-1532 | HttpChannel                      | 165 - org.eclipse.jetty.util - 9.4.38.v20210224 |  -  | /rests/data/network-topology:network-topology/topology=topology-netconf/node=3gpp-sim/yang-ext:mountjavax.servlet.ServletException: javax.servlet.ServletException: java.lang.ClassCastException: class org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier$NodeIdentifier cannot be cast to class org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier$NodeIdentifierWithPredicates (org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier$NodeIdentifier and org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier$NodeIdentifierWithPredicates are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4300008d) at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:90) ~[?:?] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.38.v20210224] at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[bundleFile:9.4.38.v20210224]

      Can someone please help.
       

            demx8as6 demx8as6
            bhanuchandrak bhanuchandrak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: