Project

Profile

Help

Issue #1296

[docker_v2_api] error while removing docker repo

Added by jluza about 5 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - Docker:
Platform Release:
Target Release - Docker:
2.0.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

So I got following traceback when I was trying to remove the docker repository:

"traceback": "Traceback (most recent call last):\n  File \"/usr/lib/python2.6/site-packages/celery-3.1.16-py2.6.egg/celery/app/trace.py\", line 240, in trace_task\n    R = retval = fun(*args, **kwargs)\n  File \"/home/brq/jluza/rcm-pulp/server/pulp/server/async/tasks.py\", line 328, in __call__\n    return super(Task, self).__call__(*args, **kwargs)\n  File \"/usr/lib/python2.6/site-packages/celery-3.1.16-py2.6.egg/celery/app/trace.py\", line 437, in __protected_call__\n    return self.run(*args, **kwargs)\n  File \"/home/brq/jluza/rcm-pulp/server/pulp/server/tasks/repository.py\", line 41, in delete\n    manager.delete_repo(repo_id)\n  File \"/home/brq/jluza/rcm-pulp/server/pulp/server/managers/repo/cud.py\", line 286, in delete_repo\n    raise pe\nPulpExecutionException: Pulp exception occurred: PulpExecutionException\n",
"worker_name": "reserved_resource_worker-1@rcm-pulp-02-dev.app.eng.bos.redhat.com"
"error": {
    "code": "PLP0000",
    "data": {},
    "description": "Pulp exception occurred: PulpExecutionException",
    "sub_errors": [
        {
            "code": "PLP0000",
            "data": {},
            "description": "get_master_publish_dir() takes exactly 3 arguments (2 given)",
            "sub_errors": []
        }
    ]
},

suggested fix:

https://github.com/midnightercz/pulp_docker/commit/c2b7a8deda7047a5c6f676dad1d9eb092fdfd8de

History

#1 Updated by mhrivnak about 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to rbarlow
  • Priority changed from Normal to High
  • Triaged changed from No to Yes

#2 Updated by rbarlow almost 5 years ago

  • Target Release - Docker set to 2.0.0

#3 Updated by rbarlow over 4 years ago

  • Status changed from ASSIGNED to 5

I attempted to verify this in the Fedora Rawhide build of Pulp, but was unable to do so due to a Docker core dump issue I filed: https://bugzilla.redhat.com/show_bug.cgi?id=1304062

On my Vagrant F23 environment it does seem that I can delete v1 (busybox) and v2 (registry) repos that have been published:

$ pulp-admin docker repo delete --repo-id busybox
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Repository [busybox] successfully deleted

[vagrant@dev ~]$ pulp-admin docker repo delete --repo-id registry
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Repository [registry] successfully deleted

#4 Updated by rbarlow over 4 years ago

  • Status changed from 5 to 6

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

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#7 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF