Error when running foreman-rake db:seed

We get the bellow error when we try to run db:seed. Anyone knows how to fix
it?

[root@puppet ~]# foreman-rake db:seed --trace
Performance on MRI may be improved with the concurrent-ruby-ext gem. Please
see http://concurrent-ruby.com
** Invoke db:seed (first_time)
** Execute db:seed
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:abort_if_pending_migrations
Seeding /usr/share/foreman/db/seeds.d/03-auth_sources.rb
Seeding /usr/share/foreman/db/seeds.d/03-permissions.rb
Seeding /usr/share/foreman/db/seeds.d/03-roles.rb
Seeding /usr/share/foreman/db/seeds.d/04-admin.rb
Seeding /usr/share/foreman/db/seeds.d/05-taxonomies.rb
Seeding /usr/share/foreman/db/seeds.d/06-architectures.rb
Seeding /usr/share/foreman/db/seeds.d/07-provisioning_templates.rb
Seeding /usr/share/foreman/db/seeds.d/08-partition_tables.rb
Seeding /usr/share/foreman/db/seeds.d/10-installation_media.rb
Seeding /usr/share/foreman/db/seeds.d/11-smart_proxy_features.rb
Seeding /usr/share/foreman/db/seeds.d/13-compute_profiles.rb
Seeding /usr/share/foreman/db/seeds.d/15-bookmarks.rb
Seeding /usr/share/foreman/db/seeds.d/16-mail_notifications.rb
Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.6/db/seeds.d/20-foreman_tasks_permissions.rb
Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_bootdisk-6.0.0/db/seeds.d/50-bootdisk_templates.rb
Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.6/db/seeds.d/60-dynflow_proxy_feature.rb
Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.6/db/seeds.d/61-foreman_tasks_bookmarks.rb
Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_abrt-0.0.6/db/seeds.d/75-abrt-seeds.rb
Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.4.3/db/seeds.d/openscap_feature.rb
Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.4.3/db/seeds.d/openscap_scap_default.rb
All seed files executed
rake aborted!
404 Resource Not Found
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in
return!' /opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.3.5/lib/runcible/base.rb:92:inblock in get_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:228:in
call' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:228:inprocess_result'
/opt/theforeman/tfm/root/usr/share/gems/gems/rbovirt-0.0.35/lib/restclient_ext/request.rb:50:in
block in transmit' /opt/rh/ruby193/root/usr/share/ruby/net/http.rb:746:instart'
/opt/theforeman/tfm/root/usr/share/gems/gems/rbovirt-0.0.35/lib/restclient_ext/request.rb:44:in
transmit' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:inexecute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in
execute' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/resource.rb:51:inget'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.3.5/lib/runcible/base.rb:91:in
get_response' /opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.3.5/lib/runcible/base.rb:79:incall'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.3.5/lib/runcible/resources/event_notifier.rb:71:in
list' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/models/katello/glue/pulp/repo.rb:33:inensure_sync_notification'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/db/seeds.rb:31:in
<top (required)>' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:inload'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in
block in load' /opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:inload_dependency'
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:245:in
load' /opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/engine.rb:520:inload_seed'
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in
method_missing&#39; /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/lib/katello/engine.rb:192:inblock (2 levels) in <class:Engine>'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:in call&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:205:inblock in execute'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:in each&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:200:inexecute'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:158:in block in invoke_with_call_chain&#39; /opt/rh/ruby193/root/usr/share/ruby/monitor.rb:211:inmon_synchronize'
/opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:151:in
invoke_with_call_chain&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/task.rb:144:ininvoke'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:116:in invoke_task&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:inblock (2
levels) in top_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:in each&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:94:inblock in
top_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:in
standard_exception_handling&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:88:intop_level'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:66:in block in run&#39; /opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:133:instandard_exception_handling'
/opt/rh/ruby193/root/usr/share/ruby/rake/application.rb:63:in run&#39; /opt/rh/ruby193/root/usr/bin/rake:32:in<main>'
Tasks: TOP => db:seed
#<SystemExit: exit>

this looks like an error in scap, Shlomi / Ondrej any idea?

Ohad

··· On Wed, Jan 6, 2016 at 12:09 PM, Cristian Falcas wrote:

Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.4.3/db/seeds.d/openscap_scap_default.rb

Not sure it's openscap error. It just seems it's the last one to run.
Trace leads to runcible / Katello paths

Error rose at /opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/db/seeds.rb:31:in
`<top (required)>

··· 2016-01-06 13:03 GMT+02:00 Ohad Levy :

On Wed, Jan 6, 2016 at 12:09 PM, Cristian Falcas cristi.falcas@gmail.com > wrote:

Seeding
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.4.3/db/seeds.d/openscap_scap_default.rb

this looks like an error in scap, Shlomi / Ondrej any idea?

Ohad


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.