uninitialized constant OpenAi
Summary
Issue was detected on a self hosted version of GitLab, latest patch of 16.8.1, with Sentry monitoring established.
Steps to reproduce
Install and start GitLab
What is the current bug behavior?
Reporting uninitialized constant OpenAi
along with Sidekiq/OpenAi::ClearConversationsWorker
. Error is reported on line 9 of lib/gitlab/sidekiq_death_handler.rb
What is the expected correct behavior?
No errors reported
Relevant logs and/or screenshots
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Ubuntu 22.04 Proxy: no Current User: git Using RVM: no Ruby Version: 3.2.2 Gem Version: 3.5.4 Bundler Version:2.5.4 Rake Version: 13.0.6 Redis Version: 7.2.4 Sidekiq Version:7.1.6 Go Version: go1.21.5 linux/amd64 GitLab information Version: 16.8.1-ee Revision: 1242b447720 Directory: /home/git/gitlab DB Adapter: PostgreSQL DB Version: 16.1 URL: https://gitlab.tapenvy.us HTTP Clone URL: https://gitlab.tapenvy.us/some-group/some-project.git SSH Clone URL: git@gitlab.tapenvy.us:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 14.33.0 Repository storages: - default: unix:/home/git/gitlab/tmp/sockets/private/gitaly.socket GitLab Shell path: /home/git/gitlab-shell Gitaly - default Address: unix:/home/git/gitlab/tmp/sockets/private/gitaly.socket - default Version: 14.3.0-rc2-8518-ga4366420927 - default Git Version: 2.42.0
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab subtasks ...Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 14.33.0 ? ... OK (14.33.0) Running /home/git/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes (cluster/worker) ... 1/1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Checking Reply by email ...
IMAP server credentials are correct? ... Checking gitlab@tapenvy.us yes Mailroom enabled? ... yes MailRoom running? ... yes
Checking Reply by email ... Finished
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Database config exists? ... yes Tables are truncated? ... skipped All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Cable config exists? ... yes Resque config exists? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Systemd unit files or init script exist? ... yes Systemd unit files or init script up-to-date? ... yes Projects have namespace: ... 2/7 ... yes 2/11 ... yes 17/12 ... yes 17/17 ... yes 32/19 ... yes 2/20 ... yes 32/24 ... yes 2/25 ... yes 17/28 ... yes 17/29 ... yes 24/35 ... yes 31/39 ... yes 17/40 ... yes 17/43 ... yes 17/45 ... yes 19/46 ... yes 17/47 ... yes 19/48 ... yes 17/51 ... yes 24/54 ... yes 24/55 ... yes 32/56 ... yes 31/59 ... yes 24/61 ... yes 167/63 ... yes 24/67 ... yes 17/68 ... yes 17/70 ... yes 1/71 ... yes 17/74 ... yes 17/76 ... yes 24/78 ... yes 32/82 ... yes 17/83 ... yes 63/85 ... yes 17/86 ... yes 1/87 ... yes 32/88 ... yes 63/89 ... yes 63/90 ... yes 63/91 ... yes 63/92 ... yes 63/93 ... yes 63/94 ... yes 24/95 ... yes 63/96 ... yes 24/97 ... yes 63/98 ... yes 54/99 ... yes 24/100 ... yes 54/101 ... yes 17/102 ... yes 63/103 ... yes 24/104 ... yes 57/106 ... yes 57/107 ... yes 63/108 ... yes 17/109 ... yes 63/111 ... yes 63/112 ... yes 17/113 ... yes 63/114 ... yes 63/115 ... yes 63/116 ... yes 61/117 ... yes 63/118 ... yes 61/119 ... yes 24/120 ... yes 61/121 ... yes 65/123 ... yes 24/124 ... yes 24/125 ... yes 63/126 ... yes 63/127 ... yes 63/128 ... yes 158/129 ... yes 161/130 ... yes 32/131 ... yes 165/134 ... yes 165/135 ... yes 165/136 ... yes 165/137 ... yes 165/138 ... yes 162/144 ... yes 162/145 ... yes 162/146 ... yes 162/147 ... yes 162/148 ... yes 161/149 ... yes 161/150 ... yes 161/151 ... yes 161/152 ... yes 160/153 ... yes 160/154 ... yes 160/155 ... yes 160/156 ... yes 160/157 ... yes 158/158 ... yes 24/159 ... yes 165/160 ... yes 199/161 ... yes 199/162 ... yes 199/163 ... yes 31/164 ... yes 31/165 ... yes 165/167 ... yes 158/168 ... yes 24/169 ... yes 213/170 ... yes 158/171 ... yes 31/172 ... yes 32/173 ... yes Redis version >= 6.0.0? ... yes Ruby version >= 3.0.6 ? ... yes (3.2.2) Git user has default SSH configuration? ... yes Active users: ... 2 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes Elasticsearch version 7.x-8.x or OpenSearch version 1.x ... skipped (Advanced Search is disabled) All migrations must be finished before doing a major upgrade ... skipped (Advanced Search is disabled)
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished