Project

General

Profile

Actions

Bug #9733

closed

Puppet module with symlink is not being uploaded, but no error is given.

Added by Leah Fisher over 9 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

I tried to upload https://forge.puppetlabs.com/ikoula/wp_apache_nfs and https://forge.puppetlabs.com/haraldsk/nfs into my katello puppet module repo. These failed silently as katello told me they were uploaded successfuly.

Actions #1

Updated by Justin Sherrill over 9 years ago

Turns out the issue was because the module had a symlink in it and pulp failed to import it with an error. Katello did not indicate there was an error though!

pulp error:

Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:     sub_dir = _find_file_in_dir(file_or_dir, filename)
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:   File "/usr/lib/python2.6/site-packages/pulp_puppet/plugins/importers/metadata.py", line 224, in _find_file_in_dir
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:     sub_dir = _find_file_in_dir(file_or_dir, filename)
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:   File "/usr/lib/python2.6/site-packages/pulp_puppet/plugins/importers/metadata.py", line 224, in _find_file_in_dir
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:     sub_dir = _find_file_in_dir(file_or_dir, filename)
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:   File "/usr/lib/python2.6/site-packages/pulp_puppet/plugins/importers/metadata.py", line 224, in _find_file_in_dir
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:     sub_dir = _find_file_in_dir(file_or_dir, filename)
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:   File "/usr/lib/python2.6/site-packages/pulp_puppet/plugins/importers/metadata.py", line 224, in _find_file_in_dir
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:     sub_dir = _find_file_in_dir(file_or_dir, filename)
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:   File "/usr/lib/python2.6/site-packages/pulp_puppet/plugins/importers/metadata.py", line 224, in _find_file_in_dir
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:     sub_dir = _find_file_in_dir(file_or_dir, filename)
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:   File "/usr/lib/python2.6/site-packages/pulp_puppet/plugins/importers/metadata.py", line 218, in _find_file_in_dir
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR:     for found in os.listdir(dir):
Mar 12 13:40:11 box pulp: pulp_puppet.plugins.importers.importer:ERROR: OSError: [Errno 2] No such file or directory: '/var/lib/pulp/working/repos/Default_Organization-myproduct-puppet/importers/puppet_importer/tmpjod9Rx/haraldsk-nfs-1.1.1/spec/fixtures/modules/nfs/files'
Mar 12 13:40:11 box pulp: celery.worker.job:INFO: Task pulp.server.managers.content.upload.import_uploaded_unit[ef2e3bbc-3202-46ee-83a3-d6d7a31b72d9] succeeded in 0.0985451119996s: {'details': {}, 'success_flag': False, 'summary': ''}
Actions #2

Updated by Eric Helms over 9 years ago

  • Translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #3

Updated by Stephen Benjamin over 9 years ago

  • Translation missing: en.field_release changed from 31 to 70
Actions #5

Updated by Justin Sherrill almost 9 years ago

  • Translation missing: en.field_release changed from 70 to 86
Actions #6

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release changed from 86 to 143
Actions #7

Updated by Justin Sherrill over 8 years ago

  • Subject changed from Puppet module is not being uploaded to Puppet module with symlink is not being uploaded, but no error is given.
  • Category set to 89
  • Status changed from New to Resolved
  • Assignee set to Justin Sherrill
  • Difficulty set to medium

Pulp issue with handling modules with a symlink: https://pulp.plan.io/issues/755

In katello 3.1.0 pulp now properly returns errors that katello can parse and we now warn the user. Since this is resolved and there is nothing for katello to do for https://pulp.plan.io/issues/755 I will mark this as resolved.

Actions

Also available in: Atom PDF