Bug 1295003 - katello-disconnected and pulp-admin disagree as to task status
Summary: katello-disconnected and pulp-admin disagree as to task status
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Quickstart Cloud Installer
Classification: Red Hat
Component: Distribution
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ga
: 1.0
Assignee: Scott Lewis
QA Contact: James Olin Oden
URL:
Whiteboard:
Depends On:
Blocks: 1297791
TreeView+ depends on / blocked
 
Reported: 2015-12-31 18:07 UTC by Thom Carlin
Modified: 2016-08-26 17:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1297791 (view as bug list)
Environment:
Last Closed: 2016-08-26 17:35:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thom Carlin 2015-12-31 18:07:58 UTC
Description of problem:

katello-disconnected reports a status but pulp-admin reports a different status.


Version-Release number of selected component (if applicable):

TP2

How reproducible:

100% for specific repo/state

Steps to Reproduce:
1. Setup for disconnected mode
2. Synchronize one repository at a time
3.

Actual results:

katello-disconnected task in error
pulp-admin task is running

Expected results:

both tools report the same status

Additional info:

"katello-disconnected watch --repo-id rhel-6-server-rpms-6Server-x86_64" returns:
State: error:
  repo: [rhel-6-server-rpms-6Server-x86_64] packages remaining: [unknown]
but
pulp-admin repo tasks list --repo-id rhel-6-server-rpms-6Server-x86_64" returns:
perations:  sync
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Failed
Start Time:  2015-12-30T16:09:54Z
Finish Time: 2015-12-30T16:09:55Z
Task Id:     bcf568b1-a5b0-4e34-834c-f4a701c49cbd

Operations:  sync
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Failed
Start Time:  2015-12-30T16:27:44Z
Finish Time: 2015-12-30T16:27:45Z
Task Id:     607a7df7-263e-475a-8fc4-e6512e884110

Operations:  sync
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Failed
Start Time:  2015-12-30T17:02:33Z
Finish Time: 2015-12-30T17:02:34Z
Task Id:     9c42056e-a6de-4e44-bafd-016f5db8e644

Operations:  sync
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Failed
Start Time:  2015-12-30T17:06:17Z
Finish Time: 2015-12-30T17:06:18Z
Task Id:     3691bffc-6053-4c32-a655-1febbef4b1ee

Operations:  sync
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Failed
Start Time:  2015-12-30T20:05:35Z
Finish Time: 2015-12-30T20:05:36Z
Task Id:     b6f63c77-2f47-44b0-85aa-ce91e8b7cdca

Operations:  publish
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Cancelled
Start Time:  2015-12-31T16:57:22Z
Finish Time: 2015-12-31T17:16:32Z
Task Id:     2d7b6b7b-50c0-4ccf-818e-8a86ce0f7c86

Operations:  publish
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Cancelled
Start Time:  Unstarted
Finish Time: Incomplete
Task Id:     97d4c351-0f35-43b9-baef-9898086c532c

Operations:  publish
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Cancelled
Start Time:  Unstarted
Finish Time: Incomplete
Task Id:     4f933cd6-4e30-4ab9-872c-a5e7ef3fada2

Operations:  publish
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Cancelled
Start Time:  Unstarted
Finish Time: Incomplete
Task Id:     46ff9b3d-6acb-48c7-8d23-8765de14d23c

Operations:  delete
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Successful
Start Time:  2015-12-31T17:31:40Z
Finish Time: 2015-12-31T17:32:07Z
Task Id:     71231539-896e-4c94-9417-44e5c1e33442

Operations:  sync
Resources:   rhel-6-server-rpms-6Server-x86_64 (repository)
State:       Running
Start Time:  2015-12-31T17:58:44Z
Finish Time: Incomplete
Task Id:     95bfa35b-ae57-4fd5-b4fe-f0ec9694ee16

pulp-admin status appears to be correct

Comment 1 John Matthews 2016-06-14 19:24:26 UTC
Please retest with sat 6.2, if still happens suggest reassign to Sat component

Comment 2 James Olin Oden 2016-08-26 17:35:15 UTC
The katello-disconnected server synchronization and export functions are being moved into the Satellite server itself. With 6.2, the katello-disconnected command will no longer be delivered and instead will be replaced with a new export and import functions delivered via the UI and hammer CLI. This bug is being closed as "WONTFIX" since it relates only to the existing katello-disconnected tooling. Please check the Satellite docs with the release of Satellite 6.2 on how to use the new content export and import features.

Note, I am a QE person, but in effect this is a wontfix not a currentrelease close.   Really, we need a state like invalid, not applicable anymore.


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