Project

General

Profile

Actions

Bug #14068

closed

Creating content-view with repository name does not work

Added by Adam Ruzicka about 8 years ago. Updated almost 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1213097
Description of problem:
Creating a repository and specifying repositories does not work.

Version-Release number of selected component (if applicable):
6.1.0

How reproducible:
100%

Steps to Reproduce:

[root@satellite ~]# hammer repository list --organization Lab
---|---------------|-------------|--------------|---------------------------------------------
ID | NAME | PRODUCT | CONTENT TYPE | URL
---|---------------|-------------|--------------|---------------------------------------------
2 | rhel7-common | rhel7Server | yum | http://192.168.100.1/cdn/repos/rhel7-common/
1 | rhel7-updates | rhel7Server | yum | http://192.168.100.1/cdn/repos/rhel7Server/
---|---------------|-------------|--------------|---------------------------------------------

[root@satellite ~]# hammer content-view create --name RHEL7 --repositories rhel7-updates,rhel7-common --organization Lab
Content view created
[root@satellite ~]# hammer content-view create --name RHEL7-b --repository-ids 1,2 --organization Lab
Content view created

[root@satellite ~]# hammer content-view list --organization Lab
----------------|---------------------------|--------------------------------------|-----------|---------------
CONTENT VIEW ID | NAME | LABEL | COMPOSITE | REPOSITORY IDS
----------------|---------------------------|--------------------------------------|-----------|---------------
2 | Default Organization View | 4fe07366-b798-4a63-997d-b9f143444797 | |
7 | RHEL7 | RHEL7 | |
6 | RHEL7-b | RHEL7-b | | 1, 2
----------------|---------------------------|--------------------------------------|-----------|---------------

Actual results:
Content view created but the repos are not added.

Expected results:
The repos should be added.

Additional info:

Actions #1

Updated by Adam Ruzicka about 8 years ago

  • Assignee set to Adam Ruzicka
Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/360 added
Actions #3

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions #4

Updated by Anonymous about 8 years ago

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

Also available in: Atom PDF