Project

Profile

Help

Issue #3208

Updated by ttereshc almost 7 years ago

The problem appears while POSTing to import the upload to the repository. 

 POST command:  

 <pre> 
   

  curl -kvvv -X POST --user admin:admin -d '{"unit_type_id":"docker_image","upload_id":"0bdb1309-f056-417d-a3e4-7b962108cdf9","unit_key": {}}' https://httpd-pulp.127.0.0.1.nip.io/pulp/api/v2/repositories/test-v1/actions/import_upload/ 
 </pre> 


 <pre> 
 Operations:         import_upload 
 Resources:          test-v1 (repository) 
 State:              Failed 
 Start Time:         2017-12-15T16:14:34Z 
 Finish Time:        2017-12-15T16:14:35Z 
 Result:             N/A 
 Task Id:            86d99743-0947-4876-9509-9a2bd183762f 
 Progress Report:   
 Traceback:          Traceback (most recent call last):     File 
                   "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 
                   367, in trace_task       R = retval = fun(*args, **kwargs)   
                   File 
                   "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", 
                   line 529, in __call__       return super(Task, 
                   self).__call__(*args, **kwargs)     File 
                   "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", 
                   line 107, in __call__       return super(PulpTask, 
                   self).__call__(*args, **kwargs)     File 
                   "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 
                   622, in __protected_call__       return self.run(*args, 
                   **kwargs)     File 
                   "/usr/lib/python2.7/site-packages/pulp/server/managers/content 
                   /upload.py", line 223, in import_uploaded_unit     
                   unit_type=unit_type_id, summary=result['summary'], 
                   details=result['details'] PulpCodedException: The importer 
                   docker_importer indicated a failed response when uploading 
                   docker_image unit to repository test-v1. 
 </pre>  

Back