Project

General

Profile

Actions

Bug #17692

closed

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

Added by Brad Buckingham almost 8 years ago. Updated about 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

Also available in: Atom PDF