Project

General

Profile

Bug #4323

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 over 5 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
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

History

#1 Updated by Dominic Cleal over 5 years ago

  • Project changed from Foreman to Katello

#2 Updated by Justin Sherrill about 5 years ago

  • Legacy Backlogs Release (now unused) set to 13
  • Triaged set to No

#3 Updated by Eric Helms about 5 years ago

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

#4 Updated by Eric Helms about 5 years ago

  • Target version changed from 45 to 48

#5 Updated by Eric Helms about 5 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.

#6 Updated by Partha Aji about 5 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
---|------|---------|-------------

Also available in: Atom PDF