[root@pulp-qe ~]# pulp-admin -u admin -p admin repo create --id=foo Successfully created repository [ foo ] [root@pulp-qe ~]# pulp-admin -u admin -p admin content upload -v --repoid=foo /tmp/patb-0.1-1.noarch.rpm * Starting Content Upload * Performing Content Uploads to Pulp server Successfully uploaded [patb-0.1-1.noarch.rpm] to server * Performing Repo Associations Traceback (most recent call last): File "/usr/bin/pulp-admin", line 23, in <module> admin.main() File "/usr/lib/python2.7/site-packages/pulp/client/lib/cli.py", line 152, in main command.main(self.args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/pluginlib/command.py", line 129, in main action.main(args[1:]) File "/usr/lib/python2.7/site-packages/pulp/client/pluginlib/command.py", line 211, in main self.run() File "/usr/lib/python2.7/site-packages/pulp/client/admin/plugins/content.py", line 166, in run error_message = e[4] IndexError: list index out of range [root@pulp-qe ~]# rpm -q pulp pulp-0.0.254-1.fc15.noarch
pulp.log 2011-12-07 12:55:24,973 13758:140295131866880: pulp.server.webservices.controllers.services:INFO: services:164 Search [{'regex': False, 'filename': 'python-webpy-0.32-8.el6.noarch.rpm'}]: package lookup: 0.00118279457092, repo correlation: 1.19209289551e-06, total: 0.00118398666382 2011-12-07 12:55:25,186 13758:140295400302336: pulp.server.api.upload:INFO: upload:292 Importing rpm metadata content into pulp 2011-12-07 12:55:25,186 13758:140295400302336: pulp.server.api.upload:INFO: upload:403 Finalizing the pkg location /var/lib/pulp//packages/python-webpy/0.32/8.el6/noarch/e3a/python-webpy-0.32-8.el6.noarch.rpm 2011-12-07 12:55:25,189 13758:140295400302336: pulp.server.api.upload:INFO: upload:414 File copied from /var/lib/pulp/uploads/8de4e29e-026d-43ad-a688-e3397877502e/python-webpy-0.32-8.el6.noarch.rpm to /var/lib/pulp//packages/python-webpy/0.32/8.el6/noarch/e3a/python-webpy-0.32-8.el6.noarch.rpm 2011-12-07 12:55:25,387 13758:140295400302336: pulp.server.api.repo:INFO: repo:904 Finished created pkg_object in 0.0098090171814 seconds 2011-12-07 12:55:25,387 13758:140295400302336: pulp.server.api.repo:INFO: repo:950 Finished check of NEVRA/filename in argument data by 0.0105838775635 seconds 2011-12-07 12:55:25,390 13758:140295400302336: pulp.server.api.repo:INFO: repo:973 Finished check of existing NEVRA by 0.0136840343475 seconds 2011-12-07 12:55:25,393 13758:140295400302336: pulp.server.api.repo:INFO: repo:987 Finished check of get_packages_by_filename() by 0.0163109302521 seconds 2011-12-07 12:55:25,396 13758:140295400302336: pulp.server.api.repo:INFO: repo:1005 inside of repo.add_packages() adding packages took 0.0189018249512 seconds 2011-12-07 12:55:54,398 13758:140295039612672: pulp.server.api.synchronizers:INFO: synchronizers:763 preserve metadata flag is set; skipping metadata update 2011-12-07 12:55:54,780 13758:140295039612672: pulp.server.api.synchronizers:INFO: synchronizers:333 skipping distribution imports from sync process 2011-12-07 12:55:55,569 13758:140295039612672: pulp.server.api.synchronizers:INFO: synchronizers:385 No metadata for 'File Sync' present; no files to import to repo..
Fixed. commit 5e45ef4098aa1dbbbd75fc2bc8b01e28c6d90e91 Author: Sayli Karmarkar <skarmark> Date: Wed Dec 7 13:25:44 2011 -0800 760766 - Updated content upload cli to parse new return format for repo.add_packages() with filters correctly $ sudo pulp-admin content upload -v --nosig -r demo-repo /home/skarmark/git/pulp1/pulp/test/unit/data/sameNEVRA_differentChecksums/A/repo/pulp-test-package-same-nevra-0.1.0-1.x86_64.rpm * Starting Content Upload * Performing Content Uploads to Pulp server Content [pulp-test-package-same-nevra-0.1.0-1.x86_64.rpm] already exists on the server with checksum [f2a34b9756244cb78bfa1d04b12e08da28aeefa19a47ea9e199b18c6fc18c143] * Performing Repo Associations Packages skipped because of filters associated with the repository demo-repo : 0 * Metadata generation has been scheduled for repository [demo-repo] with a task id [62dcdf3a-2119-11e1-8b0c-1c659d8e492e]; use `pulp-admin repo generate_metadata --status` to check the status. Content association Complete for Repo [demo-repo]: Packages: pulp-test-package-same-nevra-0.1.0-1.x86_64.rpm Files: None * Content Upload complete. With filters: $ sudo pulp-admin content upload -v --nosig -r demo-repo /home/skarmark/git/pulp1/pulp/test/unit/data/sameNEVRA_differentChecksums/A/repo/pulp-test-package-same-nevra-0.1.0-1.x86_64.rpm * Starting Content Upload * Performing Content Uploads to Pulp server Content [pulp-test-package-same-nevra-0.1.0-1.x86_64.rpm] already exists on the server with checksum [f2a34b9756244cb78bfa1d04b12e08da28aeefa19a47ea9e199b18c6fc18c143] * Performing Repo Associations Packages skipped because of filters associated with the repository demo-repo : 1 Content association Complete for Repo [demo-repo] * Content Upload complete.
build: 0.254-2
[root@preethi ~]# pulp-admin content upload /root/upload/gofer-0.32-1.fc14.noarch.rpm -v --repoid=pulp --nosig * Starting Content Upload * Performing Content Uploads to Pulp server Successfully uploaded [gofer-0.32-1.fc14.noarch.rpm] to server * Performing Repo Associations Packages skipped because of filters associated with the repository pulp : 0 * Metadata generation has been scheduled for repository [pulp] with a task id [bb138ab0-21c2-11e1-9c1d-002564a85a58]; use `pulp-admin repo generate_metadata --status` to check the status. Content association Complete for Repo [pulp]: Packages: gofer-0.32-1.fc14.noarch.rpm Files: None * Content Upload complete. [root@preethi ~]# pulp-admin repo content --id=pulp +------------------------------------------+ Contents of pulp +------------------------------------------+ Packages in pulp: gofer-0.32-1.fc14.noarch.rpm Errata in pulp: none Files in pulp: none
Pulp v1.0 is released Closed Current Release.