Bug 704960
Summary: | RepoError: while running multiple repo sync for different repo's | ||
---|---|---|---|
Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Sachin Ghai <sghai> |
Component: | Upstream | Assignee: | Jay Dobies <jason.dobies> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0 | CC: | jmatthew, tsanders |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-31 12:57:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 711223 |
Description
Sachin Ghai
2011-05-16 07:33:29 UTC
After aboce traceback, when I tried to check the sync state using rhui-manager, got unexpected error with following error in rhui.log ------------------------------------------------------------------------------ ^Crhui (sync) => dr ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 12:37:02 (updated every 50 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) 05-16-2011 12:24 05-13-2011 18:31 running Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) 05-16-2011 13:26 05-16-2011 07:01 finished Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386) An unexpected error has occurred during the last operation. More information can be found in /root/.rhui/rhui.log. [root@dhcp193-136 rhui]# tail -f /root/.rhui/rhui.log Shell.listen(self) File "/usr/lib/python2.6/site-packages/rhui/common/shell.py", line 191, in listen item.func(*args, **item.kwargs) File "/usr/lib/python2.6/site-packages/rhui/tools/screens/sync.py", line 63, in repo_display self._sync_display('-= Repository Synchronization Status =-', self.pulp.repos_with_sync_status, False) File "/usr/lib/python2.6/site-packages/rhui/tools/screens/sync.py", line 241, in _sync_display self.prompt.write(SYNC_STATUS_LINE % (next_sync, render.format_date(data['last_sync']), self._color_sync_state(data))) File "/usr/lib/python2.6/site-packages/rhui/tools/screens/sync.py", line 259, in _color_sync_state return self.prompt.color(data['sync_state'], STATE_COLORS[data['sync_state']]) KeyError: None added to rhui-20 tracker Refiled upstream as 713775 Saichin are you able to reproduce the error in comment 0? We added a class level lock in grinder which serializes the yum metadata fetch calls a month or two ago, I am wondering if you saw the error in comment #0 prior to our change. I've done multiple syncs in pulp and I haven't been able to duplicate this. This issue is not reproducible with new build pulp 0.208 and rhui-tools 2.0.38. I tried to sync multiple repos but its not reproducible. ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 18:34:34 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64) 07-15-2011 20:02 07-15-2011 18:30 Success Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) 07-15-2011 20:02 07-15-2011 18:30 Success Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386) 07-15-2011 20:06 07-15-2011 18:24 Success Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64) 07-15-2011 20:06 07-15-2011 18:24 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 07-15-2011 20:06 07-15-2011 18:33 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 07-15-2011 20:06 07-15-2011 18:33 Success Connected: dhcp201-141.englab.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => From the above sync status, seems that it is fixed in new builds. Looks like Sachin is already QE-ing this, so changing the status. This has already been fixed in pulp 0.208 as per comment 5. However to ensure I verified this in pulp 0.211. This issue is no longer reproducible. -= Repository Synchronization Status =- Last Refreshed: 10:24:28 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server (RPMs) (5Server-x86_64) 07-27-2011 12:35 07-27-2011 09:25 Success Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) (6Server-x86_64) 07-27-2011 12:12 07-27-2011 06:43 Success Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) 07-27-2011 12:12 07-27-2011 09:19 Success Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) 07-27-2011 12:13 07-27-2011 06:44 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 07-27-2011 10:48 07-27-2011 04:48 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 07-27-2011 10:48 07-27-2011 04:48 Success Connected: dhcp201-127.englab.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => ^ Moving this to verified. moving to release pending closing out, product released |