[Satellite 6]How to export foreman tasks to a specific directory if foreman_tasks:export_tasks fails
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'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
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.6/lib/foreman_tasks/tasks/export_tasks.rake:242:in open'block (4 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
/opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:46:in each'each'
/opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/relation/delegation.rb:46:in
/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)>'block (2 levels) in
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.6/lib/foreman_tasks/tasks/export_tasks.rake:233: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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
