Hi team,
We are facing an an issue upgrading to GOCD version 23.4 from 21.2,
On further investigation we found there is an issue with 3 plugins as
observed in logs, when we remove the 3 bundled jars the server loads
perfectly fine
* gocd-file-based-secrets-plugin.jar gocd-json-config-plugin.jar
gocd-yaml-config-plugin.jar*
But we are not sure what would be the impact if we remove these 3 jars as
they are bundled with gocd. Do we know how can we resolve the issue with
this plugins.
Below are the error logs:
023-11-10 17:24:13,705 INFO [goPluginLocationMonitor]
DefaultPluginJarChangeListener:67 - Plugin load starting:
/var/lib/go-server/plugins/bundled/gocd-file-b
ased-secrets-plugin.jar
2023-11-10 17:24:13,729 INFO [WrapperJarAppMain] GoConfigMigration:91 -
Upgrading config file from version 139 to version 139
2023-11-10 17:24:13,730 ERROR [goPluginLocationMonitor]
DefaultPluginManager:136 - This is an invalid request type
:go.plugin-settings.get-configuration
2023-11-10 17:24:13,731 WARN [goPluginLocationMonitor]
PluginSettingsMetadataLoader:63 - Failed to fetch plugin settings metadata
for plugin cd.go.secrets.file
-based-plugin. Maybe the plugin does not implement plugin settings and view?
2023-11-10 17:24:13,731 WARN [goPluginLocationMonitor]
PluginSettingsMetadataLoader:64 - Plugin: cd.go.secrets.file-based-plugin -
Metadata load info: [{extens
ion='secrets', configuration='null', view='null',
error='com.thoughtworks.go.plugin.api.exceptions.UnhandledRequestTypeException:
This is an invalid request typ
e :go.plugin-settings.get-configuration'}]
2023-11-10 17:24:13,732 WARN [goPluginLocationMonitor]
PluginSettingsMetadataLoader:65 - Not all plugins are required to implement
the request above. This erro
r may be safe to ignore.
2023-11-10 17:24:13,771 INFO [goPluginLocationMonitor]
DefaultPluginJarChangeListener:74 - Plugin load finished:
/var/lib/go-server/plugins/bundled/gocd-file-b
ased-secrets-plugin.jar
2023-11-10 17:24:13,779 INFO [goPluginLocationMonitor]
DefaultPluginJarChangeListener:67 - Plugin load starting:
/var/lib/go-server/plugins/bundled/gocd-json-c
onfig-plugin.jar
2023-11-10 17:24:14,073 INFO [goPluginLocationMonitor]
ConfigRepositoryInitializer:108 - [Config Repository Initializer] Start
initializing the config reposito
ries for plugin 'json.config.plugin'
2023-11-10 17:24:14,113 INFO [goPluginLocationMonitor]
GoFileConfigDataSource:264 - Config file changed at 2023-11-10T16:57:20.392Z
2023-11-10 17:24:14,114 INFO [goPluginLocationMonitor]
GoFileConfigDataSource:265 - Reloading config file:
/etc/go/cruise-config.xml
2023-11-10 17:24:14,319 INFO [WrapperJarAppMain] GoConfigMigration:99 -
Finished upgrading config file
2023-11-10 17:24:14,319 INFO [WrapperJarAppMain] GoConfigMigrator:107 -
[Config Save] Starting Config Save post upgrade using
FullConfigSaveNormalFlow
2023-11-10 17:24:21,478 ERROR [goPluginLocationMonitor]
GoFileConfigDataSource:466 - Unable to load config file:
/etc/go/cruise-config.xml Parameter 'TEST_JOB_R
ESOURCEJOB_RESOURCE' is not defined. All pipelines using this parameter
directly or via a template must define it., Resource name '#{JOB_RESOURCE}'
is not valid
. Valid names much match '^[-\w\s|.]*$'
com.thoughtworks.go.config.exceptions.GoConfigInvalidException: Parameter
'TEST_JOB_RESOURCEJOB_RESOURCE' is not defined. All pipelines using this
parameter dir
ectly or via a template must define it., Resource name '#{JOB_RESOURCE}' is
not valid. Valid names much match '^[-\w\s|.]*$'
at
com.thoughtworks.go.config.MagicalGoConfigXmlLoader.validateCruiseConfig(MagicalGoConfigXmlLoader.java:133)
at
com.thoughtworks.go.config.MagicalGoConfigXmlLoader.preprocessAndValidate(MagicalGoConfigXmlLoader.java:122)
at
com.thoughtworks.go.config.FullConfigSaveFlow.preprocessAndValidate(FullConfigSaveFlow.java:97)
at
com.thoughtworks.go.config.FullConfigSaveNormalFlow.execute(FullConfigSaveNormalFlow.java:59)
at
com.thoughtworks.go.config.GoFileConfigDataSource.forceLoad(GoFileConfigDataSource.java:427)
at
com.thoughtworks.go.config.GoFileConfigDataSource.load(GoFileConfigDataSource.java:268)
--
The information in this email and any attachments are intended solely for
the recipient(s) to whom it is addressed, and may be confidential and/or
privileged. Any unauthorized distribution or copying of this transmittal or
its attachments is prohibited. If you are not a named recipient or have
received this email in error: (i) you should not read, disclose, or copy
it, (ii) please notify the sender of your receipt by reply email and delete
this email and all attachments.
--
You received this message because you are subscribed to the Google Groups
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/go-cd/da994589-e544-4445-a268-a12285133a14n%40googlegroups.com.