Bug #14068
closedCreating content-view with repository name does not work
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:
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/360 added
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|80f7b892cc02ba4b50da6ce06a29eda6f7023211.