Bug #17692
closedhammer repository-set available-repositories: "private method `select' called for nil:NilClass"
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 jhutar@redhat.com
--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"
- 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.