Bug 974235
Summary: | repo copy with --recursive fails for group copy if you run rpm copy --recursive first | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | user-experience | Assignee: | Barnaby Court <bcourt> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.2 Beta | CC: | bcourt, mhrivnak, rbarlow |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-09 14:31:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Preethi Thomas
2013-06-13 18:34:46 UTC
Preethi, I tested this using both pulp-2.2 and master branches with the following script and was unable to duplicate the issue. Can you verify? pulp-admin rpm repo create --repo-id pulp --feed http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-19/x86_64/ pulp-admin rpm repo sync run --repo-id pulp pulp-admin rpm repo create --repo-id pulp-copy pulp-admin rpm repo copy rpm --from-repo-id pulp --to-repo-id pulp-copy --str-eq "name=pulp-server" --recursive pulp-admin rpm repo copy group --from-repo-id pulp --to-repo-id pulp-copy --str-eq "id=pulp-server" --recursive :: Results of Script :: [bcourt@bcourt ci]$ pulp-admin rpm repo create --repo-id pulp --feed http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-19/x86_64/ Successfully created repository [pulp] [bcourt@bcourt ci]$ pulp-admin rpm repo sync run --repo-id pulp +----------------------------------------------------------------------+ Synchronizing Repository [pulp] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [\] ... completed Downloading repository content... [==================================================] 100% RPMs: 42/42 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Publishing packages... [==================================================] 100% Packages: 42/42 items ... completed Publishing distributions... [==================================================] 100% Distributions: 0/0 items ... completed Generating metadata [\] ... completed Publishing repository over HTTPS [-] ... completed [bcourt@bcourt ci]$ pulp-admin rpm repo create --repo-id pulp-copy Successfully created repository [pulp-copy] [bcourt@bcourt ci]$ pulp-admin rpm repo copy rpm --from-repo-id pulp --to-repo-id pulp-copy --str-eq "name=pulp-server" --recursive This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Units: pulp-server-2.3.0-0.8.alpha.fc19-noarch [bcourt@bcourt ci]$ pulp-admin rpm repo copy group --from-repo-id pulp --to-repo-id pulp-copy --str-eq "id=pulp-server" --recursive This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Units: pulp-server [bcourt@bcourt ci]$ build: 2.3.0-0.10.alpha verified that this has been fixed [root@pulp-v2-server ~]# rpm -qa pulp-server pulp-server-2.3.0-0.14.alpha.el6.noarch [root@pulp-v2-server ~]# [root@pulp-v2-server ~]# pulp-admin rpm repo create --repo-id pulp --feed http://repos.fedorapeople.org/repos/pulp/pulp/v2/testing/fedora-19/x86_64/ Successfully created repository [pulp] [root@pulp-v2-server ~]# pulp-admin rpm repo sync --repo-id pulp Usage: pulp-admin [SUB_SECTION, ..] COMMAND Description: run, schedule, or view the status of sync tasks Available Sections: schedules - manage repository sync schedules Available Commands: run - triggers an immediate sync of a repository status - displays the status of a repository's sync tasks [root@pulp-v2-server ~]# pulp-admin rpm repo sync run --repo-id pulp +----------------------------------------------------------------------+ Synchronizing Repository [pulp] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [\] ... completed Downloading repository content... [==================================================] 100% RPMs: 42/42 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Publishing packages... [==================================================] 100% Packages: 42/42 items ... completed Publishing distributions... [==================================================] 100% Distributions: 0/0 items ... completed Generating metadata [\] ... completed Publishing repository over HTTPS [-] ... completed [root@pulp-v2-server ~]# pulp-admin rpm repo create --repo-id pulp-copy Successfully created repository [pulp-copy] [root@pulp-v2-server ~]# pulp-admin rpm repo copy rpm --from-repo-id pulp --to-repo-id pulp-copy --str-eq "name=pulp-server" --recursive This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Units: m2crypto-0.21.1.pulp-8.fc19-x86_64 mod_wsgi-3.4-1.pulp.fc19-x86_64 pulp-server-2.3.0-0.14.alpha.fc19-noarch python-gofer-0.76-1.fc19-noarch python-isodate-0.5.0-1.pulp.fc19-noarch python-nectar-1.1.1-1.fc19-noarch python-oauth2-1.5.170-3.pulp.fc19-noarch python-okaara-1.0.32-1.fc19-noarch python-qpid-0.7.946106-2.fc19-noarch python-webpy-0.32-9.fc19-noarch [root@pulp-v2-server ~]# pulp-admin rpm repo copy group --from-repo-id pulp --to-repo-id pulp-copy --str-eq "id=pulp-server" --recursive This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... [-] Running... Units: package_group: pulp-server rpm: createrepo-0.9.9-21.2.pulp.fc19-noarch pulp-puppet-plugins-2.3.0-0.14.alpha.fc19-noarch pulp-rpm-plugins-2.3.0-0.14.alpha.fc19-noarch pulp-selinux-2.3.0-0.14.alpha.fc19-noarch python-rhsm-1.8.0-1.pulp.fc19-x86_64 python-semantic-version-2.2.0-3.fc19-noarch [root@pulp-v2-server ~]# Pulp 2.3 released. |