Project

General

Profile

Actions

Bug #9771

closed

undefined method `encryptable_fields' during db migrate

Added by Ohad Levy about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

> /var/log/foreman/db_migrate.log <
rake aborted!
undefined method `encryptable_fields' for #<Foreman::Model::Vmware:0x00000006bfbf20>
opt/rh/ruby193/root/usr/share/gems/gems/activemodel-3.2.8/lib/active_model/attribute_methods.rb:407:in `method_missing'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_methods.rb:149:in `method_missing'
/usr/share/foreman/lib/tasks/encrypt.rake:32:in `block (4 levels) in <top (required)>'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in `each'
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/relation/delegation.rb:6:in `each'
/usr/share/foreman/lib/tasks/encrypt.rake:31:in `block (3 levels) in <top (required)>'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `call'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in `block in execute'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `each'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in `execute'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:158:in `block in invoke_with_call_chain'
/opt/rh/ruby193/root/usr/share/ruby/monitor.rb:211:in `mon_synchronize'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:151:in `invoke_with_call_chain'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:144:in `invoke'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:116:in `invoke_task'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `block (2 levels) in top_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `each'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in `block in top_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:88:in `top_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:66:in `block in run'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in `standard_exception_handling'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in `run'
/opt/rh/ruby193/root/usr/bin/rake:32:in `<main>'
Tasks: TOP => db:compute_resources:encrypt

found in 1.7.3 upgrade to 1.8.0RC1


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #9775: CR encryption key not loaded before it's checked, encryption is disabledClosedDominic Cleal03/16/2015Actions
Actions #1

Updated by Dominic Cleal about 9 years ago

  • Category set to Compute resources
  • translation missing: en.field_release set to 28
Actions #2

Updated by Dominic Cleal about 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Dominic Cleal
Actions #3

Updated by Dominic Cleal about 9 years ago

  • Is duplicate of Bug #9775: CR encryption key not loaded before it's checked, encryption is disabled added
Actions #4

Updated by Dominic Cleal about 9 years ago

  • Status changed from Assigned to Pending

As mentioned in the linked ticket, I'm pretty sure that's the cause, so will reconfirm once that's fixed.

Actions #5

Updated by Dominic Cleal about 9 years ago

  • Status changed from Pending to Closed
Actions

Also available in: Atom PDF