Bug #30736
closedUpdating the CDN URL is manifest works fine but creates some tasks which remains in planned state with success result
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1873408
Description of problem:
While verifying if the issue reported on "https://bugzilla.redhat.com/show_bug.cgi?id=1727493" is whether or not reproducible on Satellite 6.8 beta, It's being observed that whereas the issue is not reproducible but it creates some tasks at backend which stays in planned state even if the result is success for those tasks.
Version-Release number of selected component (if applicable):
satellite-6.8.0-0.7.beta.el7sat.noarch
How reproducible:
Always
Steps to Reproduce:
1. Content --> Subscriptions --> Manage Manifest
2. Change the CDN Url to point to "http://satellite.example.com/pub/sat-import/"
3. Click on Update.
4. Wait for few mins and Go back to Monitor --> Tasks
5. Search the tasks using this filter --> state != stopped && result = success
Actual results:
Number of tasks by the name "Updating repository authentication configuration" , label "Actions::Katello::Repository::UpdateCVRepoCertGuard " , stays in planned | stopped state.
- hammer task list --search "state != stopped && result = success"
-------------------------------------|---------------------------------------------------|---------|---------|---------------------|----------|-------|------------
ID | ACTION | STATE | RESULT | STARTED AT | ENDED AT | OWNER | TASK ERRORS
-------------------------------------|---------------------------------------------------|---------|---------|---------------------|----------|-------|------------
d70da815-dc7b-4ed4-a78c-5d5194932992 | Updating repository authentication configuration | planned | success | 2020/08/28 08:15:17 | | admin |
8abfe90a-116c-4286-af27-78e2c548ff23 | Updating repository authentication configuration | planned | success | 2020/08/28 08:15:17 | | admin |
0b009f5a-16fa-46ca-b50a-234484dcf590 | Updating repository authentication configuration | planned | success | 2020/08/28 08:15:17 | | admin |
0c7585f9-208b-405e-9e08-ebddcda40a28 | Updating repository authentication configuration | planned | success | 2020/08/28 08:15:16 | | admin |
-------------------------------------|---------------------------------------------------|---------|---------|---------------------|----------|-------|------------
- hammer task info --id d70da815-dc7b-4ed4-a78c-5d5194932992
ID: d70da815-dc7b-4ed4-a78c-5d5194932992
Action: Updating repository authentication configuration
State: planned
Result: success
Started at: 2020/08/28 08:15:17
Ended at:
Owner: admin
Task errors:
Expected results:
If a task is successfully completed, It should not stay in planned state or else attempt of upgrade to next available minor\major release will fail.
Additional info:
NA