| Summary: | Custom repository causes a CDS synchronization failure | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | mkovacik | ||||||||
| Component: | RHUA | Assignee: | James Slagle <jslagle> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | wes hayutin <whayutin> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 2.0.3 | CC: | kbidarka, sghai, tsanders | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-04-20 07:46:51 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
|
Description
mkovacik
2012-04-19 17:55:33 UTC
Created attachment 578726 [details]
Screen log
Can not reproduce this bug in a 2.0.3. Bumping to 2.1 for further investigation. What I was doing, when it happened: - there was the gkrellm-x86_64 custom repo "unprotected"; path: gkrellm/x86_64 - then I've added gkrellm-i386, protected by entitlement; path gkrellm/i386 - uploaded content into the gkrellm-i386 - checked content presence in /var/lib/pulp/repos/gkrellm - checked that in rhui-manager <main> -> n -> c lists that repo - removed both gkrellm-x86_64 and gkrellm-i386 repos - created gkrellm-x86_64 and gkrellm-i686 - tried to sync CDSes - error Since then can't sync CDSes anymore, but couldn't reproduce it in another deployment either. Today I've noticed my identity certificate expired; this is probably the reason for the failure as generating new identity certificate solved the issue. Created attachment 578906 [details]
cds gofer log
Created attachment 578907 [details]
rhua pulp log directory
### Screen Log of the identity certificate update solves the issue
[root@ip-10-226-7-207 pulp]# rhui-manager status
ip-10-49-107-20.eu-west-1.compute.internal .................. [ UP ]
ip-10-49-107-20.eu-west-1.compute.internal .................. [ ERROR ]
ip-10-53-11-17.eu-west-1.compute.internal ................... [ UP ]
ip-10-53-11-17.eu-west-1.compute.internal ................... [ ERROR ]
qRed Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) ............. [ ERROR ]
Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs) from RHUI (6Server-x86_64) [ ERROR ]
Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs) from RHUI (6Server-i386) [ ERROR ]
Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-i386) ..... [ ERROR ]
Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-x86_64) ... [ ERROR ]
Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-i386) ..... [ ERROR ]
Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-x86_64) ... [ ERROR ]
Identity certificate expiration date = 2012-04-18T10:47:05Z .......... [ ERROR ]
Identity certificate at /etc/pki/rhui/identity.crt is expired!
Entitlement CA certificate expiration date = 2012-07-25T16:36:58Z .... [ OK ]
19
[root@ip-10-226-7-207 pulp]#
[root@ip-10-226-7-207 ~]# rhui-manager status
ip-10-49-107-20.eu-west-1.compute.internal .................. [ UP ]
ip-10-49-107-20.eu-west-1.compute.internal .................. [ ERROR ]
ip-10-53-11-17.eu-west-1.compute.internal ................... [ UP ]
ip-10-53-11-17.eu-west-1.compute.internal ................... [ ERROR ]
Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) ............. [ SUCCESS ]
Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs) from RHUI (6Server-x86_64) [ SUCCESS ]
Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs) from RHUI (6Server-i386) [ SUCCESS ]
Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-i386) ..... [ SUCCESS ]
Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-x86_64) ... [ SUCCESS ]
Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-i386) ..... [ SUCCESS ]
Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-x86_64) ... [ SUCCESS ]
Identity certificate expiration date = 2012-04-18T10:47:05Z .......... [ ERROR ]
Identity certificate at /etc/pki/rhui/identity.crt is expired!
Entitlement CA certificate expiration date = 2012-07-25T16:36:58Z .... [ OK ]
18
[root@ip-10-226-7-207 ~]# rhui-manager
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Home =-
r manage repositories
c manage content delivery servers (CDS)
s synchronization status and scheduling
e create entitlement certificates and client configuration RPMs
n manage Red Hat entitlement certificates
u manage users
i manage identity certificate
logout
removes stored authentication credentials and exits
< move to the previous screen
^, home
move to the home screen
/, clear
clears the screen
?, help
display help
q, quit, exit
exit
Connected: ip-10-226-7-207.eu-west-1.compute.internal
------------------------------------------------------------------------------
rhui (home) => i
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Identity Certificate Management =-
g generate a new identity certificate
Connected: ip-10-226-7-207.eu-west-1.compute.internal
------------------------------------------------------------------------------
rhui (identity) => g
Generating a new RHUI identity certificate will replace
the one currently stored at /etc/pki/rhui/identity.crt. Proceed? [y/n]: y
Enter the number of days the RHUI identity certificate will be valid.
If the identity certificate ever expires, it will need to be
regenerated using rhui-manager [Default: 3650]:
................................................................................................................................................+++
............................+++
Successfully regenerated RHUI Identity certificate
------------------------------------------------------------------------------
rhui (identity) => <
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Home =-
r manage repositories
c manage content delivery servers (CDS)
s synchronization status and scheduling
e create entitlement certificates and client configuration RPMs
n manage Red Hat entitlement certificates
u manage users
i manage identity certificate
Connected: ip-10-226-7-207.eu-west-1.compute.internal
------------------------------------------------------------------------------
rhui (home) => s
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Synchronization Status =-
dr display repo sync summary
vr view the details of the last repository sync
sr sync an individual repository immediately
dc display CDS sync summary
vc view the details of the last CDS sync
sc sync an individual CDS immediately
Connected: ip-10-226-7-207.eu-west-1.compute.internal
------------------------------------------------------------------------------
rhui (sync) => sc
Select one or more CDS instances to schedule to be synchronized before its scheduled time.
The sync will happen as soon as possible depending on other tasks that may be executing
in the RHUI. Only CDS instances that are not currently synchronizing are displayed.
Last Result Next Sync CDS
------------------------------------------
- 1 : Error 04-20-2012 06:23 ip-10-49-107-20.eu-west-1.compute.internal
- 2 : Error 04-20-2012 06:23 ip-10-53-11-17.eu-west-1.compute.internal
Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: 1-2
Select one or more CDS instances to schedule to be synchronized before its scheduled time.
The sync will happen as soon as possible depending on other tasks that may be executing
in the RHUI. Only CDS instances that are not currently synchronizing are displayed.
Last Result Next Sync CDS
------------------------------------------
x 1 : Error 04-20-2012 06:23 ip-10-49-107-20.eu-west-1.compute.internal
x 2 : Error 04-20-2012 06:23 ip-10-53-11-17.eu-west-1.compute.internal
Enter value (1-2) to toggle selection, 'c' to confirm selections, or '?' for more commands: c
The following CDS instances will be scheduled for synchronization:
ip-10-49-107-20.eu-west-1.compute.internal
ip-10-53-11-17.eu-west-1.compute.internal
Proceed? (y/n) y
Scheduling sync for ip-10-49-107-20.eu-west-1.compute.internal...
... successfully scheduled for the next available timeslot.
Scheduling sync for ip-10-53-11-17.eu-west-1.compute.internal...
... successfully scheduled for the next available timeslot.
------------------------------------------------------------------------------
rhui (sync) => dc
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= CDS Synchronization Status =-
Last Refreshed: 03:13:08
(updated every 5 seconds, ctrl+c to exit)
ip-10-49-107-20.eu-west-1.compute.internal .................. [ UP ]
ip-10-53-11-17.eu-west-1.compute.internal ................... [ UP ]
Next Sync Last Sync Last Result
------------------------------------------------------------------------------
ip-10-49-107-20.eu-west-1.compute.internal
In Progress 04-20-2012 00:23 Error
ip-10-53-11-17.eu-west-1.compute.internal
In Progress 04-20-2012 00:23 Error
Connected: ip-10-226-7-207.eu-west-1.compute.internal
------------------------------------------------------------------------------
[root@ip-10-226-7-207 log]# rhui-manager status
ip-10-49-107-20.eu-west-1.compute.internal .................. [ UP ]
ip-10-49-107-20.eu-west-1.compute.internal .................. [ SUCCESS ]
ip-10-53-11-17.eu-west-1.compute.internal ................... [ UP ]
ip-10-53-11-17.eu-west-1.compute.internal ................... [ SUCCESS ]
Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) ............. [ SUCCESS ]
Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs) from RHUI (6Server-x86_64) [ SUCCESS ]
Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs) from RHUI (6Server-i386) [ SUCCESS ]
Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-i386) ..... [ SUCCESS ]
Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-x86_64) ... [ SUCCESS ]
Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-i386) ..... [ SUCCESS ]
Red Hat Enterprise Linux 5 Server from RHUI (RPMs) (5Server-x86_64) ... [ SUCCESS ]
Identity certificate expiration date = 2022-04-18T07:12:29Z .......... [ OK ]
Entitlement CA certificate expiration date = 2012-07-25T16:36:58Z .... [ OK ]
0
[root@ip-10-226-7-207 log]#
Closing based on previous comments... |