Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manageIQ on openshift ApplianceConsole ERROR #257

Closed
miq-bot opened this issue Jan 8, 2018 · 1 comment
Closed

manageIQ on openshift ApplianceConsole ERROR #257

miq-bot opened this issue Jan 8, 2018 · 1 comment

Comments

@miq-bot
Copy link
Member

miq-bot commented Jan 8, 2018

Persistent pod reset ApplianceConsole ERROR

I, [2017-09-28T00:26:48.384317 #196] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : complete
I, [2017-09-28T00:34:58.972173 #197] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : starting
E, [2017-09-28T00:35:08.563978 #197] ERROR -- : Encountered issue setting up Database using region 0: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
rake aborted!
ActiveRecord::ProtectedEnvironmentError: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:51:in check_protected_environments!' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:11:in block (2 levels) in <top (required)>'
/var/www/miq/vmdb/lib/tasks/evm_dba.rake:103:in block (3 levels) in <top (required)>' /var/www/miq/vmdb/lib/tasks/evm_dba.rake:139:in block (3 levels) in <top (required)>'
/opt/rh/cfme-gemset/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:drop => db:check_protected_environments
(See full trace by running task with --trace)

I, [2017-09-28T00:35:08.564522 #197] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : complete
I, [2017-09-28T00:43:19.782132 #196] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : starting
E, [2017-09-28T00:43:29.109174 #196] ERROR -- : Encountered issue setting up Database using region 0: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
rake aborted!
ActiveRecord::ProtectedEnvironmentError: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:51:in check_protected_environments!' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:11:in block (2 levels) in <top (required)>'
/var/www/miq/vmdb/lib/tasks/evm_dba.rake:103:in block (3 levels) in <top (required)>' /var/www/miq/vmdb/lib/tasks/evm_dba.rake:139:in block (3 levels) in <top (required)>'
/opt/rh/cfme-gemset/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:drop => db:check_protected_environments
(See full trace by running task with --trace)

I, [2017-09-28T00:43:29.109777 #196] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : complete
I, [2017-09-28T00:52:43.853884 #216] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : starting
E, [2017-09-28T00:52:55.845369 #216] ERROR -- : Encountered issue setting up Database using region 0: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
rake aborted!
ActiveRecord::ProtectedEnvironmentError: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:51:in check_protected_environments!' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:11:in block (2 levels) in <top (required)>'
/var/www/miq/vmdb/lib/tasks/evm_dba.rake:103:in block (3 levels) in <top (required)>' /var/www/miq/vmdb/lib/tasks/evm_dba.rake:139:in block (3 levels) in <top (required)>'
/opt/rh/cfme-gemset/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:drop => db:check_protected_environments
(See full trace by running task with --trace)

I, [2017-09-28T00:52:55.845999 #216] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : complete
I, [2017-09-28T00:57:29.724955 #196] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : starting
I, [2017-09-28T00:58:30.646980 #196] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : complete
I, [2017-09-28T01:03:40.419909 #197] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : starting
E, [2017-09-28T01:03:52.733303 #197] ERROR -- : Encountered issue setting up Database using region 0: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
rake aborted!
ActiveRecord::ProtectedEnvironmentError: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:51:in check_protected_environments!' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:11:in block (2 levels) in <top (required)>'
/var/www/miq/vmdb/lib/tasks/evm_dba.rake:103:in block (3 levels) in <top (required)>' /var/www/miq/vmdb/lib/tasks/evm_dba.rake:139:in block (3 levels) in <top (required)>'
/opt/rh/cfme-gemset/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:drop => db:check_protected_environments
(See full trace by running task with --trace)

I, [2017-09-28T01:03:52.733921 #197] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : complete
I, [2017-09-28T01:11:04.929892 #197] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : starting
E, [2017-09-28T01:11:14.987167 #197] ERROR -- : Encountered issue setting up Database using region 0: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
rake aborted!
ActiveRecord::ProtectedEnvironmentError: You are attempting to run a destructive action against your 'production' database.
If you are sure you want to continue, run the same command with the environment variable:
DISABLE_DATABASE_ENVIRONMENT_CHECK=1
/opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/tasks/database_tasks.rb:51:in check_protected_environments!' /opt/rh/cfme-gemset/gems/activerecord-5.0.3/lib/active_record/railties/databases.rake:11:in block (2 levels) in <top (required)>'
/var/www/miq/vmdb/lib/tasks/evm_dba.rake:103:in block (3 levels) in <top (required)>' /var/www/miq/vmdb/lib/tasks/evm_dba.rake:139:in block (3 levels) in <top (required)>'
/opt/rh/cfme-gemset/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => db:drop => db:check_protected_environments
(See full trace by running task with --trace)

I, [2017-09-28T01:11:14.987629 #197] INFO -- : MIQ(ApplianceConsole::ExternalDatabaseConfiguration#create_region) : complete


This issue was moved to this repository from ManageIQ/manageiq#16064, originally opened by @lixwlixw

@carbonin
Copy link
Member

carbonin commented May 4, 2018

This shouldn't be an issue anymore since we changed how the deployment is detected.

Go ahead and reopen if this is still something you're seeing.

@carbonin carbonin closed this as completed May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants