Bug 1213097
Summary: | Creating content-view with repository name does not work | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Johan Swensson <jswensso> |
Component: | Hammer | Assignee: | Adam Ruzicka <aruzicka> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | bbuckingham, bkearney, cwelton, kabbott, lpramuk, mmccune, stkachen |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/14068 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:05:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Johan Swensson
2015-04-18 20:50:49 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Created redmine issue http://projects.theforeman.org/issues/14068 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/14068 has been closed ------------- Anonymous Applied in changeset commit:hammer-cli-katello|80f7b892cc02ba4b50da6ce06a29eda6f7023211. *** Bug 1254977 has been marked as a duplicate of this bug. *** VERIFIED. @Sat6.2.0-Snap10.1 tfm-rubygem-hammer_cli_katello-0.0.22.8-1.el7sat.noarch used reproducer in comment #0: # hammer repository list --organization-id 1 ---|--------------------------|----------------|--------------|------ ID | NAME | PRODUCT | CONTENT TYPE | URL ---|--------------------------|----------------|--------------|------ 2 | Satellite 6.2-Beta RHEL7 | Custom Product | yum | <URL> 1 | Satellite 6.1.8 RHEL7 | Custom Product | yum | <URL> ---|--------------------------|----------------|--------------|------ # hammer content-view create --name Satellites --product 'Custom Product' --repositories 'Satellite 6.2-Beta RHEL7,Satellite 6.1.8 RHEL7' --organization-id 1 Content view created # hammer content-view create --name Satellites-Ids --repository-ids 1,2 --organization-id 1 Content view created # hammer content-view list --organization-id 1 ----------------|---------------------------|---------------------------|-----------|--------------- CONTENT VIEW ID | NAME | LABEL | COMPOSITE | REPOSITORY IDS ----------------|---------------------------|---------------------------|-----------|--------------- 4 | Satellites-Ids | Satellites-Ids | | 1, 2 3 | Satellites | Satellites | | 1, 2 1 | Default Organization View | Default_Organization_View | | ----------------|---------------------------|---------------------------|-----------|--------------- >>> both CVs have the specified repos added >>> Now you can associate a repsitories by names but you have to specify one additional param --product(-id) as repo names are not unique Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501 |