v18.2.4 to v18.3 fail

gitlab-ctl reconfigure
[2025-08-22T14:38:41+08:00] INFO: Started Cinc Zero at chefzero://localhost:1 with repository at /opt/gitlab/embedded (One version per cookbook)
Cinc Client, version 18.3.0
Patents: Patents | Chef
Infra Phase starting
[2025-08-22T14:38:41+08:00] INFO: *** Cinc Client 18.3.0 ***
[2025-08-22T14:38:41+08:00] INFO: Platform: x86_64-linux
[2025-08-22T14:38:41+08:00] INFO: Cinc-client pid: 3776968
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/ffi-yajl-2.6.0/lib/ffi_yajl/encoder.rb:42: warning: undefining the allocator of T_DATA class FFI_Yajl::Ext::Encoder::YajlGen
[2025-08-22T14:38:52+08:00] INFO: Setting the run_list to [“recipe[gitlab-base]”] from CLI options
[2025-08-22T14:38:52+08:00] INFO: Run List is [recipe[gitlab-base]]
[2025-08-22T14:38:52+08:00] INFO: Run List expands to [gitlab-base]
[2025-08-22T14:38:52+08:00] INFO: Starting Cinc Client Run for alios190
[2025-08-22T14:38:52+08:00] INFO: Running start handlers
[2025-08-22T14:38:52+08:00] INFO: Start handlers complete.
Resolving cookbooks for run list: [“gitlab-base”]
[2025-08-22T14:38:53+08:00] INFO: Loading cookbooks [gitlab-base@0.1.0, package@0.1.0, gitlab@0.0.1, runit@5.1.7, logrotate@0.1.0, postgresql@0.1.0, redis@0.1.0, monitoring@0.1.0, registry@0.1.0, mattermost@0.1.0, consul@0.1.0, gitaly@0.1.0, praefect@0.1.0, gitlab-kas@0.1.0, gitlab-pages@0.1.0, letsencrypt@0.1.0, nginx@0.1.0, acme@4.1.6, crond@0.1.0]
Synchronizing cookbooks:

  • gitlab-base (0.1.0)
  • package (0.1.0)
  • gitlab (0.0.1)
  • logrotate (0.1.0)
  • runit (5.1.7)
  • postgresql (0.1.0)
  • redis (0.1.0)
  • registry (0.1.0)
  • monitoring (0.1.0)
  • gitlab-kas (0.1.0)
  • gitaly (0.1.0)
  • praefect (0.1.0)
  • nginx (0.1.0)
  • mattermost (0.1.0)
  • acme (4.1.6)
  • gitlab-pages (0.1.0)
  • consul (0.1.0)
  • crond (0.1.0)
  • letsencrypt (0.1.0)
    Installing cookbook gem dependencies:
    Compiling cookbooks…
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:2: warning: already initialized constant SELinuxDistroHelper::REDHAT_RELEASE_FILE
    /opt/gitlab/embedded/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:2: warning: previous definition of REDHAT_RELEASE_FILE was here
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:3: warning: already initialized constant SELinuxDistroHelper::OS_RELEASE_FILE
    /opt/gitlab/embedded/cookbooks/package/libraries/helpers/selinux_distro_helper.rb:3: warning: previous definition of OS_RELEASE_FILE was here
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:4: warning: already initialized constant SecretsHelper::SECRETS_FILE
    /opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:4: warning: previous definition of SECRETS_FILE was here
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:5: warning: already initialized constant SecretsHelper::SECRETS_FILE_CHEF_ATTR
    /opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:5: warning: previous definition of SECRETS_FILE_CHEF_ATTR was here
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/helpers/secrets_helper.rb:6: warning: already initialized constant SecretsHelper::SKIP_GENERATE_SECRETS_CHEF_ATTR
    /opt/gitlab/embedded/cookbooks/package/libraries/helpers/secrets_helper.rb:6: warning: previous definition of SKIP_GENERATE_SECRETS_CHEF_ATTR was here
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/gitlab_cluster.rb:16: warning: already initialized constant GitlabCluster::CONFIG_PATH
    /opt/gitlab/embedded/cookbooks/package/libraries/gitlab_cluster.rb:16: warning: previous definition of CONFIG_PATH was here
    /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/gitlab_cluster.rb:17: warning: already initialized constant GitlabCluster::JSON_FILE
    /opt/gitlab/embedded/cookbooks/package/libraries/gitlab_cluster.rb:17: warning: previous definition of JSON_FILE was here
    Loading Cinc Auditor profile files:
    Loading Cinc Auditor input files:
    Loading Cinc Auditor waiver files:

================================================================================

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

Mixlib::Config::UnknownConfigOptionError

Reading unsupported config value e.

Cookbook Trace: (most recent call first)

/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:125:in internal_get' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:105:in block in from_file’
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/config_mash.rb:35:in auto_vivify' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:105:in from_file’
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/config.rb:28:in from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:27:in from_file’
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab-base/recipes/default.rb:6:in `from_file’

Relevant File Content:

/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:

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
126: end
127: end
128:
129: def sanitized_config
130: results = { “gitlab” => {}, “roles” => {}, “monitoring” => {} }
131:
132: # Add the settings to the results
133: sorted_settings.each do |key, value|
134: raise “Attribute parent value invalid for key: #{key} (#{value})” if value[:parent] && !results.key?(value[:parent])

System Info:

chef_version=18.3.0
platform=anolis
platform_version=8.10
ruby=ruby 3.2.5 (2024-07-26 revision 31d0f1a2e7) [x86_64-linux]
program_name=/opt/gitlab/embedded/bin/cinc-client
executable=/opt/gitlab/embedded/bin/cinc-client

Running handlers:
[2025-08-22T14:38:55+08:00] ERROR: Running exception handlers
There was an error running gitlab-ctl reconfigure:

Reading unsupported config value e.

Running handlers complete
[2025-08-22T14:38:55+08:00] ERROR: Exception handlers complete
Infra Phase failed. 0 resources updated in 13 seconds
[2025-08-22T14:38:55+08:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/cinc-stacktrace.out
[2025-08-22T14:38:55+08:00] FATAL: ---------------------------------------------------------------------------------------
[2025-08-22T14:38:55+08:00] FATAL: PLEASE PROVIDE THE CONTENTS OF THE stacktrace.out FILE (above) IF YOU FILE A BUG REPORT
[2025-08-22T14:38:55+08:00] FATAL: ---------------------------------------------------------------------------------------
[2025-08-22T14:38:55+08:00] FATAL: Mixlib::Config::UnknownConfigOptionError: Reading unsupported config value e.

cat /opt/gitlab/embedded/cookbooks/cache/cinc-stacktrace.out
Generated at 2025-08-22 14:38:55 +0800
Mixlib::Config::UnknownConfigOptionError: Reading unsupported config value e.
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/mixlib-config-3.0.27/lib/mixlib/config.rb:642:in internal_get' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:125:in internal_get’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/mixlib-config-3.0.27/lib/mixlib/config.rb:656:in internal_get_or_set' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/mixlib-config-3.0.27/lib/mixlib/config.rb:557:in method_missing’
/etc/gitlab/gitlab.rb:1:in from_file' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/mixlib-config-3.0.27/lib/mixlib/config.rb:63:in instance_eval’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/mixlib-config-3.0.27/lib/mixlib/config.rb:63:in from_file' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:105:in block in from_file’
/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/config_mash.rb:35:in auto_vivify' /opt/gitlab/embedded/cookbooks/cache/cookbooks/package/libraries/settings_dsl.rb:105:in from_file’
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/config.rb:28:in from_file' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/mixin/from_file.rb:34:in instance_eval’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/mixin/from_file.rb:34:in from_file' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/cookbook_version.rb:233:in load_ruby_recipe’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/cookbook_version.rb:203:in load_recipe' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:429:in load_recipe’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:385:in block in include_recipe' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:384:in each’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:384:in include_recipe' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/dsl/include_recipe.rb:26:in include_recipe’
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:27:in from_file' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/mixin/from_file.rb:34:in instance_eval’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/mixin/from_file.rb:34:in from_file' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/cookbook_version.rb:233:in load_ruby_recipe’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/cookbook_version.rb:203:in load_recipe' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:429:in load_recipe’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:385:in block in include_recipe' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:384:in each’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:384:in include_recipe' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/dsl/include_recipe.rb:26:in include_recipe’
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab-base/recipes/default.rb:6:in from_file' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/mixin/from_file.rb:34:in instance_eval’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/mixin/from_file.rb:34:in from_file' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/cookbook_version.rb:233:in load_ruby_recipe’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/cookbook_version.rb:203:in load_recipe' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:429:in load_recipe’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context/cookbook_compiler.rb:228:in block in compile_recipes' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context/cookbook_compiler.rb:225:in each’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context/cookbook_compiler.rb:225:in compile_recipes' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context/cookbook_compiler.rb:109:in compile’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/run_context.rb:259:in load' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/policy_builder/expand_node_object.rb:103:in setup_run_context’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/forwardable-1.3.3/lib/forwardable.rb:240:in setup_run_context' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/client.rb:499:in setup_run_context’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/client.rb:294:in run' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/application.rb:305:in run_with_graceful_exit_option’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/application.rb:281:in block in run_chef_client' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/local_mode.rb:42:in with_server_connectivity’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/application.rb:264:in run_chef_client' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/application/base.rb:354:in run_application’
/opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-18.3.0/lib/chef/application.rb:67:in run' /opt/gitlab/embedded/lib/ruby/gems/3.2.0/gems/chef-bin-18.3.0/bin/cinc-client:25:in <top (required)>’
/opt/gitlab/embedded/bin/cinc-client:25:in load' /opt/gitlab/embedded/bin/cinc-client:25:in ’

1 Like