3scale system-app not coming up after redeploying it
Issue
After attempting to increase cpu limits on 3scale to mitigate cpu throttling alerts I was not able to get 3scale to restart. I have since reverted the changes and still unable to restart.
From the system-app-hook-pre
I'm seeing the following error:
NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
Gem::Specification#has_rdoc= called from /opt/deps/rubygems/github.com/3scale/prawn/prawn-external-gitcommit-88aead0d97e230d08e9f51a18711d01317965bfe/app/prawn-core.gemspec:36.
fatal: not a git repository (or any of the parent directories): .git
Removing :environment prerequisite from db:create
I, [2023-12-08T14:18:07.053100 #1] INFO -- : ActiveMerchant MODE set to 'production'
W, [2023-12-08T14:18:07.070973 #1] WARN -- [Bugsnag]: No valid API key has been set, notifications will not be sent
I, [2023-12-08T14:18:07.256974 #1] INFO -- : [Core] Using http://backend-listener:3000/internal/ as URL
OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :admins. Overwriting existing method User.admins.
Creating scope :by_name. Overwriting existing method Cinstance.by_name.
[core] non-native log levels verbose, notice, critical emulated using UNKNOWN severity
Backend Internal API version 3.4.3 status: ok
Connected to mysql2://root@system-mysql/system
Connected to redis://system-redis:6379/1
rake aborted!
Writable paths check failed:
- /opt/system/public/system
/opt/system/lib/tasks/openshift.rake:26:in block (2 levels) in <top (required)>' /opt/system/vendor/bundle/ruby/2.6.0/gems/bugsnag-6.11.1/lib/bugsnag/integrations/rake.rb:18:in execute_with_bugsnag'
/opt/system/lib/tasks/openshift.rake:4:in block (2 levels) in <top (required)>' /opt/system/vendor/bundle/ruby/2.6.0/gems/bugsnag-6.11.1/lib/bugsnag/integrations/rake.rb:18:in execute_with_bugsnag'
/opt/system/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>' /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/cli/exec.rb:63:in load'
/opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/cli/exec.rb:63:in kernel_load' /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/cli/exec.rb:28:in run'
/opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/cli.rb:481:in exec' /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/vendor/thor/lib/thor/command.rb:27:in run'
/opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/vendor/thor/lib/thor.rb:392:in dispatch'
/opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/cli.rb:31:in dispatch' /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/vendor/thor/lib/thor/base.rb:485:in start'
/opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/cli.rb:25:in start' /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/exe/bundle:49:in block in <top (required)>'
/opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/lib/bundler/friendly_errors.rb:128:in with_friendly_errors' /opt/rh/rh-ruby26/root/usr/local/share/gems/gems/bundler-2.2.25/exe/bundle:37:in <top (required)>'
/opt/rh/rh-ruby26/root/usr/local/bin/bundle:23:in load' /opt/rh/rh-ruby26/root/usr/local/bin/bundle:23:in <main>'
Tasks: TOP => openshift:check_writable
(See full trace by running task with --trace)
Environment
- Red Hat 3scale API Management
- 2.X On-Premise
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.