Bug 619162
| Summary: | Repo reports having packages even thou never synced | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Mike McCune <mmccune> |
| Component: | z_other | Assignee: | Mike McCune <mmccune> |
| Status: | CLOSED DUPLICATE | QA Contact: | wes hayutin <whayutin> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | bkearney, jmatthew, mmccune, pkilambi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-17 14:43:00 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: | |||
This is due to the change to using 'deferred fields'. The CLI is simply doing a len on 'packages', which is a string of a URL. Fix we discussed a bit back would be to change the API and fetch the number of packages in a repo and return that, then update the CLI so it displays that package_count. *** This bug has been marked as a duplicate of bug 621246 *** |
* No repo schedule defined, no feed defined yet the repo has packages: +-------------------------------------------+ List of Available Repositories +-------------------------------------------+ Label my-repo Name my repo's name Feed None Arch i686 Sync Schedule None Packages 31 DB reports no packages either: use _database / db.repos.find()[0]: "packages" : {} need to figure out why this is.