Bug 670633 - Origin cloning of a repo result in traceback
Summary: Origin cloning of a repo result in traceback
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Pulp
Classification: Retired
Component: z_other
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-18 21:06 UTC by dgao
Modified: 2015-03-23 01:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-04 20:28:23 UTC


Attachments (Terms of Use)

Description dgao 2011-01-18 21:06:20 UTC
[root@pulp-nightly repos]# pulp-admin auth login -u admin -p admin
User credentials successfully stored at [/root/.pulp]

You have new mail in /var/spool/mail/root
[root@pulp-nightly repos]# pulp-admin repo list
No repositories available to list
[root@pulp-nightly repos]# pulp-admin repo create --id=foo --feed=yum:http://10.16.76.78/pub/updates
Successfully created repository [ foo ]

[root@pulp-nightly repos]# pulp-admin repo sync --id=foo
Sync for repository foo started
Use "repo status" to check on the progress
[root@pulp-nightly repos]# pulp-admin repo sync --id=foo -F
Sync for repository foo started
You can safely CTRL+C this current command and it will continue
[=========================] 100% Total: 5/5 items (5/['total_count']<rpms>)
0/5 new items downloaded
5/5 existing items verified
Sync: Finished

[root@pulp-nightly repos]# pulp-admin repo clone --id=foo --clone_id=bar --feed=origin -F
Repository [foo] is being cloned as [bar]
You can safely CTRL+C this current command and it will continue
[=========================] 100% Total: 5/5 items )
Clone: Error
Traceback (most recent call last):
  File "/usr/bin/pulp-admin", line 147, in <module>
    admin.main()
  File "/usr/lib/python2.6/site-packages/pulp/client/cli/base.py", line 98, in main
    command.main(args[1:])
  File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 118, in main
    action.main(args[1:])
  File "/usr/lib/python2.6/site-packages/pulp/client/core/base.py", line 229, in main
    self.run()
  File "/usr/lib/python2.6/site-packages/pulp/client/core/repo.py", line 364, in run
    self.clone_foreground(task)
  File "/usr/lib/python2.6/site-packages/pulp/client/core/repo.py", line 340, in clone_foreground
    raise SyncError(task['traceback'][-1])
pulp.client.core.repo.SyncError: PulpException: u'Repo cloning of [foo] failed'




2011-01-18 16:03:45,657 [ERROR][Thread-82] create_repo() @ upload.py:100 - createrepo on /var/lib/pulp/repos/bar failed
2011-01-18 16:03:45,659 [ERROR][Thread-82] failed() @ task.py:207 - Task id:6ff78b57-2346-11e0-8115-5452004fdd6d, method_name:_clone:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 131, in run
    result = self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/repo.py", line 243, in _clone
    raise PulpException("Repo cloning of [%s] failed" % id)
PulpException: u'Repo cloning of [foo] failed'


Note You need to log in before you can comment on or make changes to this bug.