[integration-dev] 503 - Authentication Service Unavailable

Luis Gomez ecelgp at gmail.com
Wed Apr 29 15:51:37 UTC 2015


Hi all,

Today during release irc sync-up irc, we discussed some projects including integration have seen this error when starting karaf with preloaded features, weirdly it is not seen when features are installed from console.

If you are seeing this issue in your project: 

1.- configure preloaded features in etc/org.apache.karaf.features.cfg file
2.- start karaf with bin/karaf
3.- wait for console exception

From the 3 projects I see issues in system test:

1) lispflowmapping:

features installed: odl-lispflowmapping-all,odl-restconf,odl-mdsal-apidocs

Exception:

Exception in thread "config-pusher" java.lang.IllegalStateException: Failed to send edit-config for configuration neutron-transcriber-default-config.xml(odl-neutron-transcriber,odl-neutron-transcriber)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.sendRequestGetResponseCheckIsOK(ConfigPusherImpl.java:285)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.pushConfig(ConfigPusherImpl.java:236)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:128)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:101)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.process(ConfigPusherImpl.java:76)
	at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$InnerCustomizer$1.run(ConfigPersisterActivator.java:181)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException: Namespace urn:opendaylight:params:xml:ns:yang:neutron:transcriber:impl, defined in: module neutron-transcriber-default of type neutron-transcriber-impl not found, available namespaces: [urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong, urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider, urn:opendaylight:params:xml:ns:yang:controller:md:sal:rest:connector, urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:fixed, urn:opendaylight:params:xml:ns:yang:controller:config:distributed-datastore-provider, urn:opendaylight:params:xml:ns:yang:controller:config:netconf:northbound:impl, urn:opendaylight:params:xml:ns:yang:controller:config:concurrent-data-broker, urn:opendaylight:params:xml:ns:yang:controller:shutdown:impl, config:aaa:authn:mdsal:store, urn:opendaylight:params:xml:ns:yang:controller:netty:timer, urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup, urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl, urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:scheduled, urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl:flexible, urn:opendaylight:params:xml:ns:yang:controller:protocol:framework, urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor, urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl, urn:opendaylight:params:xml:ns:yang:controller:threadpool:impl, urn:opendaylight:params:xml:ns:yang:controller:config:remote-rpc-connector]
	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:250)
	at org.opendaylight.controller.netconf.confignetconfconnector.mapping.config.Config.getModuleMapping(Config.java:277)
	at org.opendaylight.controller.netconf.confignetconfconnector.mapping.config.Config.resolveModule(Config.java:212)
	at org.opendaylight.controller.netconf.confignetconfconnector.mapping.config.Config.fromXmlModulesMap(Config.java:177)
	at org.opendaylight.controller.netconf.confignetconfconnector.operations.editconfig.EditConfigXmlParser$EditConfigExecution.getModulesDefinition(EditConfigXmlParser.java:183)
	at org.opendaylight.controller.netconf.confignetconfconnector.operations.editconfig.EditConfig.handleMisssingInstancesOnTransaction(EditConfig.java:196)
	at org.opendaylight.controller.netconf.confignetconfconnector.operations.editconfig.EditConfig.test(EditConfig.java:117)
	at org.opendaylight.controller.netconf.confignetconfconnector.operations.editconfig.EditConfig.executeTests(EditConfig.java:95)
	at org.opendaylight.controller.netconf.confignetconfconnector.operations.editconfig.EditConfig.getResponseInternal(EditConfig.java:74)
	at org.opendaylight.controller.netconf.confignetconfconnector.operations.editconfig.EditConfig.handleWithNoSubsequentOperations(EditConfig.java:302)
	at org.opendaylight.controller.netconf.util.mapping.AbstractLastNetconfOperation.handle(AbstractLastNetconfOperation.java:33)
	at org.opendaylight.controller.netconf.util.mapping.AbstractNetconfOperation.handle(AbstractNetconfOperation.java:100)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.sendRequestGetResponseCheckIsOK(ConfigPusherImpl.java:280)
... 6 more

2) usc:

features installed: odl-restconf,odl-mdsal-apidocs,odl-usc-channel-ui

Exception:

Exception in thread "config-pusher" java.lang.IllegalStateException: Failed to send commit for configuration 00-usc.xml(odl-usc-channel,odl-usc-channel)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.sendRequestGetResponseCheckIsOK(ConfigPusherImpl.java:285)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.pushConfig(ConfigPusherImpl.java:239)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.pushConfigWithConflictingVersionRetries(ConfigPusherImpl.java:128)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.internalPushConfigs(ConfigPusherImpl.java:101)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.process(ConfigPusherImpl.java:76)
	at org.opendaylight.controller.netconf.persist.impl.osgi.ConfigPersisterActivator$InnerCustomizer$1.run(ConfigPersisterActivator.java:181)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Error - getInstance() failed for ModuleIdentifier{factoryName='usc-impl', instanceName='usc-default'} in transaction TransactionIdentifier{name='ConfigTransaction-53-55'}
	at org.opendaylight.controller.config.manager.impl.ConfigTransactionControllerImpl.secondPhaseCommit(ConfigTransactionControllerImpl.java:405)
	at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.secondPhaseCommit(ConfigRegistryImpl.java:280)
	at org.opendaylight.controller.config.manager.impl.ConfigRegistryImpl.commitConfig(ConfigRegistryImpl.java:227)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
	at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
	at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:193)
	at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:175)
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)
	at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at com.sun.jmx.mbeanserver.MXBeanProxy$InvokeHandler.invoke(MXBeanProxy.java:150)
	at com.sun.jmx.mbeanserver.MXBeanProxy.invoke(MXBeanProxy.java:167)
	at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:252)
	at com.sun.proxy.$Proxy15.commitConfig(Unknown Source)
	at org.opendaylight.controller.config.util.ConfigRegistryJMXClient.commitConfig(ConfigRegistryJMXClient.java:102)
	at org.opendaylight.controller.netconf.confignetconfconnector.transactions.TransactionProvider.commitTransaction(TransactionProvider.java:138)
	at org.opendaylight.controller.netconf.confignetconfconnector.operations.Commit.handleWithNoSubsequentOperations(Commit.java:54)
	at org.opendaylight.controller.netconf.util.mapping.AbstractLastNetconfOperation.handle(AbstractLastNetconfOperation.java:33)
	at org.opendaylight.controller.netconf.util.mapping.AbstractNetconfOperation.handle(AbstractNetconfOperation.java:100)
	at org.opendaylight.controller.netconf.persist.impl.ConfigPusherImpl.sendRequestGetResponseCheckIsOK(ConfigPusherImpl.java:280)
	... 6 more
Caused by: java.lang.IllegalStateException: Optional.get() cannot be called on an absent value
	at com.google.common.base.Absent.get(Absent.java:47)
	at org.opendaylight.usc.manager.UscShardServiceImpl.read(UscShardServiceImpl.java:71)
	at org.opendaylight.usc.manager.UscTopologyService.updateUscRoot(UscTopologyService.java:146)
	at org.opendaylight.usc.manager.UscTopologyService.init(UscTopologyService.java:116)
	at org.opendaylight.usc.manager.UscManagerService.init(UscManagerService.java:77)
	at org.opendaylight.usc.UscProvider.onSessionInitiated(UscProvider.java:42)
	at org.opendaylight.controller.md.sal.binding.util.BindingContextUtils.createProviderContextAndInitialize(BindingContextUtils.java:56)
	at org.opendaylight.controller.sal.binding.impl.RootBindingAwareBroker.registerProvider(RootBindingAwareBroker.java:172)
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.usc.impl.rev150101.UscImplModule.createInstance(UscImplModule.java:35)
	at org.opendaylight.controller.config.spi.AbstractModule.getInstance(AbstractModule.java:73)
	at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.opendaylight.controller.config.manager.impl.dependencyresolver.DependencyResolverManager$ModuleInvocationHandler.handleInvocation(DependencyResolverManager.java:150)
	at com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87)
	at com.sun.proxy.$Proxy34.getInstance(Unknown Source)
	at org.opendaylight.controller.config.manager.impl.ConfigTransactionControllerImpl.secondPhaseCommit(ConfigTransactionControllerImpl.java:399)
	... 36 more

3) vtn manager:

features installed: odl—integration-compatible-with-all,odl-openflowplugin-flow-services-ui,odl-openflowplugin-adsal-compatibility,odl-vtn-manager-all

I am not able to reproduce the issue outside the CI :(




More information about the integration-dev mailing list