Project

Profile

Help

Issue #1672

Updated by rbarlow almost 9 years ago

Ran into this whenn syncing repos to a capsule with Katello. 

 This is a pulp --> pulp sync 

 Using pulp-server-2.8.0-0.5.beta.git.59.f7eb659.el7.noarch 

 <pre> 
 Feb 12 12:38:57 katello-client1 pulp: pulp.server.async.tasks:INFO: Task failed : [f67f871f-c996-4f96-8179-5eaa2c21308b] 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216) Task pulp.server.managers.repo.sync.sync[f67f871f-c996-4f96-8179-5eaa2c21308b] raised unexpected: TypeError("'StringField' object is not callable",) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216) Traceback (most recent call last): 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       R = retval = fun(*args, **kwargs) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 473, in __call__ 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       return super(Task, self).__call__(*args, **kwargs) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__ 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       return super(PulpTask, self).__call__(*args, **kwargs) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__ 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       return self.run(*args, **kwargs) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 757, in sync 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       sync_report = sync_repo(transfer_repo, conduit, call_config) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 658, in wrap_f 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       return f(*args, **kwargs) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp_docker/plugins/importers/importer.py", line 85, in sync_repo 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       return self.sync_step.process_lifecycle() 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 562, in process_lifecycle 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       super(PluginStep, self).process_lifecycle() 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 159, in process_lifecycle 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       step.process() 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 249, in process 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       self._process_block() 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py", line 293, in _process_block 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       self.process_main() 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp_docker/plugins/importers/sync.py", line 226, in process_main 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       digest, manifest = self.parent.index_repository.get_manifest(tag) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)     File "/usr/lib/python2.7/site-packages/pulp_docker/plugins/registry.py", line 369, in get_manifest 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216)       digest = models.Manifest.digest(manifest) 
 Feb 12 12:38:57 katello-client1 pulp: celery.worker.job:ERROR: (7328-45216) TypeError: 'StringField' object is not callable 
 </pre> 

 <pre> 
 


 {"pulp_tasks"=> 
   [{"exception"=>nil, 
     "task_type"=>"pulp.server.managers.repo.sync.sync", 
     "_href"=>"/pulp/api/v2/tasks/ded8c58f-7e35-4660-ad9d-53f711327c24/", 
     "task_id"=>"ded8c58f-7e35-4660-ad9d-53f711327c24", 
     "tags"=> 
      ["pulp:repository:default_organization-library-cv2-prod1-mybusybox", 
       "pulp:action:sync"], 
     "finish_time"=>"2016-02-12T18:38:10Z", 
     "_ns"=>"task_status", 
     "start_time"=>"2016-02-12T18:38:10Z", 
     "traceback"=> 
      "Traceback (most recent call last):\n    File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n      R = retval = fun(*args, **kwargs)\n    File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 473, in __call__\n      return super(Task, self).__call__(*args, **kwargs)\n    File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 103, in __call__\n      return super(PulpTask, self).__call__(*args, **kwargs)\n    File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n      return self.run(*args, **kwargs)\n    File \"/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py\", line 757, in sync\n      sync_report = sync_repo(transfer_repo, conduit, call_config)\n    File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 658, in wrap_f\n      return f(*args, **kwargs)\n    File \"/usr/lib/python2.7/site-packages/pulp_docker/plugins/importers/importer.py\", line 85, in sync_repo\n      return self.sync_step.process_lifecycle()\n    File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 562, in process_lifecycle\n      super(PluginStep, self).process_lifecycle()\n    File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 159, in process_lifecycle\n      step.process()\n    File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 249, in process\n      self._process_block()\n    File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 293, in _process_block\n      self.process_main()\n    File \"/usr/lib/python2.7/site-packages/pulp_docker/plugins/importers/sync.py\", line 226, in process_main\n      digest, manifest = self.parent.index_repository.get_manifest(tag)\n    File \"/usr/lib/python2.7/site-packages/pulp_docker/plugins/registry.py\", line 369, in get_manifest\n      digest = models.Manifest.digest(manifest)\nTypeError: 'StringField' object is not callable\n", 
     "spawned_tasks"=>[], 
     "progress_report"=> 
      {"docker_importer"=> 
        [{"num_success"=>0, 
          "description"=>"Downloading manifests", 
          "step_type"=>"sync_step_metadata", 
          "items_total"=>1, 
          "state"=>"FAILED", 
          "error_details"=> 
           [{"traceback"=> 
              "    File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 249, in process\n      self._process_block()\n\n    File \"/usr/lib/python2.7/site-packages/pulp/plugins/util/publish_step.py\", line 293, in _process_block\n      self.process_main()\n\n    File \"/usr/lib/python2.7/site-packages/pulp_docker/plugins/importers/sync.py\", line 226, in process_main\n      digest, manifest = self.parent.index_repository.get_manifest(tag)\n\n    File \"/usr/lib/python2.7/site-packages/pulp_docker/plugins/registry.py\", line 369, in get_manifest\n      digest = models.Manifest.digest(manifest)\n", 
             "error"=>"'StringField' object is not callable"}], 
          "details"=>"", 
          "num_failures"=>1, 
          "step_id"=>"ff525d76-5fba-4a92-8662-67719add2bd9", 
          "num_processed"=>1}, 
         {"num_success"=>0, 
          "description"=>"Copying units already in pulp", 
          "step_type"=>"get_local", 
          "items_total"=>1, 
          "state"=>"NOT_STARTED", 
          "error_details"=>[], 
          "details"=>"", 
          "num_failures"=>0, 
          "step_id"=>"7a9ced37-6502-4104-87ae-fe38d3fbae10", 
          "num_processed"=>0}, 
         {"num_success"=>0, 
          "description"=>"Copying units already in pulp", 
          "step_type"=>"get_local", 
          "items_total"=>1, 
          "state"=>"NOT_STARTED", 
          "error_details"=>[], 
          "details"=>"", 
          "num_failures"=>0, 
          "step_id"=>"44dcc2eb-5833-4f39-93e2-8e577a7cf6be", 
          "num_processed"=>0}, 
         {"num_success"=>0, 
          "description"=>"Downloading remote files", 
          "step_type"=>"sync_step_download", 
          "items_total"=>1, 
          "state"=>"NOT_STARTED", 
          "error_details"=>[], 
          "details"=>"", 
          "num_failures"=>0, 
          "step_id"=>"2a24a401-9f70-4804-a11d-4133fc5d3253", 
          "num_processed"=>0}, 
         {"num_success"=>0, 
          "description"=>"Saving Manifests and Blobs", 
          "step_type"=>"sync_step_save", 
          "items_total"=>1, 
          "state"=>"NOT_STARTED", 
          "error_details"=>[], 
          "details"=>"", 
          "num_failures"=>0, 
          "step_id"=>"383566c4-56fd-472b-9098-f3285c749995", 
          "num_processed"=>0}, 
         {"num_success"=>0, 
          "description"=>"Saving Tags", 
          "step_type"=>"sync_step_save", 
          "items_total"=>1, 
          "state"=>"NOT_STARTED", 
          "error_details"=>[], 
          "details"=>"", 
          "num_failures"=>0, 
          "step_id"=>"f979250d-008d-43c7-bd1f-0442d1ff7899", 
          "num_processed"=>0}]}, 
     "queue"=>"reserved_resource_worker-0@katello-client1.example.com.dq", 
     "state"=>"error", 
     "worker_name"=>"reserved_resource_worker-0@katello-client1.example.com", 
     "result"=>nil, 
     "error"=> 
      {"code"=>"PLP0000", 
       "data"=>{}, 
       "description"=>"'StringField' object is not callable", 
       "sub_errors"=>[]}, 
     "_id"=>{"$oid"=>"56be268768410d4c8373ce90"}, 
     "id"=>"56be268768410d4c8373ce90"}], 
  "poll_attempts"=>{"total"=>5, "failed"=>0}} 
 </pre>

Back