# Unable to push configuration due to missing yang models

I am trying to develop a multicast module in ODL and for which I am trying to add some classes to the tapapp application in the http://sdnhub.org/tutorials/opendayli... but in the karaf log I am getting the error (run time) as attached while the build is successful .

Just adding some new imports or a new class or file to already built application gives this error .

Any help would be really great .

Error : ***************************************

2016-06-21 12:41:45,053 | INFO | config-pusher | ConfigPusherImpl | 91 - org.opendaylight.controller.config-persister-impl - 0.4.1.Beryllium-SR1 | Pushing configuration snapshot 50-tapapp-config.xml(sdnhub-tutorial-tapapp,sdnhub-tutorial-tapapp) 2016-06-21 12:43:49,341 | ERROR | config-pusher | ConfigPusherImpl | 91 - org.opendaylight.controller.config-persister-impl - 0.4.1.Beryllium-SR1 | Unable to push configuration due to missing yang models. Yang models that are missing, but required by the configuration: [urn:sdnhub:odl:tutorial:tapapp:tapapp-impl?module=tapapp-impl&revision=2015-06-04]. 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 2016-06-21 12:43:50,899 | ERROR | config-pusher | ConfigPusherImpl | 91 - org.opendaylight.controller.config-persister-impl - 0.4.1.Beryllium-SR1 | Failed to apply configuration snapshot: 50-tapapp-config.xml(sdnhub-tutorial-tapapp,sdnhub-tutorial-tapapp) java.lang.IllegalStateException: Unable to push configuration due to missing yang models. Required yang models that are missing: [urn:sdnhub:odl:tutorial:tapapp:tapapp-impl?module=tapapp-impl&revision=2015-06-04] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.waitForCapabilities(ConfigPusherImpl.java:207)[91:org.opendaylight.controller.config-persister-impl:0.4.1.Beryllium-SR1] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:159)[91:org.opendaylight.controller.config-persister-impl:0.4.1.Beryllium-SR1] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:129)[91:org.opendaylight.controller.config-persister-impl:0.4.1.Beryllium-SR1] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.processSingle(ConfigPusherImpl.java:83)[91:org.opendaylight.controller.config-persister-impl:0.4.1.Beryllium-SR1] at org.opendaylight.controller.config.persist.impl.ConfigPusherImpl.process(ConfigPusherImpl.java:74)[91:org.opendaylight.controller.config-persister-impl:0.4.1.Beryllium-SR1] at org.opendaylight.controller.config.persist.impl.osgi.ConfigPersisterActivator$2.run(ConfigPersisterActivator.java:131)[91:org.opendaylight.controller.config-persister-impl:0.4.1.Beryllium-SR1] at java.lang.Thread.run(Thread.java:745)[:1.8.0_60] Caused by: org.opendaylight.controller.config.persist.impl.ConfigPusherImpl$NotEnoughCapabilitiesException: Not enough capabilities for 50-tapapp-config.xml(sdnhub-tutorial-tapapp,sdnhub-tutorial-tapapp). Expected but not found: [urn:sdnhub:odl:tutorial:tapapp:tapapp-impl?module=tapapp-impl&revision=2015-06-04]

edit retag close merge delete

@knv Either the "tapapp-impl.yang" is missing or the revision number is mismatched with revision=2015-06-04. Please check for these possibilities.

( 2016-06-23 00:00:01 -0700 )edit