Project

General

Profile

Actions

Bug #17692

closed

hammer repository-set available-repositories: "private method `select' called for nil:NilClass"

Added by Brad Buckingham about 8 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1400826

Description of problem:
hammer repository-set available-repositories: "private method `select' called for nil:NilClass"

Version-Release number of selected component (if applicable):
satellite-6.2.5-1.0.el7sat.noarch

How reproducible:
always on my setup

Steps to Reproduce:
1. Installed satellite, then reinstalled it with: # satellite-installer --scenario satellite
--foreman-admin-email
--foreman-admin-username admin
--foreman-admin-password <pass>
--reset --clear-pulp-content
2. Upload manifest via hammer
3. # hammer --debug --csv --username admin --password <pass>
repository-set available-repositories
--product "Red Hat Satellite Capsule"
--name "Red Hat Satellite Capsule 6.2 (for RHEL 7 Server) (RPMs)"
--organization "Default Organization"

Actual results:
  1. hammer --csv --username admin --password <pass> repository-set available-repositories --product "Red Hat Satellite Capsule" --name "Red Hat Satellite Capsule 6.2 (for RHEL 7 Server) (RPMs)" --organization "Default Organization"
    private method `select' called for nil:NilClass

Expected results:
Should work or provide helpful error message

Additional note:

Refreshing manifest helped to resolve underlying issue, but note that this bug is about providing reasonably good error message.

See bugzilla for logs.

Actions #1

Updated by Brad Buckingham about 8 years ago

  • Subject changed from hammer repository-set available-repositories: "private method `select' called for nil:NilClass" to hammer repository-set available-repositories: "private method `select' called for nil:NilClass"
  • Translation missing: en.field_release set to 114
Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Andrew Kofink
  • Translation missing: en.field_release deleted (114)
  • Pull request https://github.com/Katello/katello/pull/6531 added
Actions #3

Updated by Andrew Kofink about 8 years ago

  • Target version set to 157
Actions #4

Updated by Andrew Kofink about 8 years ago

  • Pull request https://github.com/theforeman/foreman-tasks/pull/31 added
  • Pull request deleted (https://github.com/Katello/katello/pull/6531)

Fixed in foreman-tasks >= v.0.8.1

Actions #5

Updated by Andrew Kofink about 8 years ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by Justin Sherrill about 8 years ago

  • Status changed from Closed to Resolved
  • Translation missing: en.field_release set to 166

Resolved by a newer foreman-tasks release

Actions

Also available in: Atom PDF