Project

General

Profile

Actions

Bug #23154

closed

rake katello:reset errors with `Setting::Auth is marked as readonly`

Added by Andrew Kofink about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

Found in nightly

rake aborted!                                                                                                                                                                                                                                 ActiveRecord::ReadOnlyRecord: Setting::Auth is marked as readonly                                                                                                                                                                             /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/persistence.rb:615:in `_raise_readonly_record_error'                                                                                                             
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/persistence.rb:562:in `create_or_update'                                                                                                                         /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:336:in `block in create_or_update'                                                                                                                  
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:131:in `run_callbacks'                                                                                                                            /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_save_callbacks'                                                                                                                      /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:336:in `create_or_update'                                                                                                                           
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/persistence.rb:162:in `save!'                                                                                                                                    
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/validations.rb:50:in `save!'                                                                                                                                     
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/attribute_methods/dirty.rb:43:in `save!'                                                                                                                         
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `block in save!'                                                                                                                          
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'                                                                                              
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'                                                                                
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'                                                                             /home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'                                                                                      
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'                                                                                         
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'                                                                                                                             
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'                                                                                                       
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/transactions.rb:313:in `save!'                                                                                                                                   
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/activerecord-5.1.4/lib/active_record/suppressor.rb:46:in `save!'                                                                                                                                      
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/bullet-5.7.5/lib/bullet/active_record5.rb:14:in `save!'                                                                                                                                               
/home/vagrant/foreman/app/models/setting.rb:111:in `[]='                                                                                                                                                                                      
/home/vagrant/katello/lib/katello/tasks/reset.rake:32:in `block (2 levels) in <top (required)>'                                                                                                                                               
/home/vagrant/katello/lib/katello/tasks/reset.rake:55:in `block (2 levels) in <top (required)>'                                                                                                                                               
/home/vagrant/.rvm/gems/ruby-2.4.1/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'                                                                                                                                                         
/home/vagrant/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `eval'                                                                                                                                                                     
/home/vagrant/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in `<main>'                                                                                                                                                                   
Tasks: TOP => katello:reset_default_smart_proxy

Related issues 1 (0 open1 closed)

Related to Katello - Bug #12735: katello:reset breaks capsule on dev environmentClosedJohn Mitsch12/07/2015Actions
Actions #1

Updated by Andrew Kofink about 6 years ago

  • Related to Bug #12735: katello:reset breaks capsule on dev environment added
Actions #2

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7293 added
Actions #3

Updated by Andrew Kofink about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Justin Sherrill about 6 years ago

  • translation missing: en.field_release set to 338
Actions

Also available in: Atom PDF