[Pulp-list] yum is not showing the binded repo
Aditya Patawari
aditya at adityapatawari.com
Wed Jun 22 13:30:48 UTC 2011
Both the repos are taken from external feeds. I did not mark any repo
as protected. is "protected" a default behavior?
output from: 'pulp-admin repo list'.
+------------------------------------------+
List of Available Repositories
+------------------------------------------+
Id centos64os
Name centos64os
Feed URL http://isoredirect.centos.org/centos/5/os/x86_64
Feed Type remote
Feed Certs CA:No Cert:No
Consumer Certs CA:No Cert:No
Architecture noarch
Sync Schedule None
Packages 0
Files 0
Distributions None
Publish True
Clones []
Groups None
Filters []
Notes {}
Id tmz_puppet64
Name tmz_puppet64
Feed URL
http://people.fedoraproject.org/~tmz/repo/puppet/epel/5/x86_64/
Feed Type remote
Feed Certs CA:No Cert:No
Consumer Certs CA:No Cert:No
Architecture noarch
Sync Schedule None
Packages 20
Files 0
Distributions None
Publish True
Clones []
Groups None
Filters []
Notes {}
--
Aditya Patawari
http://blog.adityapatawari.com/
https://fedoraproject.org/wiki/User:Adimania
India
On Wed, Jun 22, 2011 at 5:59 PM, Todd B Sanders <tsanders at redhat.com> wrote:
> 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 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
>>
>> _______________________________________________
>> Pulp-list mailing list
>> Pulp-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/pulp-list
>
>
More information about the Pulp-list
mailing list