Actions
Issue #1385
closedContent Unit Counts Documented Incorrectly
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.6.5
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix, Pulp 2
Sprint:
Quarter:
Description
Following Puppet Quick Start Guide [1], Content Unit Counts
is not updated when puppet modules are added to repository. Same issue occures with RPM module. One thus can not query repository by number of units it contains.
# pulp-admin puppet repo create --repo-id=repo1 --description="Mirror of Puppet Forge" --display-name="Repo 1" --feed=http://forge.puppetlabs.com
Successfully created repository [repo1]
# pulp-admin puppet repo update --repo-id=repo1 --queries=libvirt
Repository [repo1] successfully updated
# pulp-admin puppet repo sync run --repo-id=repo1
+----------------------------------------------------------------------+
Synchronizing Repository [repo1]
+----------------------------------------------------------------------+
This command may be exited via ctrl+c without affecting the request.
Downloading metadata...
[==================================================] 100%
Metadata Query: 1/1 items
... completed
Downloading new modules...
[==================================================] 100%
Module: 8/8 items
... completed
Task Succeeded
Publishing modules...
[==================================================] 100%
Module: 8/8 items
... completed
Generating repository metadata...
[-]
... completed
Publishing repository over HTTP...
... completed
Publishing repository over HTTPS...
... skipped
Task Succeeded
# pulp-admin puppet repo search
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
Id: repo1
Display Name: Repo 1
Description: Mirror of Puppet Forge
Content Unit Counts:
Puppet Module: 8
Last Unit Added: 2015-11-24T14:12:36Z
Last Unit Removed: None
Notes:
# pulp-admin puppet repo search --gt='content_unit_count=0'
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
[1] http://pulp-puppet.readthedocs.org/en/latest/user-guide/quick-start.html
Actions