Bug 659138 - Need Web UI or config option to list/enable/disable/adjust frequency of Taskomatic tasks
Summary: Need Web UI or config option to list/enable/disable/adjust frequency of Tasko...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 540
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
: 706030 706035 (view as bug list)
Depends On:
Blocks: sat541-blockers
TreeView+ depends on / blocked
 
Reported: 2010-12-02 00:35 UTC by Xixi
Modified: 2018-11-27 19:46 UTC (History)
9 users (show)

Fixed In Version: spacewalk-java-1.2.39-80
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-17 02:30:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xixi 2010-12-02 00:35:19 UTC
Description of problem:
Due to the re-write in Satellite 5.4 there's no longer a way for users to be able to list, enable, disable, or adjust frequency of Taskomatic tasks without going directly to the db via SQL (which is not documented either).  This is to track Web UI functionality to accomplish that.  Per discussion with jsherrill this was already on the roadmap, filing a BZ to track officially (and for customer).  

Version-Release number of selected component (if applicable):
Red Hat Network (RHN) Satellite 5.4.0

How reproducible:
Always.

Steps to Reproduce:
1. Try to list, enable, disable, or adjust frequency of Taskomatic tasks on Satellite 5.4.

Actual results:
No longer a way to do it other than straight SQL (which is not documented).

Expected results:
Web UI (or config option) to bring back capability for users.

Additional info:
Already discussed with engineering (see above).

Comment 2 Xixi 2010-12-02 23:14:11 UTC
Related Bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=642285
Bug 642285 - FIX correctly - "Admin -> Task Engine Status -> Last Execution Times" is empty

Comment 4 Tomas Lestach 2011-05-02 10:08:40 UTC
New feature implemented.
Now 4 new WebUI pages are available:
* /admin/SatSchedules
* /admin/ScheduleDetail
* /admin/DeleteSchedule
* /admin/BunchDetail

spacewalk.git:
 eaf6ae607fdf17541c72ae02218fa9c66ce61660 (WebUI changes)
 9bd27dab18ff55e535282e080588c2e858201bdd (styleId support for repeat-task-picker)
 101b4b425e8839f5006c0c4fa356d55a51ecc410 (set start time for skipped queue jobs)

Comment 7 Tomas Lestach 2011-05-09 09:23:21 UTC
spacewalk.git:
 efdfafc349cec29f4ed448f0403d2553b8b2a2a5 (reinit of schedules)
 14c180f1ce0723b765dba618de8e58517594d2a3 (reinit for single task schedules)
 38c7ca120d5fc655b91525335aacd3236a4970c0 (fix scheduling of single runs for specific time)
 c657393b9d13bf855eb8950d1e618941c5a2c9b7 (display times in current timezone)
 eed3e5c9fa86b834b0b88cc096731c232b4fb2a6 (update single run action message)
 488d4180232ee5d2fa180b923ab86f60416135fa (first schedule, then display)
 c24eb1255b64166095a76825afa483ee7a16e39c (change runs ordering)

Comment 8 Tomas Lestach 2011-05-09 10:19:06 UTC
spacewalk.git: 8562d871fc097dc8616683197fc184f50778c4a5 (8562d871fc097dc8616683197fc184f50778c4a5)

Comment 9 Tomas Lestach 2011-05-09 10:20:38 UTC
previous commit description shall be:  schedule description strings update

Comment 11 Tomas Lestach 2011-05-09 12:11:35 UTC
spacewalk.git: e7b5c763a65939e87095177ab0a27da080c0dc2f (fix button submit detection)

Comment 14 Tomas Lestach 2011-05-11 09:48:18 UTC
couple of more changes:
spacewalk.git:
 cd0f3a9be2c1e05d8530906cd735a8f35d68ad0d (fix emptykey message)
 cffeafcab7a66f2cceb4423c40e515b9ab8085e3 (skip code, if taskomatic is down)
 9a49f75cb8fb467e5c11aae920d209b56c3288cc (change jsp rendering when taskomatic is down)

Comment 18 Tomas Lestach 2011-05-19 16:32:36 UTC
Fixing found issues:
 2d5cc2b287032562b4e1ee7fa03ae4ed3c59428d (fix message on the schedule create page)
 8d54e9ce9d3bc95b85f95d802c6b7e4f102f25a4 (fix repeat-task-picker input tag)
 74c41853fae70b9e3f81c1cd6a5b3bd6a5e8a177 (fix Custom Quartz format error handling)

Comment 20 Tomas Lestach 2011-05-19 16:41:41 UTC
*** Bug 706030 has been marked as a duplicate of this bug. ***

Comment 22 Tomas Lestach 2011-05-20 18:12:14 UTC
spacewalk.git:
 669cd9890f5717e72fe8f76b56906c58b55f0b46 (do not forward parameter map in case of success)
 8cfa182beb513179efd62338c4202d30c55004cd (extend schedule creation error handling)

Comment 24 Tomas Lestach 2011-05-20 18:20:21 UTC
*** Bug 706035 has been marked as a duplicate of this bug. ***

Comment 26 Dimitar Yordanov 2011-05-24 12:31:05 UTC
VERIFIED on Sat 5.4.1 (RHEL6, RHEL5)

Comment 27 Šimon Lukašík 2011-06-07 10:51:07 UTC
Verified in stage with spacewalk-java-1.2.39-82 
with the exception of bug 711349, bug 711361 and bug 711377

I am able to configure taskomatic schedule through webui. The changes
are applied immediately.

Comment 28 Clifford Perry 2011-06-17 02:30:44 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

https://rhn.redhat.com/errata/RHSA-2011-0879.html


Note You need to log in before you can comment on or make changes to this bug.