Hide Forgot
Description of problem: package search with --repoids fails with error [root@preethi ~]# pulp-admin package search --repoids=f16 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/package.py", line 402, in run release=release, arch=arch, filename=filename, repoids=self.opts.repoids) File "/usr/lib/python2.7/site-packages/pulp/client/api/service.py", line 41, in search_packages data["repoids"] = eval(repoids) File "<string>", line 1, in <module> NameError: name 'f16' is not defined [root@preethi ~]# pulp-admin repo list +------------------------------------------+ List of Available Repositories +------------------------------------------+ Id pulp Name pulp Repo URL https://preethi.usersys.redhat.com/pulp/repos/repos/pulp/pulp/testing/fedora-16/x86_64/ Feed URL http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-16/x86_64/ Feed Type remote Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture noarch Sync Schedule None Packages 18 Files 0 Distributions None Publish True Clones [] Groups None Filters [] Notes {} Preserve Metadata False Checksum Type sha256 Id f16 Name f16 Repo URL https://preethi.usersys.redhat.com/pulp/repos/released/F-16/GOLD/Fedora/x86_64/os/ Feed URL http://download.devel.redhat.com/released/F-16/GOLD/Fedora/x86_64/os/ Feed Type remote Content Type yum Feed Certs CA:No Cert:No Consumer Certs CA:No Cert:No Architecture x86_64 Sync Schedule None Packages 3107 Files 0 Distributions ks-Fedora-Fedora-16-x86_64 Publish True Clones [] Groups None Filters [] Notes {} Preserve Metadata False Checksum Type sha256 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fixed. $ sudo pulp-admin package search --repoid zoo-clone +------------------------------------------+ Package Information +------------------------------------------+ Name EVRA Filename Repositories lion 0:0.3-0.8.noarch lion-0.3-0.8.noarch.rpm zoo-clone walrus 0:0.3-0.8.noarch walrus-0.3-0.8.noarch.rpm zoo-clone, zoo-clone1 cheetah 0:0.3-0.8.noarch cheetah-0.3-0.8.noarch.rpm zoo-clone, zoo-clone1 elephant 0:0.3-0.8.noarch elephant-0.3-0.8.noarch.rpm zoo-clone, zoo-clone1 giraffe 0:0.3-0.8.noarch giraffe-0.3-0.8.noarch.rpm zoo-clone, zoo-clone1 monkey 0:0.3-0.8.noarch monkey-0.3-0.8.noarch.rpm zoo-clone, zoo-clone1 penguin 0:0.3-0.8.noarch penguin-0.3-0.8.noarch.rpm zoo-clone, zoo-clone1 squirrel 0:0.3-0.8.noarch squirrel-0.3-0.8.noarch.rpm zoo-clone, zoo-clone1 To specify multiple packages - $ sudo pulp-admin package search -p zoo-clone -p test1 +------------------------------------------+ Package Information +------------------------------------------+ Name EVRA Filename Repositories m2crypto-debuginfo 0:0.21.1.pulp-5.fc16.x86_64 m2crypto-debuginfo-0.21.1.pulp-5.fc16.x86_64.rpm test1 pulp-consumer 0:0.0.250-1.fc16.noarch pulp-consumer-0.0.250-1.fc16.noarch.rpm test1 grinder 0:0.0.129-1.fc16.noarch grinder-0.0.129-1.fc16.noarch.rpm test1 gofer-package 0:0.60-1.fc16.noarch gofer-package-0.60-1.fc16.noarch.rpm test1 ...
build: 0.254.
[root@preethi ~]# rpm -q pulp pulp-0.0.254-6.fc15.noarch [root@preethi ~]# rpm -q pulp [root@preethi ~]# pulp-admin package search --repoid=rhel6 |more +------------------------------------------+ Package Information +------------------------------------------+ Name EVRA Filename Reposito ries python-louie 0:1.1-7.el6.noarch python-louie-1.1-7.el6.noarch.rpm rhel6 kde-i18n-Arabic 1:3.5.10-11.el6.noarch kde-i18n-Arabic-3.5.10-11.el6.noarch.rpm rhel6 xorg-x11-drv-siliconmotion 0:1.7.5-1.el6.x86_64 xorg-x11-drv-siliconmotion-1.7.5-1.el6.x86_64.rpm rhel6 gamin 0:0.1.10-9.el6.i686 gamin-0.1.10-9.el6.i686.rpm rhel6 iptraf 0:3.0.1-13.el6.x86_64 iptraf-3.0.1-13.el6.x86_64.rpm rhel6 librelp 0:0.1.1-4.1.el6.x86_64 librelp-0.1.1-4.1.el6.x86_64.rpm rhel6 plymouth-system-theme 0:0.8.3-24.el6.noarch plymouth-system-theme-0.8.3-24.el6.noarch.rpm rhel6 gdm-libs 1:2.30.4-32.el6.i686 gdm-libs-2.30.4-32.el6.i686.rpm rhel6 httpd 0:2.2.15-15.el6.x86_64
Pulp v1.0 is released Closed Current Release.