[Pulp-list] From pulp 0.0.252: TypeError: __init__() got an unexpected keyword argument 'distro_location

Pradeep Kilambi pkilambi at redhat.com
Tue Nov 29 14:13:52 UTC 2011


I just ran your commands and confirmed it works

$ sudo pulp-admin -u admin -p admin repo create --id f15_x86_64 --feed http://ftp.us.unixeria.com/fedora/linux/releases/15/Fedora/x86_64/os/
Successfully created repository [ f15_x86_64 ]

$ sudo pulp-admin -u admin -p admin  repo sync --id f15_x86_64 -F
Sync for repository f15_x86_64 started
Sync: Finished
0/2941 new items downloaded
2941/2941 existing items processed

Item Details: 
Tree Files: 6/6
RPMs: 2935/2935

so looks like you might have some old grinder egg lying around causing this.

~ Prad

----- Original Message -----
From: "Pradeep Kilambi" <pkilambi at redhat.com>
To: "John Matthews" <jmatthew at redhat.com>
Cc: pulp-list at redhat.com
Sent: Tuesday, November 29, 2011 8:59:01 AM
Subject: Re: [Pulp-list] From pulp 0.0.252: TypeError: __init__() got	an	unexpected keyword argument 'distro_location

looks like your grinder is old? or somehow changed recently and we dint update pulp.

~ Prad

----- Original Message -----
From: "John Matthews" <jmatthew at redhat.com>
To: pulp-list at redhat.com
Sent: Tuesday, November 29, 2011 8:53:52 AM
Subject: [Pulp-list] From pulp 0.0.252: TypeError: __init__() got an	unexpected keyword argument 'distro_location

Saw the below today when running pulp-0.0.252-1.el6.noarch

pulp-admin repo create --id f15_x86_64 --feed http://ftp.us.unixeria.com/fedora/linux/releases/15/Fedora/x86_64/os/
pulp-admin repo sync --id f15_x86_64 -F

2011-11-29 08:48:02,663 17567:-1416684688: pulp.server.tasking.task:ERROR: task:455 Task failed: Task c1bc57b8-1a90-11e1-8c92-12313d286a67: _sync(f15_x86_64, synchronizer=<pulp.server.api.synchronizers.YumSynchronizer object at 0xb464370c>, skip={}, max_speed=None, threads=None, progress_callback=<bound method RepoSyncTask.progress_callback of <pulp.server.api.repo_sync_task.RepoSyncTask object at 0xb4640c4c>>)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 404, in run
    result = self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/repo_sync.py", line 262, in _sync
    progress_callback, synchronizer, max_speed, threads)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/repo_sync.py", line 340, in fetch_content
    progress_callback, max_speed, threads)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/synchronizers.py", line 153, in sync
    max_speed=max_speed, threads=threads)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/synchronizers.py", line 620, in remote
    max_speed=limit_in_KB, distro_location=pulp.server.util.top_distribution_location())
TypeError: __init__() got an unexpected keyword argument 'distro_location'

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

_______________________________________________
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