foreman-tasks 0.15.6 → 0.15.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -0
- data/.tx/config +1 -1
- data/app/controllers/foreman_tasks/api/tasks_controller.rb +3 -3
- data/app/controllers/foreman_tasks/tasks_controller.rb +5 -5
- data/app/lib/actions/recurring_action.rb +2 -1
- data/app/models/foreman_tasks/task/summarizer.rb +5 -4
- data/app/services/foreman_tasks/dashboard_table_filter.rb +7 -2
- data/app/views/foreman_tasks/tasks/_details.html.erb +4 -4
- data/app/views/foreman_tasks/tasks/index.html.erb +26 -24
- data/lib/foreman_tasks/engine.rb +1 -1
- data/lib/foreman_tasks/version.rb +1 -1
- data/locale/en/foreman_tasks.po +41 -0
- data/locale/foreman_tasks.pot +167 -102
- data/test/controllers/api/tasks_controller_test.rb +37 -13
- data/test/controllers/tasks_controller_test.rb +27 -0
- data/test/unit/actions/recurring_action_test.rb +21 -0
- data/test/unit/dashboard_table_filter_test.rb +12 -0
- data/test/unit/summarizer_test.rb +1 -1
- data/webpack/ForemanTasks/Components/Chart/Chart.js +8 -1
- data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/StoppedTasksCard/StoppedTasksCard.stories.js +0 -5
- data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/TasksCardsGrid.js +1 -1
- data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/TasksCardsGrid.stories.js +13 -11
- data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/__snapshots__/TasksCardsGrid.test.js.snap +0 -16
- data/webpack/ForemanTasks/Components/TasksDashboard/TasksDashboard.scss +21 -1
- data/webpack/ForemanTasks/Components/TasksDashboard/TasksDashboardHelper.js +18 -1
- data/webpack/stories/index.scss +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e04f597cdb4a8e79251fa3ccb6a9d975f1b2c180406dbaf269430a9f21e5c62
|
4
|
+
data.tar.gz: 639f76c6744729b1b8622534a255d6ffc38404cdac75b02b73667076574eb998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c45cb1e7ba0ab92d308bbc4fb7e5bc32063ab78c66dc7f6c4e136d6dc5aecbbc83c095e43280796afff44f407f1abbe8ac9ab2e73087aa2df0a1f09e63a44bc
|
7
|
+
data.tar.gz: 85327d35ba3de74c3ce82b86907530e330d22d9db343005114b0d4c646f598c3913cc9bdfae9d3092a023366c302e2225f53e7ff2a1f537433902c0fc10d317e
|
data/.rubocop.yml
CHANGED
data/.tx/config
CHANGED
@@ -20,7 +20,7 @@ module ForemanTasks
|
|
20
20
|
|
21
21
|
api :GET, '/tasks/summary', 'Show task summary'
|
22
22
|
def summary
|
23
|
-
render :json => ForemanTasks::Task::Summarizer.new.summarize_by_status
|
23
|
+
render :json => ForemanTasks::Task::Summarizer.new(resource_scope).summarize_by_status
|
24
24
|
end
|
25
25
|
|
26
26
|
api :GET, '/tasks/:id', 'Show task details'
|
@@ -267,7 +267,7 @@ module ForemanTasks
|
|
267
267
|
end
|
268
268
|
|
269
269
|
def find_task
|
270
|
-
@task =
|
270
|
+
@task = resource_scope.find(params[:id])
|
271
271
|
end
|
272
272
|
|
273
273
|
def resource_scope(_options = {})
|
@@ -276,7 +276,7 @@ module ForemanTasks
|
|
276
276
|
|
277
277
|
def action_permission
|
278
278
|
case params[:action]
|
279
|
-
when 'bulk_search'
|
279
|
+
when 'bulk_search', 'summary'
|
280
280
|
:view
|
281
281
|
when 'bulk_resume'
|
282
282
|
:edit
|
@@ -6,7 +6,7 @@ module ForemanTasks
|
|
6
6
|
before_action :restrict_dangerous_actions, :only => [:unlock, :force_unlock]
|
7
7
|
|
8
8
|
def show
|
9
|
-
@task =
|
9
|
+
@task = resource_base.find(params[:id])
|
10
10
|
render :layout => !request.xhr?
|
11
11
|
end
|
12
12
|
|
@@ -15,21 +15,21 @@ module ForemanTasks
|
|
15
15
|
respond_to do |format|
|
16
16
|
format.html do
|
17
17
|
@tasks = filter(resource_base)
|
18
|
-
render :index
|
18
|
+
render :index, layout: !request.xhr?
|
19
19
|
end
|
20
20
|
format.csv do
|
21
21
|
@tasks = filter(resource_base, paginate: false)
|
22
|
-
csv_response(@tasks, [:action, :state, :result, 'started_at.in_time_zone', 'ended_at.in_time_zone', :username], ['Action', 'State', 'Result', 'Started At', 'Ended At', 'User'])
|
22
|
+
csv_response(@tasks, [:id, :action, :state, :result, 'started_at.in_time_zone', 'ended_at.in_time_zone', :username], ['Id', 'Action', 'State', 'Result', 'Started At', 'Ended At', 'User'])
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
27
|
def summary
|
28
|
-
render json: Task::Summarizer.new(params[:recent_timeframe].to_i).summary
|
28
|
+
render json: Task::Summarizer.new(resource_base, params[:recent_timeframe].to_i).summary
|
29
29
|
end
|
30
30
|
|
31
31
|
def sub_tasks
|
32
|
-
task =
|
32
|
+
task = resource_base.find(params[:id])
|
33
33
|
@tasks = filter(task.sub_tasks)
|
34
34
|
render :index
|
35
35
|
end
|
@@ -17,7 +17,8 @@ module Actions
|
|
17
17
|
if execution_plan.delay_record && recurring_logic_task_group
|
18
18
|
args = execution_plan.delay_record.args
|
19
19
|
logic = recurring_logic_task_group.recurring_logic
|
20
|
-
|
20
|
+
task_start_at = [task.start_at, Time.zone.now].max
|
21
|
+
logic.trigger_repeat_after(task_start_at, self.class, *args)
|
21
22
|
end
|
22
23
|
ensure
|
23
24
|
::Logging.mdc['request'] = request_id
|
@@ -47,8 +47,9 @@ module ForemanTasks
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
def initialize(recent_timeframe = 24)
|
50
|
+
def initialize(scope = Task.authorized, recent_timeframe = 24)
|
51
51
|
@recent_timeframe = recent_timeframe.hours
|
52
|
+
@scope = scope
|
52
53
|
end
|
53
54
|
|
54
55
|
def summarize_by_status
|
@@ -56,7 +57,7 @@ module ForemanTasks
|
|
56
57
|
end
|
57
58
|
|
58
59
|
def latest_tasks_in_errors_warning(limit = 5)
|
59
|
-
|
60
|
+
@scope.where('result in (?)', %w[error warning]).order('started_at DESC').limit(limit)
|
60
61
|
end
|
61
62
|
|
62
63
|
# Returns summary of tasks count, grouped by `state` and `result`, if form of:
|
@@ -94,8 +95,8 @@ module ForemanTasks
|
|
94
95
|
end
|
95
96
|
|
96
97
|
def aggregated_scope
|
97
|
-
|
98
|
-
|
98
|
+
@scope.select('count(state) AS count, state, result, max(started_at) AS started_at')
|
99
|
+
.group(:state, :result).order(:state)
|
99
100
|
end
|
100
101
|
|
101
102
|
def aggregated_recent_scope
|
@@ -29,9 +29,14 @@ module ForemanTasks
|
|
29
29
|
|
30
30
|
def scope_by_time
|
31
31
|
return if @params[:time_horizon].blank?
|
32
|
-
hours = @params[:time_horizon]
|
32
|
+
hours = if @params[:time_horizon].casecmp('week') == 0
|
33
|
+
24 * 7
|
34
|
+
else
|
35
|
+
@params[:time_horizon][/\AH(\d{1,2})$/i, 1]
|
36
|
+
end
|
37
|
+
|
33
38
|
unless hours
|
34
|
-
raise Foreman::Exception, 'Unexpected format of time: should be in form of "H24"'
|
39
|
+
raise Foreman::Exception, 'Unexpected format of time: should be in form of "H24" or equal to "week"'
|
35
40
|
end
|
36
41
|
timestamp = Time.now.utc - hours.to_i.hours
|
37
42
|
case @params[:time_mode]
|
@@ -96,9 +96,9 @@
|
|
96
96
|
<span class="param-name list-group-item-heading"><%= _("Result") %>:</span>
|
97
97
|
<span class="param-value">
|
98
98
|
<% if @task.state != 'stopped' %>
|
99
|
-
<%= content_tag(:i, ' '.html_safe, :class => 'task-status pficon-help') %>
|
99
|
+
<%= content_tag(:i, ' '.html_safe, :class => 'task-status pficon-help') %>
|
100
100
|
<% else %>
|
101
|
-
<%= content_tag(:i, ' '.html_safe, :class => task_result_icon_class(@task)) + content_tag(:span, @task.result) %>
|
101
|
+
<%= content_tag(:i, ' '.html_safe, :class => task_result_icon_class(@task)) + content_tag(:span, @task.result) %>
|
102
102
|
<% end %>
|
103
103
|
</span>
|
104
104
|
</div>
|
@@ -186,10 +186,10 @@
|
|
186
186
|
<% end %>
|
187
187
|
|
188
188
|
<% unless @task.humanized[:errors].blank? %>
|
189
|
-
<
|
189
|
+
<div>
|
190
190
|
<span class="param-name"><b><%= _("Errors") %>:</b></span>
|
191
191
|
<span class="param-value">
|
192
192
|
<pre><%=Array(@task.humanized[:errors]).join("\n") %></pre>
|
193
193
|
</span>
|
194
|
-
</
|
194
|
+
</div>
|
195
195
|
<% end %>
|
@@ -15,27 +15,29 @@
|
|
15
15
|
<% title_actions csv_link, help_button %>
|
16
16
|
<% stylesheet 'foreman_tasks/tasks' %>
|
17
17
|
|
18
|
-
<
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
18
|
+
<div id="tasks-table">
|
19
|
+
<table class="<%= table_css_classes('table-fixed') %>">
|
20
|
+
<tr>
|
21
|
+
<th class="col-md-4"><%= _("Action") %></th>
|
22
|
+
<th class="col-md-1"><%= _("State") %></th>
|
23
|
+
<th class="col-md-1"><%= _("Result") %></th>
|
24
|
+
<th class="col-md-2"><%= sort :started_at, :as => _("Started at") %></th>
|
25
|
+
<th class="col-md-2"><%= sort :ended_at, :as => _("Ended at") %></th>
|
26
|
+
<th class="col-md-2"><%= _("User") %></th>
|
27
|
+
</tr>
|
28
|
+
<% @tasks.each do |task| %>
|
29
|
+
<tr>
|
30
|
+
<td class="task-id ellipsis">
|
31
|
+
<%= link_to_if_authorized(format_task_input(task),
|
32
|
+
hash_for_foreman_tasks_task_path(:id => task)) %>
|
33
|
+
</td>
|
34
|
+
<td class="ellipsis"><%= task.state %> <%= _("(Disabled)") if task.frozen %></td>
|
35
|
+
<td class="ellipsis"><%= task.result %></td>
|
36
|
+
<td class="ellipsis"><%= task.started_at.try(:in_time_zone) %></td>
|
37
|
+
<td class="ellipsis"><%= task.ended_at.try(:in_time_zone) %></td>
|
38
|
+
<td class="ellipsis"><%= task.username %></td>
|
39
|
+
</tr>
|
40
|
+
<% end %>
|
41
|
+
</table>
|
42
|
+
<%= will_paginate_with_info @tasks %>
|
43
|
+
</div>
|
data/lib/foreman_tasks/engine.rb
CHANGED
@@ -42,7 +42,7 @@ module ForemanTasks
|
|
42
42
|
initializer 'foreman_tasks.register_plugin', :before => :finisher_hook do |_app|
|
43
43
|
Foreman::Plugin.register :"foreman-tasks" do
|
44
44
|
requires_foreman '>= 1.16.0'
|
45
|
-
divider :top_menu, :parent => :monitor_menu, :last => true
|
45
|
+
divider :top_menu, :parent => :monitor_menu, :last => true, :caption => N_('Foreman Tasks')
|
46
46
|
menu :top_menu, :tasks,
|
47
47
|
:url_hash => { :controller => 'foreman_tasks/tasks', :action => :index },
|
48
48
|
:caption => N_('Tasks'),
|
data/locale/en/foreman_tasks.po
CHANGED
@@ -44,6 +44,9 @@ msgstr ""
|
|
44
44
|
msgid ":after setting in tasks cleanup section is deprecated, use :after in :rules section to set the value. to cleanup rules"
|
45
45
|
msgstr ""
|
46
46
|
|
47
|
+
msgid "A paused task represents a process that has not finished properly. Any task in paused state can lead to potential inconsistency and needs to be resolved."
|
48
|
+
msgstr ""
|
49
|
+
|
47
50
|
msgid "Action"
|
48
51
|
msgstr ""
|
49
52
|
|
@@ -56,6 +59,9 @@ msgstr ""
|
|
56
59
|
msgid "All proxies with the required feature are unavailable at the moment"
|
57
60
|
msgstr ""
|
58
61
|
|
62
|
+
msgid "Allow triggering tasks on the smart proxy in batches"
|
63
|
+
msgstr ""
|
64
|
+
|
59
65
|
msgid "Allow unlocking actions which can have dangerous consequences."
|
60
66
|
msgstr ""
|
61
67
|
|
@@ -93,6 +99,9 @@ msgstr ""
|
|
93
99
|
msgid "Cannot update a cancelled Recurring Logic."
|
94
100
|
msgstr ""
|
95
101
|
|
102
|
+
msgid "Changing request id %{request_id} to saved id %{saved_id}"
|
103
|
+
msgstr ""
|
104
|
+
|
96
105
|
msgid "Cron line"
|
97
106
|
msgstr ""
|
98
107
|
|
@@ -150,6 +159,9 @@ msgstr ""
|
|
150
159
|
msgid "Errors"
|
151
160
|
msgstr ""
|
152
161
|
|
162
|
+
msgid "Event delivered by request %{request_id}"
|
163
|
+
msgstr ""
|
164
|
+
|
153
165
|
msgid "Exception"
|
154
166
|
msgstr ""
|
155
167
|
|
@@ -180,6 +192,9 @@ msgstr ""
|
|
180
192
|
msgid "Force Unlock"
|
181
193
|
msgstr ""
|
182
194
|
|
195
|
+
msgid "Foreman Tasks"
|
196
|
+
msgstr ""
|
197
|
+
|
183
198
|
msgid "Fri"
|
184
199
|
msgstr ""
|
185
200
|
|
@@ -231,6 +246,9 @@ msgstr ""
|
|
231
246
|
msgid "Latest Warning/Error Tasks"
|
232
247
|
msgstr ""
|
233
248
|
|
249
|
+
msgid "List of tasks"
|
250
|
+
msgstr ""
|
251
|
+
|
234
252
|
msgid "List recurring logics"
|
235
253
|
msgstr ""
|
236
254
|
|
@@ -279,6 +297,9 @@ msgstr ""
|
|
279
297
|
msgid "Number of seconds to wait for synchronous task to finish."
|
280
298
|
msgstr ""
|
281
299
|
|
300
|
+
msgid "Number of tasks which should be sent to the smart proxy in one request, if foreman_tasks_proxy_batch_trigger is enabled"
|
301
|
+
msgstr ""
|
302
|
+
|
282
303
|
#. TRANSLATORS: Button text for saying when a task should end
|
283
304
|
msgid "On"
|
284
305
|
msgstr ""
|
@@ -364,6 +385,9 @@ msgstr ""
|
|
364
385
|
msgid "Search string"
|
365
386
|
msgstr ""
|
366
387
|
|
388
|
+
msgid "See %{link} for more details on how to resolve the issue"
|
389
|
+
msgstr ""
|
390
|
+
|
367
391
|
msgid "Send data to the task from external executor (such as smart_proxy_dynflow)"
|
368
392
|
msgstr ""
|
369
393
|
|
@@ -406,6 +430,9 @@ msgstr ""
|
|
406
430
|
msgid "Task"
|
407
431
|
msgstr ""
|
408
432
|
|
433
|
+
msgid "Task Details"
|
434
|
+
msgstr ""
|
435
|
+
|
409
436
|
msgid "Task Status"
|
410
437
|
msgstr ""
|
411
438
|
|
@@ -436,6 +463,9 @@ msgstr ""
|
|
436
463
|
msgid "The execution was resumed."
|
437
464
|
msgstr ""
|
438
465
|
|
466
|
+
msgid "The recommended approach is to investigate the error messages below and in 'errors' tab, address the primary cause of the issue and resume the task."
|
467
|
+
msgstr ""
|
468
|
+
|
439
469
|
msgid "The smart proxy task %s failed."
|
440
470
|
msgstr ""
|
441
471
|
|
@@ -457,6 +487,11 @@ msgstr ""
|
|
457
487
|
msgid "The task resources were unlocked."
|
458
488
|
msgstr ""
|
459
489
|
|
490
|
+
msgid "There is %{count} paused task in the system that need attention"
|
491
|
+
msgid_plural "There are %{count} paused tasks in the system that need attention"
|
492
|
+
msgstr[0] ""
|
493
|
+
msgstr[1] ""
|
494
|
+
|
460
495
|
msgid "This will unlock the resources that the task is running against. Please note that this might lead to inconsistent state and should be used with caution, after making sure that the task can't be resumed."
|
461
496
|
msgstr ""
|
462
497
|
|
@@ -496,6 +531,9 @@ msgstr ""
|
|
496
531
|
msgid "Update recurring logic"
|
497
532
|
msgstr ""
|
498
533
|
|
534
|
+
msgid "Url pointing to the task troubleshooting documentation. It should contain %{label} placeholder, that will be replaced with normalized task label (restricted to only alphanumeric characters)). %{version} placeholder is also available."
|
535
|
+
msgstr ""
|
536
|
+
|
499
537
|
msgid "User"
|
500
538
|
msgstr ""
|
501
539
|
|
@@ -555,5 +593,8 @@ msgstr ""
|
|
555
593
|
msgid "system"
|
556
594
|
msgstr ""
|
557
595
|
|
596
|
+
msgid "troubleshooting documentation"
|
597
|
+
msgstr ""
|
598
|
+
|
558
599
|
msgid "user"
|
559
600
|
msgstr ""
|
data/locale/foreman_tasks.pot
CHANGED
@@ -8,8 +8,8 @@ msgid ""
|
|
8
8
|
msgstr ""
|
9
9
|
"Project-Id-Version: foreman_tasks 1.0.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"POT-Creation-Date:
|
12
|
-
"PO-Revision-Date:
|
11
|
+
"POT-Creation-Date: 2019-07-04 10:08+0200\n"
|
12
|
+
"PO-Revision-Date: 2019-07-04 10:08+0200\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -34,152 +34,152 @@ msgstr ""
|
|
34
34
|
msgid "Cancel recurring logic"
|
35
35
|
msgstr ""
|
36
36
|
|
37
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
37
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:73
|
38
38
|
msgid "Resume all paused error tasks"
|
39
39
|
msgstr ""
|
40
40
|
|
41
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
41
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:74
|
42
42
|
msgid "Resume tasks matching search string"
|
43
43
|
msgstr ""
|
44
44
|
|
45
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
45
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:75
|
46
46
|
msgid "Resume specific tasks by ID"
|
47
47
|
msgstr ""
|
48
48
|
|
49
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
49
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:110
|
50
50
|
msgid "List tasks"
|
51
51
|
msgstr ""
|
52
52
|
|
53
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
53
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:111
|
54
54
|
msgid "Search string"
|
55
55
|
msgstr ""
|
56
56
|
|
57
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
57
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:112
|
58
58
|
msgid "Page number, starting at 1"
|
59
59
|
msgstr ""
|
60
60
|
|
61
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
61
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:113
|
62
62
|
msgid "Number of results per page to return"
|
63
63
|
msgstr ""
|
64
64
|
|
65
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
65
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:114
|
66
66
|
msgid "Sort field and order, e.g. 'name DESC'"
|
67
67
|
msgstr ""
|
68
68
|
|
69
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
69
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:115
|
70
70
|
msgid "Hash version of 'order' param"
|
71
71
|
msgstr ""
|
72
72
|
|
73
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
73
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:116
|
74
74
|
msgid "Field to sort the results on"
|
75
75
|
msgstr ""
|
76
76
|
|
77
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
77
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:117
|
78
78
|
msgid "How to order the sorted results (e.g. ASC for ascending)"
|
79
79
|
msgstr ""
|
80
80
|
|
81
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
82
|
-
msgid "Send data to the task from external executor (such as smart_proxy_dynflow)"
|
83
|
-
msgstr ""
|
84
|
-
|
85
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:154
|
81
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:153
|
86
82
|
msgid "UUID of the task"
|
87
83
|
msgstr ""
|
88
84
|
|
89
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
85
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:154
|
90
86
|
msgid "The ID of the step inside the execution plan to send the event to"
|
91
87
|
msgstr ""
|
92
88
|
|
93
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
89
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:160
|
94
90
|
msgid "Data to be sent to the action"
|
95
91
|
msgstr ""
|
96
92
|
|
97
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
93
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:163
|
94
|
+
msgid "Send data to the task from external executor (such as smart_proxy_dynflow)"
|
95
|
+
msgstr ""
|
96
|
+
|
97
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:204
|
98
98
|
msgid "User search_params requires user_id to be specified"
|
99
99
|
msgstr ""
|
100
100
|
|
101
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
101
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:213
|
102
102
|
msgid "Resource search_params requires resource_type and resource_id to be specified"
|
103
103
|
msgstr ""
|
104
104
|
|
105
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
105
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:220
|
106
106
|
msgid "Task search_params requires task_id to be specified"
|
107
107
|
msgstr ""
|
108
108
|
|
109
|
-
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:
|
109
|
+
#: ../app/controllers/foreman_tasks/api/tasks_controller.rb:224
|
110
110
|
msgid "Type %s for search_params is not supported"
|
111
111
|
msgstr ""
|
112
112
|
|
113
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
113
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:39
|
114
114
|
msgid "Trying to cancel step %s"
|
115
115
|
msgstr ""
|
116
116
|
|
117
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
117
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:47
|
118
118
|
msgid "Trying to cancel the task"
|
119
119
|
msgstr ""
|
120
120
|
|
121
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
121
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:49
|
122
122
|
msgid "The task cannot be cancelled at the moment."
|
123
123
|
msgstr ""
|
124
124
|
|
125
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
125
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:57
|
126
126
|
msgid "Trying to abort the task"
|
127
127
|
msgstr ""
|
128
128
|
|
129
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
129
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:59
|
130
130
|
msgid "The task cannot be aborted at the moment."
|
131
131
|
msgstr ""
|
132
132
|
|
133
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
133
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:68
|
134
134
|
msgid "The execution was resumed."
|
135
135
|
msgstr ""
|
136
136
|
|
137
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
137
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:70
|
138
138
|
msgid "The execution has to be resumable."
|
139
139
|
msgstr ""
|
140
140
|
|
141
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
141
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:80
|
142
142
|
msgid "The task resources were unlocked."
|
143
143
|
msgstr ""
|
144
144
|
|
145
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
145
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:82
|
146
146
|
msgid "The execution has to be paused."
|
147
147
|
msgstr ""
|
148
148
|
|
149
|
-
#: ../app/controllers/foreman_tasks/tasks_controller.rb:
|
149
|
+
#: ../app/controllers/foreman_tasks/tasks_controller.rb:91
|
150
150
|
msgid "The task resources were unlocked with force."
|
151
151
|
msgstr ""
|
152
152
|
|
153
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
154
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
155
|
-
#: ../app/models/foreman_tasks/recurring_logic.rb:
|
156
|
-
#: ../app/models/foreman_tasks/task.rb:
|
153
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:47
|
154
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:56
|
155
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:143
|
156
|
+
#: ../app/models/foreman_tasks/task.rb:103
|
157
157
|
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:14
|
158
158
|
#: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:14
|
159
159
|
msgid "N/A"
|
160
160
|
msgstr ""
|
161
161
|
|
162
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
162
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:49
|
163
163
|
msgid "in %s"
|
164
164
|
msgstr ""
|
165
165
|
|
166
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
166
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:49
|
167
167
|
msgid "%s ago"
|
168
168
|
msgstr ""
|
169
169
|
|
170
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
170
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:59
|
171
171
|
msgid " seconds"
|
172
172
|
msgstr ""
|
173
173
|
|
174
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
174
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:66
|
175
175
|
msgid "Enable"
|
176
176
|
msgstr ""
|
177
177
|
|
178
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
178
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:67
|
179
179
|
msgid "Disable"
|
180
180
|
msgstr ""
|
181
181
|
|
182
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
182
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:68
|
183
183
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:12
|
184
184
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:56
|
185
185
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:81
|
@@ -187,120 +187,120 @@ msgstr ""
|
|
187
187
|
msgid "Cancel"
|
188
188
|
msgstr ""
|
189
189
|
|
190
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
190
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:129
|
191
191
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:123
|
192
192
|
msgid "Start at"
|
193
193
|
msgstr ""
|
194
194
|
|
195
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
195
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:130
|
196
196
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:135
|
197
197
|
msgid "Start before"
|
198
198
|
msgstr ""
|
199
199
|
|
200
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
200
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:131
|
201
201
|
msgid ""
|
202
202
|
"Indicates that the action should be cancelled if it cannot be started before t"
|
203
203
|
"his time."
|
204
204
|
msgstr ""
|
205
205
|
|
206
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
206
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:139
|
207
207
|
msgid "Repeats"
|
208
208
|
msgstr ""
|
209
209
|
|
210
210
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
211
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
211
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:155
|
212
212
|
msgid "is minute (range: 0-59)"
|
213
213
|
msgstr ""
|
214
214
|
|
215
215
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
216
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
216
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:157
|
217
217
|
msgid "is hour (range: 0-23)"
|
218
218
|
msgstr ""
|
219
219
|
|
220
220
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
221
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
221
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:159
|
222
222
|
msgid "is day of month (range: 1-31)"
|
223
223
|
msgstr ""
|
224
224
|
|
225
225
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
226
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
226
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:161
|
227
227
|
msgid "is month (range: 1-12)"
|
228
228
|
msgstr ""
|
229
229
|
|
230
230
|
#. TRANSLATORS: this translation is referring to an option which is a time interval
|
231
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
231
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:163
|
232
232
|
msgid "is day of week (range: 0-6)"
|
233
233
|
msgstr ""
|
234
234
|
|
235
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
235
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:166
|
236
236
|
msgid "Cron line format 'a b c d e', where: %s"
|
237
237
|
msgstr ""
|
238
238
|
|
239
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
239
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:168
|
240
240
|
#: ../app/views/foreman_tasks/recurring_logics/index.html.erb:10
|
241
241
|
#: ../app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb:8
|
242
242
|
msgid "Cron line"
|
243
243
|
msgstr ""
|
244
244
|
|
245
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
245
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:174
|
246
246
|
msgid "Days"
|
247
247
|
msgstr ""
|
248
248
|
|
249
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
249
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:183
|
250
250
|
msgid "Days of week"
|
251
251
|
msgstr ""
|
252
252
|
|
253
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
253
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:184
|
254
254
|
msgid "Mon"
|
255
255
|
msgstr ""
|
256
256
|
|
257
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
257
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:185
|
258
258
|
msgid "Tue"
|
259
259
|
msgstr ""
|
260
260
|
|
261
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
261
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:186
|
262
262
|
msgid "Wed"
|
263
263
|
msgstr ""
|
264
264
|
|
265
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
265
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:187
|
266
266
|
msgid "Thu"
|
267
267
|
msgstr ""
|
268
268
|
|
269
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
269
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:188
|
270
270
|
msgid "Fri"
|
271
271
|
msgstr ""
|
272
272
|
|
273
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
273
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:189
|
274
274
|
msgid "Sat"
|
275
275
|
msgstr ""
|
276
276
|
|
277
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
277
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:190
|
278
278
|
msgid "Sun"
|
279
279
|
msgstr ""
|
280
280
|
|
281
281
|
#. TRANSLATORS: Time widget for when a task should start
|
282
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
282
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:199
|
283
283
|
msgid "At"
|
284
284
|
msgstr ""
|
285
285
|
|
286
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
286
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:201
|
287
287
|
msgid "Repeat N times"
|
288
288
|
msgstr ""
|
289
289
|
|
290
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
290
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:202
|
291
291
|
msgid "Ends"
|
292
292
|
msgstr ""
|
293
293
|
|
294
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
294
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:203
|
295
295
|
msgid "Never"
|
296
296
|
msgstr ""
|
297
297
|
|
298
298
|
#. TRANSLATORS: Button text for saying when a task should end
|
299
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
299
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:205
|
300
300
|
msgid "On"
|
301
301
|
msgstr ""
|
302
302
|
|
303
|
-
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:
|
303
|
+
#: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:208
|
304
304
|
msgid "Ends at"
|
305
305
|
msgstr ""
|
306
306
|
|
@@ -316,11 +316,11 @@ msgstr ""
|
|
316
316
|
msgid "Bulk action"
|
317
317
|
msgstr ""
|
318
318
|
|
319
|
-
#: ../app/lib/actions/bulk_action.rb:
|
319
|
+
#: ../app/lib/actions/bulk_action.rb:59
|
320
320
|
msgid "Empty bulk action"
|
321
321
|
msgstr ""
|
322
322
|
|
323
|
-
#: ../app/lib/actions/bulk_action.rb:
|
323
|
+
#: ../app/lib/actions/bulk_action.rb:61
|
324
324
|
msgid "The targets are of different types"
|
325
325
|
msgstr ""
|
326
326
|
|
@@ -376,43 +376,51 @@ msgstr ""
|
|
376
376
|
msgid "All proxies with the required feature are unavailable at the moment"
|
377
377
|
msgstr ""
|
378
378
|
|
379
|
-
#: ../app/lib/actions/middleware/
|
379
|
+
#: ../app/lib/actions/middleware/keep_current_request_id.rb:45
|
380
|
+
msgid "Changing request id %{request_id} to saved id %{saved_id}"
|
381
|
+
msgstr ""
|
382
|
+
|
383
|
+
#: ../app/lib/actions/middleware/watch_delegated_proxy_sub_tasks.rb:66
|
380
384
|
msgid "Failed to check on tasks on proxy at %{url}: %{exception}"
|
381
385
|
msgstr ""
|
382
386
|
|
383
|
-
#: ../app/lib/actions/proxy_action.rb:
|
387
|
+
#: ../app/lib/actions/proxy_action.rb:89
|
384
388
|
msgid "The smart proxy task %s failed."
|
385
389
|
msgstr ""
|
386
390
|
|
387
|
-
#: ../app/lib/actions/proxy_action.rb:
|
391
|
+
#: ../app/lib/actions/proxy_action.rb:100
|
388
392
|
msgid "Cancel enforced: the task might be still running on the proxy"
|
389
393
|
msgstr ""
|
390
394
|
|
391
|
-
#: ../app/lib/actions/proxy_action.rb:
|
395
|
+
#: ../app/lib/actions/proxy_action.rb:110
|
392
396
|
msgid "Task aborted: the task might be still running on the proxy"
|
393
397
|
msgstr ""
|
394
398
|
|
395
|
-
#: ../app/lib/actions/proxy_action.rb:
|
399
|
+
#: ../app/lib/actions/proxy_action.rb:120
|
400
|
+
msgid "Event delivered by request %{request_id}"
|
401
|
+
msgstr ""
|
402
|
+
|
403
|
+
#: ../app/lib/actions/proxy_action.rb:132
|
396
404
|
msgid "Proxy task gone missing from the smart proxy"
|
397
405
|
msgstr ""
|
398
406
|
|
399
|
-
#: ../app/lib/actions/proxy_action.rb:
|
407
|
+
#: ../app/lib/actions/proxy_action.rb:169
|
400
408
|
msgid "Initialization error: %s"
|
401
409
|
msgstr ""
|
402
410
|
|
403
|
-
#: ../app/models/foreman_tasks/recurring_logic.rb:
|
411
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:135
|
404
412
|
msgid "Active"
|
405
413
|
msgstr ""
|
406
414
|
|
407
|
-
#: ../app/models/foreman_tasks/recurring_logic.rb:
|
415
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:137
|
408
416
|
msgid "Cancelled"
|
409
417
|
msgstr ""
|
410
418
|
|
411
|
-
#: ../app/models/foreman_tasks/recurring_logic.rb:
|
419
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:139
|
412
420
|
msgid "Finished"
|
413
421
|
msgstr ""
|
414
422
|
|
415
|
-
#: ../app/models/foreman_tasks/recurring_logic.rb:
|
423
|
+
#: ../app/models/foreman_tasks/recurring_logic.rb:141
|
416
424
|
msgid "Disabled"
|
417
425
|
msgstr ""
|
418
426
|
|
@@ -420,11 +428,11 @@ msgstr ""
|
|
420
428
|
msgid "Cannot update a cancelled Recurring Logic."
|
421
429
|
msgstr ""
|
422
430
|
|
423
|
-
#: ../app/models/foreman_tasks/task.rb:
|
431
|
+
#: ../app/models/foreman_tasks/task.rb:88
|
424
432
|
msgid "Delayed"
|
425
433
|
msgstr ""
|
426
434
|
|
427
|
-
#: ../app/models/foreman_tasks/task.rb:
|
435
|
+
#: ../app/models/foreman_tasks/task.rb:88
|
428
436
|
msgid "Immediate"
|
429
437
|
msgstr ""
|
430
438
|
|
@@ -462,32 +470,75 @@ msgstr ""
|
|
462
470
|
msgid "The task could not be started"
|
463
471
|
msgstr ""
|
464
472
|
|
465
|
-
#: ../app/models/setting/foreman_tasks.rb:
|
473
|
+
#: ../app/models/setting/foreman_tasks.rb:10
|
466
474
|
msgid "Number of seconds to wait for synchronous task to finish."
|
467
475
|
msgstr ""
|
468
476
|
|
469
|
-
#: ../app/models/setting/foreman_tasks.rb:
|
477
|
+
#: ../app/models/setting/foreman_tasks.rb:11
|
470
478
|
msgid "Allow unlocking actions which can have dangerous consequences."
|
471
479
|
msgstr ""
|
472
480
|
|
473
|
-
#: ../app/models/setting/foreman_tasks.rb:
|
481
|
+
#: ../app/models/setting/foreman_tasks.rb:12
|
474
482
|
msgid "Enable the dynflow console (/foreman_tasks/dynflow) for debugging"
|
475
483
|
msgstr ""
|
476
484
|
|
477
|
-
#: ../app/models/setting/foreman_tasks.rb:
|
485
|
+
#: ../app/models/setting/foreman_tasks.rb:13
|
478
486
|
msgid ""
|
479
487
|
"Require user to be authenticated as user with admin rights when accessing dynf"
|
480
488
|
"low console"
|
481
489
|
msgstr ""
|
482
490
|
|
483
|
-
#: ../app/models/setting/foreman_tasks.rb:
|
491
|
+
#: ../app/models/setting/foreman_tasks.rb:14
|
484
492
|
msgid "Number of attempts to start a task on the smart proxy before failing"
|
485
493
|
msgstr ""
|
486
494
|
|
487
|
-
#: ../app/models/setting/foreman_tasks.rb:
|
495
|
+
#: ../app/models/setting/foreman_tasks.rb:15
|
488
496
|
msgid "Time in seconds between retries"
|
489
497
|
msgstr ""
|
490
498
|
|
499
|
+
#: ../app/models/setting/foreman_tasks.rb:16
|
500
|
+
msgid "Allow triggering tasks on the smart proxy in batches"
|
501
|
+
msgstr ""
|
502
|
+
|
503
|
+
#: ../app/models/setting/foreman_tasks.rb:17
|
504
|
+
msgid ""
|
505
|
+
"Number of tasks which should be sent to the smart proxy in one request, if for"
|
506
|
+
"eman_tasks_proxy_batch_trigger is enabled"
|
507
|
+
msgstr ""
|
508
|
+
|
509
|
+
#: ../app/models/setting/foreman_tasks.rb:19
|
510
|
+
msgid ""
|
511
|
+
"Url pointing to the task troubleshooting documentation. It should contain %{la"
|
512
|
+
"bel} placeholder, that will be replaced with normalized task label (restricted"
|
513
|
+
" to only alphanumeric characters)). %{version} placeholder is also available."
|
514
|
+
msgstr ""
|
515
|
+
|
516
|
+
#: ../app/services/foreman_tasks/troubleshooting_help_generator.rb:67
|
517
|
+
msgid ""
|
518
|
+
"A paused task represents a process that has not finished properly. Any task in"
|
519
|
+
" paused state can lead to potential inconsistency and needs to be resolved."
|
520
|
+
msgstr ""
|
521
|
+
|
522
|
+
#: ../app/services/foreman_tasks/troubleshooting_help_generator.rb:70
|
523
|
+
msgid ""
|
524
|
+
"The recommended approach is to investigate the error messages below and in 'er"
|
525
|
+
"rors' tab, address the primary cause of the issue and resume the task."
|
526
|
+
msgstr ""
|
527
|
+
|
528
|
+
#: ../app/services/foreman_tasks/troubleshooting_help_generator.rb:83
|
529
|
+
msgid "troubleshooting documentation"
|
530
|
+
msgstr ""
|
531
|
+
|
532
|
+
#: ../app/services/foreman_tasks/troubleshooting_help_generator.rb:84
|
533
|
+
msgid "See %{link} for more details on how to resolve the issue"
|
534
|
+
msgstr ""
|
535
|
+
|
536
|
+
#: ../app/services/ui_notifications/tasks/task_paused_admin.rb:37
|
537
|
+
msgid "There is %{count} paused task in the system that need attention"
|
538
|
+
msgid_plural "There are %{count} paused tasks in the system that need attention"
|
539
|
+
msgstr[0] ""
|
540
|
+
msgstr[1] ""
|
541
|
+
|
491
542
|
#: ../app/views/common/_trigger_form.html.erb:2
|
492
543
|
msgid "Schedule"
|
493
544
|
msgstr ""
|
@@ -517,7 +568,7 @@ msgstr ""
|
|
517
568
|
#: ../app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb:12
|
518
569
|
#: ../app/views/foreman_tasks/tasks/_errors.html.erb:16
|
519
570
|
#: ../app/views/foreman_tasks/tasks/_running_steps.html.erb:19
|
520
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
571
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:20
|
521
572
|
msgid "Action"
|
522
573
|
msgstr ""
|
523
574
|
|
@@ -551,7 +602,7 @@ msgstr ""
|
|
551
602
|
#: ../app/views/foreman_tasks/tasks/_running_steps.html.erb:24
|
552
603
|
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:5
|
553
604
|
#: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:4
|
554
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
605
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:21
|
555
606
|
msgid "State"
|
556
607
|
msgstr ""
|
557
608
|
|
@@ -632,7 +683,7 @@ msgstr ""
|
|
632
683
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:96
|
633
684
|
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:6
|
634
685
|
#: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:5
|
635
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
686
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:22
|
636
687
|
msgid "Result"
|
637
688
|
msgstr ""
|
638
689
|
|
@@ -645,27 +696,27 @@ msgid "Execution type"
|
|
645
696
|
msgstr ""
|
646
697
|
|
647
698
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:117
|
648
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
699
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:33
|
649
700
|
msgid "(Disabled)"
|
650
701
|
msgstr ""
|
651
702
|
|
652
703
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:127
|
653
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
704
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:23
|
654
705
|
msgid "Started at"
|
655
706
|
msgstr ""
|
656
707
|
|
657
708
|
#: ../app/views/foreman_tasks/tasks/_details.html.erb:131
|
658
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
709
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:24
|
659
710
|
msgid "Ended at"
|
660
711
|
msgstr ""
|
661
712
|
|
662
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
713
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:181
|
663
714
|
#: ../app/views/foreman_tasks/tasks/_errors.html.erb:24
|
664
715
|
#: ../app/views/foreman_tasks/tasks/_running_steps.html.erb:31
|
665
716
|
msgid "Output"
|
666
717
|
msgstr ""
|
667
718
|
|
668
|
-
#: ../app/views/foreman_tasks/tasks/_details.html.erb:
|
719
|
+
#: ../app/views/foreman_tasks/tasks/_details.html.erb:190
|
669
720
|
#: ../app/views/foreman_tasks/tasks/show.html.erb:121
|
670
721
|
msgid "Errors"
|
671
722
|
msgstr ""
|
@@ -730,7 +781,7 @@ msgstr ""
|
|
730
781
|
|
731
782
|
#:
|
732
783
|
#: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:1
|
733
|
-
#: ../lib/foreman_tasks/engine.rb:
|
784
|
+
#: ../lib/foreman_tasks/engine.rb:83
|
734
785
|
msgid "Latest Warning/Error Tasks"
|
735
786
|
msgstr ""
|
736
787
|
|
@@ -740,7 +791,7 @@ msgid "Started"
|
|
740
791
|
msgstr ""
|
741
792
|
|
742
793
|
#: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:1
|
743
|
-
#: ../lib/foreman_tasks/engine.rb:
|
794
|
+
#: ../lib/foreman_tasks/engine.rb:82
|
744
795
|
msgid "Task Status"
|
745
796
|
msgstr ""
|
746
797
|
|
@@ -752,13 +803,15 @@ msgstr ""
|
|
752
803
|
msgid "Last start time"
|
753
804
|
msgstr ""
|
754
805
|
|
755
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
806
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:14
|
756
807
|
#: ../app/views/foreman_tasks/tasks/show.html.erb:6
|
808
|
+
#: ../db/seeds.d/30-notification_blueprints.rb:3
|
809
|
+
#: ../db/seeds.d/30-notification_blueprints.rb:18
|
757
810
|
#: ../lib/foreman_tasks/engine.rb:48
|
758
811
|
msgid "Tasks"
|
759
812
|
msgstr ""
|
760
813
|
|
761
|
-
#: ../app/views/foreman_tasks/tasks/index.html.erb:
|
814
|
+
#: ../app/views/foreman_tasks/tasks/index.html.erb:25
|
762
815
|
msgid "User"
|
763
816
|
msgstr ""
|
764
817
|
|
@@ -786,6 +839,14 @@ msgstr ""
|
|
786
839
|
msgid "Raw"
|
787
840
|
msgstr ""
|
788
841
|
|
842
|
+
#: ../db/seeds.d/30-notification_blueprints.rb:12
|
843
|
+
msgid "List of tasks"
|
844
|
+
msgstr ""
|
845
|
+
|
846
|
+
#: ../db/seeds.d/30-notification_blueprints.rb:27
|
847
|
+
msgid "Task Details"
|
848
|
+
msgstr ""
|
849
|
+
|
789
850
|
#: ../lib/foreman_tasks/cleaner.rb:16
|
790
851
|
msgid ""
|
791
852
|
":after setting in tasks cleanup section is deprecated, use :after in :rules se"
|
@@ -796,6 +857,10 @@ msgstr ""
|
|
796
857
|
msgid "Back to tasks"
|
797
858
|
msgstr ""
|
798
859
|
|
860
|
+
#: ../lib/foreman_tasks/engine.rb:45
|
861
|
+
msgid "Foreman Tasks"
|
862
|
+
msgstr ""
|
863
|
+
|
799
864
|
#: ../lib/foreman_tasks/engine.rb:54
|
800
865
|
msgid "Recurring Logics"
|
801
866
|
msgstr ""
|