Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1821

Unable to push configuration due to missing yang models

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      Multiple errors on startup

      2018-04-04 21:29:52,255 | ERROR | config-pusher    | ConfigPusherImpl                 | 191 - org.opendaylight.controller.config-persister-impl - 0.7.1 | Unable to push configuration due to missing yang models. Yang models that are missing, but required by the configuration: [urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf?module=odl-sal-netconf-connector-cfg&revision=2015-08-03]. For each mentioned model check:  1. that the mentioned yang model namespace/name/revision is identical to those in the yang model itself 2. the yang file is present in the system 3. the bundle with that yang file is present in the system and active 4. the yang parser did not fail while attempting to parse that model
      2018-04-04 21:29:52,256 | ERROR | config-pusher    | ConfigPusherImpl                 | 191 - org.opendaylight.controller.config-persister-impl - 0.7.1 | Failed to apply configuration snapshot: 32-ofconfig-nodes-config.xml(features-of-config,features-of-config)
      java.lang.IllegalStateException: Unable to push configuration due to missing yang models. Required yang models that are missing: [urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf?module=odl-sal-netconf-connector-cfg&revision=2015-08-03]
      	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.waitForCapabilities(ConfigPusherImpl.java:202)[191:org.opendaylight.controller.config-persister-impl:0.7.1]
      	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:152)[191:org.opendaylight.controller.config-persister-impl:0.7.1]
      	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:122)[191:org.opendaylight.controller.config-persister-impl:0.7.1]
      	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.processSingle(ConfigPusherImpl.java:76)[191:org.opendaylight.controller.config-persister-impl:0.7.1]
      	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.process(ConfigPusherImpl.java:68)[191:org.opendaylight.controller.config-persister-impl:0.7.1]
      	at org.opendaylight.controller.config.persist.impl.osgi.ConfigPersisterActivator.lambda$startPusherThread$0(ConfigPersisterActivator.java:129)
      	at java.lang.Thread.run(Thread.java:748)[:1.8.0_144]
      Caused by: org.opendaylight.controller.config.persist.impl.ConfigPusherImpl$NotEnoughCapabilitiesException: Not enough capabilities for 32-ofconfig-nodes-config.xml(features-of-config,features-of-config). Expected but not found: [urn:opendaylight:params:xml:ns:yang:controller:md:sal:connector:netconf?module=odl-sal-netconf-connector-cfg&revision=2015-08-03]
      	at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.waitForCapabilities(ConfigPusherImpl.java:182)[191:org.opendaylight.controller.config-persister-impl:0.7.1]
      	... 6 more
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            greenpau Paul Greenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: