Project

General

Profile

Actions

Bug #4323

closed

Katello: Adding a new repository after issuing "katello create repo --org=XXX --product=XXX --name=XXX" adding further repos fail with 400 Bad Request.

Added by Dave Hatton about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Added a repo using (Note that name and product are the same)

katello create repo --org=XXX --product=XXX --name=XXX

Adding further repos fail with "400 Bad Request"

Removal of the repo XXX allows further repos to be added normally

Using the following works fine

katello create repo --org=XXX --product=XXX --name=XXX-yyy

Actions #1

Updated by Dominic Cleal about 10 years ago

  • Project changed from Foreman to Katello
Actions #2

Updated by Justin Sherrill almost 10 years ago

  • translation missing: en.field_release set to 13
  • Triaged set to No
Actions #3

Updated by Eric Helms almost 10 years ago

  • Category set to Hammer
  • Target version set to 45
  • Triaged changed from No to Yes
Actions #4

Updated by Eric Helms almost 10 years ago

  • Target version changed from 45 to 48
Actions #5

Updated by Eric Helms almost 10 years ago

  • Status changed from New to Closed

Testing with latest Katello CLI this does not appear to be an issue. Please re-open if you are still seeing it.

Actions #6

Updated by Partha Aji almost 10 years ago

Looks like fixed. Closing.
$ hammer repository create --product=foo --name=spoo --organization-id=1 --content-type=yum
Repository created

$ hammer repository list --organization-id=1
---|------|---------|-------------
ID | NAME | PRODUCT | CONTENT TYPE
---|------|---------|-------------
2 | spoo | foo | yum
---|------|---------|-------------

Actions

Also available in: Atom PDF