Project

General

Profile

Actions

Bug #8606

closed

Listing puppet modules via api fails 'undefined method sync plan for :product:Symbol

Added by Justin Sherrill over 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Seen in the current nightly, but no in dev. Needs investigation.

✗ add puppet module to content view
(in test file fb-content-katello.bats, line 61)
`module_id=$(hammer -u admin -p changeme puppet-module list --repository-id=$repo_id | grep dummy | cut -d\| -f1)' failed
undefined method `sync_plan' for :product:Symbol

NoMethodError: undefined method `sync_plan' for :product:Symbol
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/views/katello/api/v2/repositories/show.json.rabl:45:in `block (2 levels) in eval_source'
/opt/rh/ruby193/root/usr/share/gems/gems/rabl-0.11.4/lib/rabl/builder.rb:152:in `call'

Actions #1

Updated by Justin Sherrill over 9 years ago

  • Assignee set to Justin Sherrill
Actions #2

Updated by Justin Sherrill over 9 years ago

  • Status changed from New to Assigned
Actions #3

Updated by Justin Sherrill over 9 years ago

To reproduce, just run:

hammer -u admin -p changeme puppet-module list

Actions #4

Updated by Justin Sherrill over 9 years ago

  • Subject changed from Adding puppet module to a content view fails 'undefined method sync plan for :product:Symbol to Listing puppet modules via api fails 'undefined method sync plan for :product:Symbol
Actions #5

Updated by The Foreman Bot over 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/4859 added
  • Pull request deleted ()
Actions #6

Updated by Justin Sherrill over 9 years ago

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

Also available in: Atom PDF