Skip to content
Snippets Groups Projects
  1. Oct 16, 2023
  2. Oct 14, 2023
  3. Oct 13, 2023
  4. Oct 12, 2023
  5. Sep 26, 2023
  6. Sep 19, 2023
  7. Sep 15, 2023
  8. Oct 11, 2023
  9. Oct 03, 2023
    • Stan Hu's avatar
      Fix unintialized constant exception handler error · 69f2fd6a
      Stan Hu authored
      When `gitlab-ctl reconfigure` hits an HTTP error while trying to
      download local cookbooks, the application runs into an `uninitialized
      constant GitLabHandler::Exception::OmnibusHelper` error:
      
      ```
      ERROR: Running exception handlers
      ERROR: Report handler GitLabHandler::Exception raised #<NameError: uninitialized constant GitLabHandler::Exception::OmnibusHelper>
      ERROR: /opt/gitlab/embedded/cookbooks/package/libraries/handlers/gitlab.rb:30:in `report'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/handler.rb:296:in `run_report_unsafe'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/handler.rb:284:in `run_report_safely'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/handler.rb:155:in `block in run_exception_handlers'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/handler.rb:153:in `each'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/handler.rb:153:in `run_exception_handlers'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/handler.rb:164:in `block in <class:Handler>'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/client.rb:443:in `block in run_failed'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/client.rb:442:in `each'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/client.rb:442:in `run_failed'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/client.rb:306:in `rescue in run'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/client.rb:299:in `run'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/application.rb:305:in `run_with_graceful_exit_option'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/application.rb:281:in `block in run_chef_client'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/local_mode.rb:42:in `with_server_connectivity'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/application.rb:264:in `run_chef_client'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/application/base.rb:352:in `run_application'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-17.10.0/lib/chef/application.rb:67:in `run'
      ERROR: /opt/gitlab/embedded/lib/ruby/gems/3.0.0/gems/chef-bin-17.10.0/bin/cinc-client:25:in `<top (required)>'
      ERROR: /opt/gitlab/embedded/bin/cinc-client:25:in `load'
      ERROR: /opt/gitlab/embedded/bin/cinc-client:25:in `<main>'
      ERROR: Exception handlers complete
      ```
      
      This was seen in
      https://gitlab.com/gitlab-com/gl-infra/production/-/issues/16897 and
      raised as a side issue in
      https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8245.
      
      Changelog: fixed
      69f2fd6a
    • Stan Hu's avatar
      Suppress Ruby experimental warning messages for Puma, Sidekiq · 2b51cc0c
      Stan Hu authored
      This is a follow-up to
      https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/7137 to
      address https://gitlab.com/gitlab-org/gitlab/-/issues/420811.
      
      Currently Puma and Sidekiq boot with the warnings:
      
      ```
      warning: One-line pattern matching is experimental, and the behavior may change in future versions of Ruby!
      ```
      
      This occurs because the Remote Development codebase uses Ruby's
      experimental pattern matching syntax
      (https://docs.ruby-lang.org/en/3.0/syntax/pattern_matching_rdoc.html).
      
      Let's just squelch these warnings for now since they're development
      warnings.
      
      Changelog: fixed
      2b51cc0c
  10. Sep 25, 2023
  11. Oct 04, 2023
  12. Sep 29, 2023
  13. Sep 25, 2023
  14. Sep 29, 2023
  15. Sep 25, 2023
  16. Sep 18, 2023
  17. Aug 10, 2023
  18. Sep 12, 2023
  19. Sep 15, 2023
  20. Sep 14, 2023
  21. Sep 06, 2023
  22. Sep 08, 2023
  23. Aug 01, 2023
  24. Sep 05, 2023
  25. Sep 06, 2023
  26. Aug 09, 2023
  27. Aug 04, 2023
  28. Aug 09, 2023
  29. Aug 04, 2023
  30. Jul 31, 2023
  31. Aug 01, 2023
  32. Jul 29, 2023
Loading