Project

Profile

Help

Issue #1624

Repo sync with --retain-old-count is failing

Added by pthomas@redhat.com almost 5 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

If you have a repo created with --retain-old-count , repo sync seems to be failing

[root@sparks ~]#  pulp-admin rpm repo create --repo-id=repo_1   --feed=http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/pulp_unittest/ --retain-old-count 2
Successfully created repository [repo_1]

[root@sparks ~]# pulp-admin rpm repo sync run --repo-id=repo_1+----------------------------------------------------------------------+
                   Synchronizing Repository [repo_1]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[\]

Task Failed

Importer indicated a failed response

Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848) Task pulp.server.managers.repo.sync.sync[c132617a-e1d1-46d8-a0b4-f5842fece339] raised unexpected: PulpExecutionException('Importer indicated a failed response',)
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848) Traceback (most recent call last):
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)     R = retval = fun(*args, **kwargs)
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 473, in __call__
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)     return super(Task, self).__call__(*args, **kwargs)
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)     return super(PulpTask, self).__call__(*args, **kwargs)
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)     return self.run(*args, **kwargs)
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 803, in sync
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848)     raise pulp_exceptions.PulpExecutionException(_('Importer indicated a failed response'))
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:ERROR: (29565-26848) PulpExecutionException: Importer indicated a failed response
Feb 02 15:28:49 sparks.idmqe.lab.eng.bos.redhat.com pulp[29565]: celery.worker.job:INFO: Task pulp.server.async.tasks._release_resource[1458060a-51f8-4717-a904-48bc94a4f600] succeeded in 0.0310912069981s: None

Associated revisions

Revision 353f7c7b View on GitHub
Added by ipanova@redhat.com almost 5 years ago

1624 - Repo sync with --retain-old-count is failing

closes #1624 https://pulp.plan.io/issues/1624

History

#1 Updated by jortel@redhat.com almost 5 years ago

  • Severity changed from 2. Medium to 3. High
  • Platform Release set to 2.8.0
  • Triaged changed from No to Yes

#2 Updated by jortel@redhat.com almost 5 years ago

  • Status changed from NEW to CLOSED - DUPLICATE

#3 Updated by jortel@redhat.com almost 5 years ago

  • Status changed from CLOSED - DUPLICATE to NEW

Correction. They are different options.

#4 Updated by ipanova@redhat.com almost 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ipanova@redhat.com

#5 Updated by ipanova@redhat.com almost 5 years ago

  • Status changed from ASSIGNED to POST

#6 Updated by ipanova@redhat.com almost 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by dkliban@redhat.com almost 5 years ago

  • Status changed from MODIFIED to 5

#8 Updated by pthomas@redhat.com over 4 years ago

  • Status changed from 5 to 6

verified

[root@mgmt5 ~]# pulp-admin rpm repo update --repo-id zoo --retain-old-count 1
Repository [zoo] successfully updated

[root@mgmt5 ~]# pulp-admin rpm repo sync run --repo-id zoo
--------------------------------------------------------------------
Synchronizing Repository [zoo]
--------------------------------------------------------------------

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[\]
... completed

Downloading repository content...
[-]
[==================================================] 100%
RPMs: 0/0 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed

Importing errata...
[-]
... completed

Importing package groups/categories...
[-]
... completed

Cleaning duplicate packages...
[-]
... completed

Task Succeeded

Copying files
[-]
... completed

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[-]
... completed

Publishing Delta RPMs
... skipped

Publishing Errata
[==================================================] 100%
4 of 4 items
... completed

Publishing Comps file
[==================================================] 100%
3 of 3 items
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

#9 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#11 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF