12.2.5-ee.0 to 12.3.2-ee.0 upgrade error 'Cannot set unsupported config value ci_external_url'

Ubu 16, when upgrading from 12.2.5 to 12.3.2 gitlab-ctl reconfigure fails with the below chef-client error. Cannot roll back - get an error that states 'Malformed configuration JSON file found at /opt/gitlab/embedded/nodes/xxxxxxxxxxx.com.json.' Had to reboot system to get gitlab to present the GUI correctly. Still checking functionality.

gitlab-ctl reconfigure /opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl.rb:34: warning: already initialized constant GitlabCtl::Errors::NodeError /var/opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl.rb:34: warning: previous definition of NodeError was here /opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl.rb:35: warning: already initialized constant GitlabCtl::Errors::PasswordMismatch /var/opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl.rb:35: warning: previous definition of PasswordMismatch was here /opt/gitlab/embedded/service/omnibus-ctl-ee/lib/repmgr.rb:17: warning: already initialized constant Repmgr::MasterError /var/opt/gitlab/embedded/service/omnibus-ctl-ee/lib/repmgr.rb:17: warning: previous definition of MasterError was here /opt/gitlab/embedded/service/omnibus-ctl-ee/lib/repmgr.rb:18: warning: already initialized constant Repmgr::EventError /var/opt/gitlab/embedded/service/omnibus-ctl-ee/lib/repmgr.rb:18: warning: previous definition of EventError was here /opt/gitlab/embedded/service/omnibus-ctl-ee/lib/consul.rb:6: warning: already initialized constant Consul::WatcherError /var/opt/gitlab/embedded/service/omnibus-ctl-ee/lib/consul.rb:6: warning: previous definition of WatcherError was here Starting Chef Client, version 14.13.11 resolving cookbooks for run list: ["gitlab-ee"] Synchronizing Cookbooks:

  • gitlab-ee (0.0.1)
  • package (0.1.0)
  • consul (0.1.0)
  • gitlab (0.0.1)
  • repmgr (0.1.0)
  • runit (4.3.0)
  • postgresql (0.1.0)
  • redis (0.1.0)
  • monitoring (0.1.0)
  • registry (0.1.0)
  • mattermost (0.1.0)
  • gitaly (0.1.0)
  • letsencrypt (0.1.0)
  • nginx (0.1.0)
  • acme (4.0.0)
  • crond (0.1.0) Installing Cookbook Gems: Compiling Cookbooks...

================================================================================ Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab-ee/recipes/default.rb

Mixlib::Config::UnknownConfigOptionError

Cannot set unsupported config value ci_external_url.

Cookbook Trace:

/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:116:in internal_set' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:105:in block in from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/config_mash.rb:29:in auto_vivify' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:105:in from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/config.rb:22:in from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:26:in from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab-ee/recipes/default.rb:20:in `from_file'

Relevant File Content:

/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/settings_helper.rb:

109: end 110: 111: # Enhance set so strict mode errors aren't thrown as long as the setting is witin our defined config 112: def internal_set(symbol, value) 113: if configuration.key?(symbol) 114: configuration[symbol] = value 115: else 116>> super 117: end 118: end 119: 120: # Enhance get so strict mode errors aren't thrown as long as the setting is witin our defined config 121: def internal_get(symbol) 122: if configuration.key?(symbol) 123: configuration[symbol] 124: else 125: super

System Info:

chef_version=14.13.11 platform=ubuntu platform_version=16.04 ruby=ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux] program_name=/opt/gitlab/embedded/bin/chef-client executable=/var/opt/gitlab/embedded/bin/chef-client

Running handlers: There was an error running gitlab-ctl reconfigure:

Cannot set unsupported config value ci_external_url.

Running handlers complete Chef Client failed. 0 resources updated in 06 seconds

Also -

gitlab-ctl status /opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl.rb:34: warning: already initialized constant GitlabCtl::Errors::NodeError /var/opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl.rb:34: warning: previous definition of NodeError was here /opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl.rb:35: warning: already initialized constant GitlabCtl::Errors::PasswordMismatch /var/opt/gitlab/embedded/service/omnibus-ctl/lib/gitlab_ctl.rb:35: warning: previous definition of PasswordMismatch was here /opt/gitlab/embedded/service/omnibus-ctl-ee/lib/repmgr.rb:17: warning: already initialized constant Repmgr::MasterError /var/opt/gitlab/embedded/service/omnibus-ctl-ee/lib/repmgr.rb:17: warning: previous definition of MasterError was here /opt/gitlab/embedded/service/omnibus-ctl-ee/lib/repmgr.rb:18: warning: already initialized constant Repmgr::EventError /var/opt/gitlab/embedded/service/omnibus-ctl-ee/lib/repmgr.rb:18: warning: previous definition of EventError was here /opt/gitlab/embedded/service/omnibus-ctl-ee/lib/consul.rb:6: warning: already initialized constant Consul::WatcherError /var/opt/gitlab/embedded/service/omnibus-ctl-ee/lib/consul.rb:6: warning: previous definition of WatcherError was here run: alertmanager: (pid 2209) 57378s; run: log: (pid 2206) 57378s run: ci-redis: (pid 2202) 57378s; run: log: (pid 2200) 57378s down: ci-sidekiq: 0s, normally up, want up; run: log: (pid 2196) 57378s run: ci-unicorn: (pid 18109) 0s; run: log: (pid 2203) 57378s run: gitaly: (pid 2188) 57378s; run: log: (pid 2183) 57378s down: gitlab-monitor: 0s, normally up, want up; run: log: (pid 2191) 57378s run: gitlab-workhorse: (pid 2190) 57378s; run: log: (pid 2184) 57378s run: grafana: (pid 2193) 57378s; run: log: (pid 2187) 57378s run: logrotate: (pid 14740) 3377s; run: log: (pid 2201) 57378s run: nginx: (pid 2195) 57378s; run: log: (pid 2192) 57378s run: node-exporter: (pid 2189) 57378s; run: log: (pid 2186) 57378s run: prometheus: (pid 2213) 57378s; run: log: (pid 2211) 57378s run: redis: (pid 2185) 57378s; run: log: (pid 2182) 57378s run: redis-exporter: (pid 2212) 57378s; run: log: (pid 2210) 57378s run: sidekiq: (pid 2204) 57378s; run: log: (pid 2198) 57378s run: unicorn: (pid 2205) 57378s; run: log: (pid 2197) 57378s

Assignee Loading
Time tracking Loading