Project

General

Profile

Bug #10771

Can't sync puppet forge repo

Added by John Mitsch over 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Trying to sync https://forge.puppetlabs.com/ as a product repo results in this server error

2015-06-10 11:39:35 [sql] [D] Katello::Repository Load (0.6ms) SELECT "katello_repositories".* FROM "katello_repositories" WHERE "ka
tello_repositories"."pulp_id" = 'Default_Organization-puppet_4-puppet_forge' ORDER BY katello_repositories.name ASC LIMIT 1
2015-06-10 11:39:35 [app] [E] Error in progress calculation
2015-06-10 11:39:35 [app] [E] undefined method `[]' for nil:NilClass (NoMethodError) | /home/vagrant/katello/app/lib/actions/pulp/repository/presenters/puppet_presenter.rb:32:in `total_count' | /home/vagrant/katello/app/lib/actions/pulp/repository/presenters/puppet_presenter.rb:7:in `progress' | /home/vagrant/katello/app/lib/actions/pulp/repository/sync.rb:36:in `run_progress' | /home/vagrant/.rvm/gems/ruby-1.9.3-p448/gems/dynflow-0.7.8/lib/dynflow/action/progress.rb:17:in `block in run'

Steps to reproduce

1. Content > Products

2. Click on the +New Product button.

3. Once the product is created, select the product and click the Create Repository
button. Fill out the form and add the repository URL https://forge.puppetlabs.com/

4. Navigate back to repository and click Sync Now

Associated revisions

Revision 1ce72cb8 (diff)
Added by Eric Helms over 6 years ago

Fixes #10771: Prevent errors during puppet repository syncing.

Revision 0dded7f4
Added by Eric Helms over 6 years ago

Merge pull request #5412 from ehelms/fixes-10771

Fixes #10771: Prevent errors during puppet repository syncing.

History

#1 Updated by Dominic Cleal over 6 years ago

  • Project changed from Foreman to Katello
  • Triaged set to No

#2 Updated by Eric Helms over 6 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

#3 Updated by Stephen Benjamin over 6 years ago

  • Priority changed from Normal to High

#4 Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5412 added
  • Pull request deleted ()

#5 Updated by Eric Helms over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF