Puppet module shows a successful upload but the module was not uploaded

Solution Verified - Updated -

Issue

  • When trying to upload a module via hammer or Satellite Gui, the satellite will successfully complete the task, but no module will be uploaded.
Sep 11 09:19:38 hostname pulp: pulp_puppet.plugins.importers.importer:ERROR: (31619-56736) Invalid properties: ['/var/lib/pulp/uploads/d2a49c53-944c-4786-99fb-f7670705780d']

Sep 11 09:19:38 hostname pulp: pulp_puppet.plugins.importers.importer:ERROR: (31619-56736)     metadata = _extract_non_standard_json(filename, temp_dir)
Sep 11 09:19:38 hostname pulp: pulp_puppet.plugins.importers.importer:ERROR: (31619-56736)   File "/usr/lib/python2.6/site-packages/pulp_puppet/plugins/importers/metadata.py", line 156, in _extract_non_standard_json
Sep 11 09:19:38 hostname pulp: pulp_puppet.plugins.importers.importer:ERROR: (31619-56736)     tgz = tarfile.open(name=filename)
Sep 11 09:19:38 hostname pulp: pulp_puppet.plugins.importers.importer:ERROR: (31619-56736)   File "/usr/lib64/python2.6/tarfile.py", line 1657, in open
Sep 11 09:19:38 hostname pulp: pulp_puppet.plugins.importers.importer:ERROR: (31619-56736)     raise ReadError("file could not be opened successfully")
Sep 11 09:19:38 hostname pulp: pulp_puppet.plugins.importers.importer:ERROR: (31619-56736) InvalidTarball: Invalid properties: ['/var/lib/pulp/uploads/d2a49c53-944c-4786-99fb-f7670705780d']
Sep 11 09:19:38 hostname pulp: celery.worker.job:INFO: Task pulp.server.async.tasks._queue_reserved_task[a58dd1e8-d791-488b-906b-beabcb7ed6ec] succeeded in 0.0362040550099s: None

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.