Actions
Bug #20898
closedremove params from runtime_message by default
Difficulty:
Triaged:
Description
Currently, we have added runtime_message method which shows description + param details.
For some procedure, we don't need to show param details in round brackets.
As in "investigate the tasks via UI" procedure it showing below output:
- ./bin/foreman-maintain health check
Running ForemanMaintain::Scenario::FilteredScenario ================================================================================
Check for verifying syntax for ISP DHCP configurations: [OK]
--------------------------------------------------------------------------------
check for paused tasks: [FAIL]
There are currently 46 paused tasks in the system
--------------------------------------------------------------------------------
There are multiple steps to proceed:
1) resume paused tasks
2) investigate the tasks via UI ({:search_query=>#<ForemanMaintain::Param:0x000000012cb400 @name=:search_query, @description="", @options={}, @required=false, @flag=false, @block=nil, @array=false>})
Select step to continue, [n(next), q(quit)] 2
investigate the tasks via UI:
Go to https://satellite1.example.com/foreman_tasks/tasks?search=state+%3D+paused+AND+label+%21%5E%28Actions%3A%3ACandlepin%3A%3AListenOnCandlepinEvents+Actions%3A%3AKatello%3A%3AEventQueue%3A%3AMonitor%29
press ENTER after the paused tasks are resolved.
Updated by Kavita Gaikwad over 7 years ago
- Subject changed from Overide runtime_message method for procedure "investigate the tasks via UI" to Override runtime_message method for procedure "investigate the tasks via UI"
Updated by Kavita Gaikwad over 7 years ago
- Subject changed from Override runtime_message method for procedure "investigate the tasks via UI" to remove params from runtime_message by default
Instead of overriding runtime_message everywhere there is params defined, remove it from runtime_message by default.
Updated by Ivan Necas over 7 years ago
- Target version changed from 216 to next version
Updated by The Foreman Bot over 7 years ago
- Pull request https://github.com/theforeman/foreman_maintain/pull/97 added
Updated by Kavita Gaikwad over 7 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_maintain|4b8412ca9cc1312dbf0a411054945523299dc613.
Actions