Bug 715512
Summary: | RepoError when sync was "in-progress" for two repos. | ||
---|---|---|---|
Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Sachin Ghai <sghai> |
Component: | RHUA | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0 | CC: | jason.dobies, kbidarka, sghai, 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:54:10 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-06-23 07:07:00 UTC
Sync status is "Unknown" in rhui-manager. ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 12:31:13 (updated every 5 seconds, ctrl+c to exit) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) (6Server-x86_64) Unknown Never Error Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) In Progress Never Never Connected: dhcp201-111.englab.pnq.redhat.com ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ rhui (sync) => sr Select one or more repositories 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 repositories that are not currently synchronizing are displayed. Last Result Next Sync Repository ------------------------------------------ Enter value (1-0) to toggle selection, 'c' to confirm selections, or '?' for more commands: It is not a intermittent issue. I got the same issue again. This time I added small rhui1.2 repos and triggered the individual sync for all of them at once. This is very initial screenshot. -------------------------------------------------------------------- Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) In Progress Never Never Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386) In Progress Never Never Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64) In Progress Never Never Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) In Progress Never Never Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) Awaiting Execution Never Never Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386) Awaiting Execution Never Never Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) 06-23-2011 18:53 Never Never -------------------------------------------------------------------- Here you can see the error in "Last Result" for RHUI1.2 (SRPMS) Next Sync Last Sync Last Result ------------------------------------------------------------------------------ Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) In Progress Never Never Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386) 06-23-2011 18:53 06-23-2011 12:55 Success Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64) 06-23-2011 18:53 06-23-2011 12:55 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 06-23-2011 18:53 06-23-2011 12:55 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 06-23-2011 18:53 06-23-2011 12:56 Success Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386) 06-23-2011 18:53 Never Error Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) 06-23-2011 18:53 Never Never Connected: dhcp201-111.englab.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => ------------------------------------------------------------------------------ ^Crhui (sync) => vr Select a repository: 1 - Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) 2 - Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386) 3 - Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64) 4 - Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 5 - Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 6 - Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-i386) 7 - Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64) Enter value (1-7) or 'b' to abort: 6 Start Time: 06-23-2011 12:55 Finish Time: 06-23-2011 12:55 Elapsed Time: 0:00:08 Result: Error Exception: RepoError() Traceback: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 329, in run result = self.callable(*self.args, **self.kwargs) File "/usr/lib/python2.6/site-packages/pulp/server/api/repo_sync.py", line 224, in _sync progress_callback, synchronizer, max_speed, threads) File "/usr/lib/python2.6/site-packages/pulp/server/api/repo_sync.py", line 302, in fetch_content progress_callback, max_speed, threads) File "/usr/lib/python2.6/site-packages/pulp/server/api/synchronizers.py", line 429, in sync report = self.yum_repo_grinder.fetchYumRepo(store_path, callback=progress_callback) File "/usr/lib/python2.6/site-packages/grinder/RepoFetch.py", line 393, in fetchYumRepo self.yumFetch.getRepoData() File "/usr/lib/python2.6/site-packages/grinder/RepoFetch.py", line 138, in getRepoData for ftype in self.getRepoXmlFileTypes(): File "/usr/lib/python2.6/site-packages/grinder/RepoFetch.py", line 123, in getRepoXmlFileTypes return self.repo.repoXML.fileTypes() File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1417, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 1413, in _getRepoXML raise Errors.RepoError, msg RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: . Please verify its path and try again ------------------------------------------------------------------------------ rhui (sync) => Please let me know if this is still an issue with Pulp .204. This was likely fixed with the grinder changes to threading v. processes. I verified this with new builds ( pulp 0.204 and rhui-tools 2.0.37). This issue is not reproducible. I started the sync for multiple repos at once. -= Repository Synchronization Status =- Last Refreshed: 14:36:24 (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) In Progress 07-12-2011 14:28 Success Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) In Progress 07-12-2011 01:02 Success Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) In Progress 07-13-2011 12:09 Success Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386) 07-13-2011 20:06 07-13-2011 14:34 Success Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64) 07-13-2011 20:06 07-13-2011 14:36 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) Awaiting Execution 07-12-2011 14:30 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) In Progress 07-12-2011 14:28 Success Connected: dhcp201-141.englab.pnq.redhat.com -------------------------------------------------------------------------- Sync completed successfully for all repos, without this mentioned RepoError. ------------------------------------------------------------------------------ -= Red Hat Update Infrastructure Management Tool =- -= Repository Synchronization Status =- Last Refreshed: 16:25:01 (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-13-2011 20:02 07-13-2011 14:37 Success Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) 07-13-2011 20:02 07-13-2011 16:22 Success Red Hat Enterprise Linux Server 6 Updates (RPMs) (6Server-x86_64) 07-13-2011 20:02 07-13-2011 14:40 Success Red Hat Update Infrastructure 1.1 (RPMs) (5Server-i386) 07-13-2011 20:06 07-13-2011 14:34 Success Red Hat Update Infrastructure 1.1 (RPMs) (5Server-x86_64) 07-13-2011 20:06 07-13-2011 14:36 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) 07-13-2011 20:06 07-13-2011 14:37 Success Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) 07-13-2011 20:06 07-13-2011 14:36 Success Connected: dhcp201-141.englab.pnq.redhat.com ------------------------------------------------------------------------------ ^Crhui (sync) => moving to release pending closing out, product released |