Project

General

Profile

Bug #16823

exporting a CV with only a puppet repo results in error

Added by Chris Duryee over 5 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

If you attempt to export a CV version that does not contain any yum repos, it will result in an error.

For example:

$ hammer content-view version export --id 2
[Foreman] Password for admin: 
[.....................................................................................................................................................................................] [100%]
unknown file type: /var/lib/pulp/published/yum/master/group_export_distributor/Default_Organization-cv-v1.0
2016-10-06 11:09:44  [foreman-tasks/action] [E] unknown file type: /var/lib/pulp/published/yum/master/group_export_distributor/Default_Organization-cv-v1.0 (RuntimeError)
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:1386:in `copy'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:471:in `block in copy_entry'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:1497:in `call'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:1497:in `wrap_traverse'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:468:in `copy_entry'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:443:in `block in cp_r'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:1570:in `block in fu_each_src_dest'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:1584:in `fu_each_src_dest0'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:1568:in `fu_each_src_dest'
 | /opt/rh/rh-ruby22/root/usr/share/ruby/fileutils.rb:442:in `cp_r'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.3.0/app/lib/actions/katello/repository/export.rb:60:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-0.8.15/lib/dynflow/action.rb:506:in `block (3 levels) in execute_run'

History

#1 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) set to 114

#2 Updated by Dirk Götz 6 months ago

  • Triaged set to No
  • Status changed from New to Closed

Katello 4.0 has dropped pulp 2 and puppet content, so this issue is no longer relevant.

#3 Updated by James Jeffers 6 months ago

  • Triaged changed from No to Yes

Also available in: Atom PDF