Project

General

Profile

Bug #23341

hammer repository-set enable doesn't work

Added by Christine Fouant over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

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

Description of problem:
Whenever I try to enable a Red Hat repository using hammer I get

Could not enable repository:
One of parameters [ organization_id ] required but not specified

Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli-0.11.0.1-1.el7sat.noarch

How reproducible:
hammer repository-set enable --product-id "2472" --basearch "x86_64" --releasever "7server" --name "Red Hat Enterprise Linux Server" --organization-id "1"

Steps to Reproduce:
1.
2.
3.

Actual results:
Could not enable repository:
One of parameters [ organization_id ] required but not specified

Expected results:
Successfully enabled repository

Additional info:

Associated revisions

Revision 3b35e474 (diff)
Added by Christine Fouant about 3 years ago

fixes #23341 - fixes error handling for missing products

History

#1 Updated by The Foreman Bot over 3 years ago

  • Assignee set to Christine Fouant
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7330 added

#2 Updated by Jonathon Turel over 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

Not a release blocker..

#3 Updated by Christine Fouant about 3 years ago

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

Also available in: Atom PDF