Problem to solve
Describe your question in as much detail as possible:
- After update from gitlab-ce-16.9.6 to 16.9.7 uninitialized constant parser::AST::Processor::Mixin
ERROR: Running exception handlers
There was an error running gitlab-ctl reconfigure:
uninitialized constant Parser::AST::Processor::Mixin
include Parser::AST::Processor::Mixin
^^^^^^^
Did you mean? Mixlib
Running handlers complete
[2024-05-08T19:34:57+03:00] ERROR: Exception handlers complete
Infra Phase failed. 0 resources updated in 06 seconds
[2024-05-08T19:34:57+03:00] FATAL: NameError: uninitialized constant Parser::AST::Processor::Mixin
include Parser::AST::Processor::Mixin
^^^^^^^
Did you mean? Mixlib
Steps to reproduce
update from gitlab-ce-16.9.6 to 16.9.7
Configuration
centos 7
gitlab-omnibus
Versions
Please select whether options apply, and add the version information.
- [ x] Self-managed
Versions
- GitLab gitlab-ce 16.9.7
grep -r 'Parser::AST::Processor::Mixin' /opt/gitlab/embedded/
/opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/inspec-core-6.6.0/lib/inspec/utils/profile_ast_helpers.rb: include Parser::AST::Processor::Mixin
Fixed
Found a commit that fixes the bug.
Edited /opt/gitlab/embedded/lib/ruby/gems/3.1.0/gems/inspec-core-6.6.0/lib/inspec/utils/profile_ast_helpers.rb
Everything works now