[Satellite 6]How to export foreman tasks to a specific directory if foreman_tasks:export_tasks fails

Solution Verified - Updated -

Issue

foreman-rake foreman_tasks:export_tasks
Gathering last 60 days of tasks.
....
323/863
rake aborted!
Errno::ENOSPC: No space left on device @ io_write - /tmp/task-export20160914-18368-11fpyjm/81cba081-91e2-4886-a6f6-c6e940894c73.html
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.6/lib/foreman_tasks/tasks/export_tasks.rake:242:in write'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.6/lib/foreman_tasks/tasks/export_tasks.rake:242:in
block (5 levels) in '
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.6/lib/foreman_tasks/tasks/export_tasks.rake:242:in open'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.6/lib/foreman_tasks/tasks/export_tasks.rake:242:in
block (4 levels) in '
/opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:46:in each'
/opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:46:in
each'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.6/lib/foreman_tasks/tasks/export_tasks.rake:241:in block (3 levels) in <top (required)>'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.6/lib/foreman_tasks/tasks/export_tasks.rake:233:in
block (2 levels) in '
Tasks: TOP => foreman_tasks:export_tasks
(See full trace by running task with --trace)

Environment

[Satellite 6.2]

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.