[Pulp-list] cli sync error

Pradeep Kilambi pkilambi at redhat.com
Tue Jun 22 13:22:24 UTC 2010


On 06/22/2010 09:08 AM, Pradeep Kilambi wrote:
> On 06/22/2010 12:15 AM, Jason L Connor wrote:
>> On Mon, 2010-06-21 at 17:14 -0700, Mike McCune wrote:
>>    
>>> [mmccune at gibson pulptools{master}]$ sudo python pulpcli.py repo sync
>>> --label=test
>>> Sync Status:: error
>>> Sync Status:: error
>>> Sync Status:: error
>>> Sync Status:: error
>>> Sync Status:: error
>>> Sync Status:: error
>>> Sync Status:: error
>>> Sync Status:: error
>>> ^CTraceback (most recent call last):
>>>     File "pulpcli.py", line 105, in<module>
>>>       PulpCore().main()
>>>     File "pulpcli.py", line 102, in main
>>>       cmd.main()
>>>     File "/home/mmccune/devel/pulp/src/pulptools/core/basecore.py", line
>>> 43, in main
>>>       self._do_core()
>>>     File "/home/mmccune/devel/pulp/src/pulptools/core/core_repo.py", line
>>> 131, in _do_core
>>>       self._sync()
>>>     File "/home/mmccune/devel/pulp/src/pulptools/core/core_repo.py", line
>>> 193, in _sync
>>>       time.sleep(5)
>>> KeyboardInterrupt
>>>
>>> never seemed to exit.  just looped on :: error
>>>
>>>      
>> When the task is in errror, there's an exception and a traceback
>> associated with the status. Perhaps the cli can print those out when it
>> sees an error.
>>
>>    
>
> I'll take a look at this today.
>
> ~ Prad

Fixed! If an error occurs, you should see something like this:

$ pulp repo sync --label=test1174
Sync Status:: error
RepoError: Cannot retrieve repository metadata (repomd.xml) for 
repository: test1174. Please verify its path and try again

$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20100622/224f6ee3/attachment.htm>


More information about the Pulp-list mailing list