[Pulp-list] yum is not showing the binded repo
Aditya Patawari
aditya at adityapatawari.com
Wed Jun 22 08:59:00 UTC 2011
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 at 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
More information about the Pulp-list
mailing list