Seeing some errors when starting GoServer 15.2

243 views
Skip to first unread message

Dhawal Patel

unread,
Dec 22, 2015, 5:49:58 PM12/22/15
to go-cd

The server starts eventually. Should i worry about these errors:


2015-12-22 22:44:32,555 ERROR [Thread-65] PluginSettingsMetadataLoader:94 - Failed to fetch Plugin Settings metadata for plugin : yum

java.lang.RuntimeException: Interaction with plugin with id 'yum' implementing 'package-repository' extension failed while requesting for 'go.plugin-settings.get-configuration'. Reason: [Unsuccessful response from plugin. Plugin returned with code '400' and the following response: 'Invalid request name go.plugin-settings.get-configuration']

at com.thoughtworks.go.plugin.access.PluginRequestHelper.submitRequest(PluginRequestHelper.java:38)

at com.thoughtworks.go.plugin.access.common.settings.AbstractExtension.getPluginSettingsConfiguration(AbstractExtension.java:38)

at com.thoughtworks.go.plugin.access.packagematerial.PackageAsRepositoryExtension.getPluginSettingsConfiguration(PackageAsRepositoryExtension.java:50)

at com.thoughtworks.go.plugin.access.common.settings.PluginSettingsMetadataLoader.fetchPluginSettingsMetaData(PluginSettingsMetadataLoader.java:74)

at com.thoughtworks.go.plugin.access.common.settings.PluginSettingsMetadataLoader.pluginLoaded(PluginSettingsMetadataLoader.java:60)

at com.thoughtworks.go.plugin.infra.DefaultPluginManager$FilterChangeListener.pluginLoaded(DefaultPluginManager.java:262)

at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework$2.execute(FelixGoPluginOSGiFramework.java:353)

at org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:386)

at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.getBundle(FelixGoPluginOSGiFramework.java:111)

at com.thoughtworks.go.plugin.infra.FelixGoPluginOSGiFramework.loadPlugin(FelixGoPluginOSGiFramework.java:97)

at com.thoughtworks.go.plugin.infra.listeners.DefaultPluginJarChangeListener.refreshBundle(DefaultPluginJarChangeListener.java:152)

at com.thoughtworks.go.plugin.infra.listeners.DefaultPluginJarChangeListener.addPlugin(DefaultPluginJarChangeListener.java:109)

at com.thoughtworks.go.plugin.infra.listeners.DefaultPluginJarChangeListener.pluginJarAdded(DefaultPluginJarChangeListener.java:72)

at com.thoughtworks.go.plugin.infra.monitor.DefaultPluginJarLocationMonitor$PluginLocationMonitorThread$DoOnAllListeners$1.execute(DefaultPluginJarLocationMonitor.java:288)

at com.thoughtworks.go.plugin.infra.monitor.DefaultPluginJarLocationMonitor$PluginLocationMonitorThread$DoOnAllListeners.doOnAllPluginJarChangeListener(DefaultPluginJarLocationMonitor.java:319)

at com.thoughtworks.go.plugin.infra.monitor.DefaultPluginJarLocationMonitor$PluginLocationMonitorThread$DoOnAllListeners.pluginJarAdded(DefaultPluginJarLocationMonitor.java:286)

at com.thoughtworks.go.plugin.infra.monitor.DefaultPluginJarLocationMonitor$PluginLocationMonitorThread.notifyListenersOfAddedPlugins(DefaultPluginJarLocationMonitor.java:210)

at com.thoughtworks.go.plugin.infra.monitor.DefaultPluginJarLocationMonitor$PluginLocationMonitorThread.loadAndNotifyPluginsFrom(DefaultPluginJarLocationMonitor.java:198)

at com.thoughtworks.go.plugin.infra.monitor.DefaultPluginJarLocationMonitor$PluginLocationMonitorThread.run(DefaultPluginJarLocationMonitor.java:183)

Caused by: java.lang.RuntimeException: Unsuccessful response from plugin. Plugin returned with code '400' and the following response: 'Invalid request name go.plugin-settings.get-configuration'

at com.thoughtworks.go.plugin.access.PluginRequestHelper.submitRequest(PluginRequestHelper.java:36)

... 18 more


2015-12-22 22:45:34,404 ERROR [main] ConfigRepository:180 - [CONFIG REPOSITORY] Could not fetch latest commit id

org.eclipse.jgit.api.errors.NoHeadException: No HEAD exists and no explicit starting revision was specified

at org.eclipse.jgit.api.LogCommand.call(LogCommand.java:131)

at com.thoughtworks.go.service.ConfigRepository.revisions(ConfigRepository.java:129)

at com.thoughtworks.go.service.ConfigRepository.getCurrentRevCommit(ConfigRepository.java:178)

at com.thoughtworks.go.service.ConfigRepository$3.call(ConfigRepository.java:165)

at com.thoughtworks.go.service.ConfigRepository$3.call(ConfigRepository.java:161)

at com.thoughtworks.go.service.ConfigRepository.doLocked(ConfigRepository.java:119)

at com.thoughtworks.go.service.ConfigRepository.getCurrentRevision(ConfigRepository.java:161)

at com.thoughtworks.go.service.ConfigRepository.checkin(ConfigRepository.java:99)

at com.thoughtworks.go.config.GoConfigDataSource.internalLoad(GoConfigDataSource.java:306)

at com.thoughtworks.go.config.GoConfigDataSource.forceLoad(GoConfigDataSource.java:149)

at com.thoughtworks.go.config.GoConfigDataSource.load(GoConfigDataSource.java:127)

at com.thoughtworks.go.config.CachedGoConfig.loadFromDisk(CachedGoConfig.java:86)

at com.thoughtworks.go.config.CachedGoConfig.loadConfigIfNull(CachedGoConfig.java:75)

at com.thoughtworks.go.server.initializers.ApplicationInitializer.onApplicationEvent(ApplicationInitializer.java:99)

at com.thoughtworks.go.server.initializers.ApplicationInitializer.onApplicationEvent(ApplicationInitializer.java:47)

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:327)

at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:941)

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:475)

at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)

at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)

at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)

at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)

at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)

at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)

at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)

at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)

at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)

at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)

at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)

at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)

at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)

at org.eclipse.jetty.server.Server.start(Server.java:387)

at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)

at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)

at org.eclipse.jetty.server.Server.doStart(Server.java:354)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

at com.thoughtworks.go.server.Jetty9Server.start(Jetty9Server.java:90)

at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:67)

at com.thoughtworks.go.server.GoServer.go(GoServer.java:59)

at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:31)

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 com.simontuffs.onejar.Boot.run(Boot.java:306)

at com.simontuffs.onejar.Boot.main(Boot.java:159)

Santhosh Basavaraju

unread,
Jan 12, 2016, 12:31:55 PM1/12/16
to go-cd
Error:

Failed to fetch Plugin Settings metadata for plugin : yum

Cause:

Mostly the package repository configuration is not available for the go server.

Error:


[CONFIG REPOSITORY] Could not fetch latest commit id
org.eclipse.jgit.api.errors.NoHeadException: No HEAD exists and no explicit starting revision was specified

Cause:

{SERVER-LOCATION}/db/config.git 
has a .git folder which is corrupted or missing. Any configuration changes in go is committed using the internal git repo which is present in this location.

>> SB

sri...@thoughtworks.com

unread,
Apr 25, 2016, 1:39:58 PM4/25/16
to go-cd
Just on the same topic. I still get the same error when I provision go-server with the chef-cookbook. The provisioning script fails because the server doesn't startup. Here is the stacktrace.

-
Sri Prasanna
Reply all
Reply to author
Forward
0 new messages