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.
Updated by Brad Buckingham over 7 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
Updated by The Foreman Bot over 7 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
Updated by Andrew Kofink over 7 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
Updated by Andrew Kofink over 7 years ago
- Status changed from Ready For Testing to Closed
Updated by Justin Sherrill over 7 years ago
- Status changed from Closed to Resolved
- Translation missing: en.field_release set to 166
Resolved by a newer foreman-tasks release