Update 3.3 -> 3.4 - unknown attribute 'description' for Setting::Puppetdb

Problem:
foreman-rake db:seed --trace
** Invoke db:seed (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
ActiveModel::UnknownAttributeError: unknown attribute ‘description’ for Setting::Puppetdb.
/usr/share/foreman/vendor/ruby/2.7.0/gems/activemodel-6.1.6.1/lib/active_model/attribute_assignment.rb:51:in _assign_attribute' /usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/attribute_assignment.rb:21:in block in _assign_attributes’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/attribute_assignment.rb:13:in each' /usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/attribute_assignment.rb:13:in _assign_attributes’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activemodel-6.1.6.1/lib/active_model/attribute_assignment.rb:34:in assign_attributes' /usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/core.rb:518:in initialize’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/inheritance.rb:72:in new' /usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/inheritance.rb:72:in new’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/persistence.rb:54:in create!' /usr/share/foreman/vendor/ruby/2.7.0/gems/puppetdb_foreman-5.0.0/app/models/setting/puppetdb.rb:40:in block (2 levels) in load_defaults’
/usr/share/foreman/vendor/ruby/2.7.0/gems/puppetdb_foreman-5.0.0/app/models/setting/puppetdb.rb:40:in each' /usr/share/foreman/vendor/ruby/2.7.0/gems/puppetdb_foreman-5.0.0/app/models/setting/puppetdb.rb:40:in block in load_defaults’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in block in transaction' /usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/connection_adapters/abstract/transaction.rb:319:in block in within_new_transaction’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in block (2 levels) in synchronize' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in handle_interrupt’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in block in synchronize' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in handle_interrupt’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in synchronize' /usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/connection_adapters/abstract/transaction.rb:317:in within_new_transaction’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/connection_adapters/abstract/database_statements.rb:320:in transaction' /usr/share/foreman/vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/active_record/transactions.rb:209:in transaction’
/usr/share/foreman/vendor/ruby/2.7.0/gems/puppetdb_foreman-5.0.0/app/models/setting/puppetdb.rb:39:in load_defaults' /usr/share/foreman/app/services/setting_registry.rb:114:in each’
/usr/share/foreman/app/services/setting_registry.rb:114:in load' /usr/share/foreman/config/initializers/foreman.rb:37:in block in <top (required)>’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:427:in instance_exec' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:427:in block in make_lambda’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:198:in block (2 levels) in halting' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:604:in block (2 levels) in default_terminator’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:603:in catch' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:603:in block in default_terminator’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:199:in block in halting' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:512:in block in invoke_before’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:512:in each' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:512:in invoke_before’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/callbacks.rb:105:in run_callbacks' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/reloader.rb:88:in prepare!’
/usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/application/finisher.rb:124:in block in <module:Finisher>' /usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:32:in instance_exec’
/usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:32:in run' /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in block in run’
/usr/share/foreman/config/initializers/0_print_time_spent.rb:17:in benchmark' /usr/share/foreman/config/initializers/0_print_time_spent.rb:45:in run’
/usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:61:in block in run_initializers' /usr/lib/ruby/2.7.0/tsort.rb:228:in block in tsort_each’
/usr/lib/ruby/2.7.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' /usr/lib/ruby/2.7.0/tsort.rb:431:in each_strongly_connected_component_from’
/usr/lib/ruby/2.7.0/tsort.rb:349:in block in each_strongly_connected_component' /usr/lib/ruby/2.7.0/tsort.rb:347:in each’
/usr/lib/ruby/2.7.0/tsort.rb:347:in call' /usr/lib/ruby/2.7.0/tsort.rb:347:in each_strongly_connected_component’
/usr/lib/ruby/2.7.0/tsort.rb:226:in tsort_each' /usr/lib/ruby/2.7.0/tsort.rb:205:in tsort_each’
/usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/initializable.rb:60:in run_initializers' /usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/application.rb:391:in initialize!’
/usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in public_send' /usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/railtie.rb:207:in method_missing’
/usr/share/foreman/config/environment.rb:5:in <top (required)>' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in block in require' /usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in load_dependency’
/usr/share/foreman/vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in require' /usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/application.rb:367:in require_environment!’
/usr/share/foreman/vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/application.rb:533:in block in run_tasks_blocks' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:281:in block in execute’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:281:in each' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:281:in execute’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:219:in block in invoke_with_call_chain' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in synchronize’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:243:in block in invoke_prerequisites’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:241:in each' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:241:in invoke_prerequisites’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:218:in block in invoke_with_call_chain' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in synchronize’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:243:in block in invoke_prerequisites’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:241:in each' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:241:in invoke_prerequisites’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:218:in block in invoke_with_call_chain' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in synchronize’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:199:in invoke_with_call_chain' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/task.rb:188:in invoke’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:160:in invoke_task' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in block (2 levels) in top_level’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in each' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:116:in block in top_level’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:125:in run_with_threads' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:110:in top_level’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:83:in block in run' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:186:in standard_exception_handling’
/usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:80:in run' /usr/share/foreman/vendor/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>’
/usr/bin/rake:23:in load' /usr/bin/rake:23:in
Tasks: TOP => db:seed => db:load_config => environment

Expected outcome:
Update 3.3 → 3.4 using foreman-rake db:seed

Foreman and Proxy versions:
3.3.0

Foreman and Proxy plugin versions:
Puppet CA, Puppet, and Logs 3.3.0

foreman_memcache Adds memcache support to foreman Ohad Levy 0.1.1
foreman_puppet Allow assigning Puppet environments and classes to the Foreman Hosts. Ondřej Ezr and Shira Maximov 4.0.1
puppetdb_foreman Disable hosts on PuppetDB after they are deleted or built in Foreman. Follow https://github.com/theforeman/puppetdb_foreman and raise an issue/submit a pull request if you need extra functionality. You can also find some help in #theforeman IRC channel on Freenode. Daniel Lobato Garcia 5.0.0

Distribution and version:
20.04.5 LTS (Focal Fossa)

Other relevant data:
after upgrade I need to restore VM from backup, because it was crashed in a loop

2022-09-12T11:39:34 [I|app|] Rails cache backend: File
2022-09-12T11:39:34 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:34 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:35 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:35 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2022-09-12T11:39:35 [I|app|] Rails cache backend: File
2022-09-12T11:39:35 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:36 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:36 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:36 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2022-09-12T11:39:37 [I|app|] Rails cache backend: File
2022-09-12T11:39:37 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:37 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:38 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:38 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2022-09-12T11:39:38 [I|app|] Rails cache backend: File
2022-09-12T11:39:38 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:38 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:39 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:39 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2022-09-12T11:39:41 [I|app|] Rails cache backend: File
2022-09-12T11:39:41 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:41 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:42 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:42 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2022-09-12T11:39:42 [I|app|] Rails cache backend: File
2022-09-12T11:39:42 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:43 [I|app|] Rails cache backend: File
2022-09-12T11:39:43 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:43 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:43 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:43 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:43 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2022-09-12T11:39:43 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:43 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2022-09-12T11:39:47 [I|app|] Rails cache backend: File
2022-09-12T11:39:47 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:47 [I|app|] Rails cache backend: File
2022-09-12T11:39:47 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:47 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:48 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:48 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2022-09-12T11:39:48 [I|app|] Rails cache backend: File
2022-09-12T11:39:48 [I|app|] memcached cache backend enabled: [:dalli_store, {:namespace=>“foreman”, :expires_in=>86400, :compress=>true}]
2022-09-12T11:39:48 [W|app|] You are trying to replace import_subnets from . Adding allowed actions from plugin permissions to the existing one.
2022-09-12T11:39:49 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2022-09-12T11:39:49 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.

Any ideas?

There is another Topic with (I think) the same issue: Foreman 3.4 stable - "unknown attribute 'description' for Setting::ForemanHostExtraValidator" - #5 by ekohl
Looks like the PuppetDB Plugin is not compatible with Foreman 3.4 yet

Ok. If its not compatible, its a show stopper for us to upgrade. Hope, they will fix it soon