Bug 1130785 - Better error reporting on syncing a cds
Summary: Better error reporting on syncing a cds
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: Tools
Version: 2.1.3
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: 3.0.0
Assignee: RHUI Bug List
QA Contact: Irina Gulina
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-17 17:46 UTC by Peter Gervase
Modified: 2016-07-15 14:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-15 14:26:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Peter Gervase 2014-08-17 17:46:02 UTC
Description of problem: If you get an error on syncing a cds, it'd be nice to have it mention logs to check and on which servers. 


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

How reproducible:
100%

Steps to Reproduce:
1. # rhui-manager
2. rhui (home) => s
3. rhui (sync) => dc

Actual results:
------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= CDS Synchronization Status =-

Last Refreshed: 12:34:30
(updated every 5 seconds, ctrl+c to exit)


pg-cds1.example.com ................................. [  UP  ]


Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
pg-cds1.example.com
08-17-2014 17:03             08-17-2014 12:33             Error      


                                        Connected: pg-rhua.example.com
------------------------------------------------------------------------------





Expected results:
------------------------------------------------------------------------------
             -= Red Hat Update Infrastructure Management Tool =-


-= CDS Synchronization Status =-

Last Refreshed: 12:34:30
(updated every 5 seconds, ctrl+c to exit)


pg-cds1.example.com ................................. [  UP  ]


Next Sync                    Last Sync                    Last Result         
------------------------------------------------------------------------------
pg-cds1.example.com
08-17-2014 17:03             08-17-2014 12:33             Error - Please check on your rhua and cds systems /var/log/pulp-cds/pulp.log 


                                        Connected: pg-rhua.example.com
------------------------------------------------------------------------------



Additional info:
Sure, it gives the traceback under "vc  view the details of the last CDS sync", but that might not always be clear . Also, as long as the text is going to change to "Error" at the five second interval refresh, it might as well give a little bit more info. Specifying which servers to check is nice rather than just assuming the user knows which server is being talked about.

Comment 3 Irina Gulina 2016-07-15 14:26:09 UTC
CDS module was removed in pulp 2.0 (not sure about the version), therefore there is no option to sync CDS in RHUI3.


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