| Summary: | pulp repos need to keep serving existing repodata while newer updates are being synced | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Pradeep Kilambi <pkilambi> |
| Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | tsanders |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 20 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-16 12:08:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 647488 | ||
|
Description
Pradeep Kilambi
2011-02-02 19:30:07 UTC
commit a57565861fd35502ca63a49978efa942a0800fd6 Author: Pradeep Kilambi <pkilambi> Date: Mon Feb 7 13:46:50 2011 -0500 fix in grinder 0.0.79-1 or higher Fixed in 0.136. Test plan <prad> basically when you do a resync .. do a watch on /var/lib/pulp/repos/<repo-path>/ <preethi> ok <prad> you'll see a repodata.new for a while and it will disappear <prad> and the repodata directory will hvae that new info upon completion <prad> ideally this is how you would test: <prad> 1. subscribe your client to that repo <prad> 2. perform yum operations on packages that are in source repo but not on pulp repo <prad> so basically you need an update or a new package when you do resync <preethi> ok <prad> this should not succeed until the sync fails <prad> as the new metadata is still in temp location verified [root@preethi ~]# rpm -q pulp pulp-0.0.213-1.fc14.noarch [root@preethi ~]# root@preethi ~]# pulp-admin repo sync --id=f14 -F Sync for repository f14 started Sync: Finished 1/2773 new items downloaded 2772/2773 existing items processed [root@preethi ~]# ls -l /var/lib/pulp/repos/released/F-14/GOLD/Fedora/x86_64/os/ total 212 drwxr-sr-x. 3 apache apache 4096 Jul 25 09:05 images drwxr-sr-x. 2 apache apache 200704 Jul 25 09:05 Packages drwxr-sr-x. 2 apache apache 4096 Jul 26 15:26 repodata drwxr-sr-x. 2 apache apache 4096 Jul 26 15:28 repodata.new Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |