[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] yum is not showing the binded repo



Can you provide the output from: 'pulp-admin repo list' for the repo you are trying to bind to? Is this a protected repo, or publicly accessible from the Pulp Server? Does this repo have an external feed, or are you uploading content to it?

-Todd

On 06/22/2011 04:59 AM, Aditya Patawari wrote:
Hi,

I have added a consumer successfully but then I came across the error
below while trying to bind a consumer with a repo.
The repo was binded nonetheless (I checked that on server) but yum is
not showing the newly added repos, nor I can install any packages from
the binded repo. /etc/yum.repos.d also does not have any files related
to the binded repo.
Please help.

Error:

[root localhost ~]# pulp-client -u admin -p admin consumer bind
--repoid=tmz_puppet64
Traceback (most recent call last):
   File "/usr/bin/pulp-client", line 63, in ?
     client.main()
   File "/usr/lib/python2.4/site-packages/pulp/client/cli/base.py",
line 117, in main
     command.main(args[1:])
   File "/usr/lib/python2.4/site-packages/pulp/client/core/base.py",
line 116, in main
     action.main(args[1:])
   File "/usr/lib/python2.4/site-packages/pulp/client/core/base.py",
line 204, in main
     self.run()
   File "/usr/lib/python2.4/site-packages/pulp/client/core/consumer.py",
line 250, in run
     bind_data['clientcert'])
   File "/usr/lib/python2.4/site-packages/pulp/client/repolib.py", line
118, in bind
     _handle_certs(repo, cert_root_dir, cacert, clientcert)
   File "/usr/lib/python2.4/site-packages/pulp/client/repolib.py", line
268, in _handle_certs
     certificates = CertFiles(rootdir, repo.id)
   File "/usr/lib/python2.4/site-packages/pulp/client/repo_file.py",
line 448, in __init__
     self.rootdir = os.path.join(rootdir, repoid)
   File "/usr/lib64/python2.4/posixpath.py", line 62, in join
     elif path == '' or path.endswith('/'):
AttributeError: 'Undefined' object has no attribute 'endswith'

======================================================================
Pulp Server
ver: 0.0.191
OS: Fedora 15

Pulp Consumer
ver: 0.0.191
OS: Centos 5.5

--
Aditya Patawari
http://blog.adityapatawari.com/
https://fedoraproject.org/wiki/User:Adimania
India

_______________________________________________
Pulp-list mailing list
Pulp-list redhat com
https://www.redhat.com/mailman/listinfo/pulp-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]