Bug 1313056
| Summary: | hammer cli : hostgroup info is not showing content-related fields | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Brad Buckingham <bbuckingham> |
| Component: | Hosts - Content | Assignee: | Partha Aji <paji> |
| Status: | CLOSED ERRATA | QA Contact: | jcallaha |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | bbuckingham, dlezzoum, inecas, jcallaha, paji, pcfe, rnuccite, zhunting |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-hammer_cli_katello-0.11.3.5-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-21 16:54:17 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
Brad Buckingham
2016-02-29 20:08:48 UTC
Moving 6.2 bugs out to sat-backlog. Moving 6.2 bugs out to sat-backlog. The issue raised by this bugzilla has been partially addressed by bug 1360136. That bug added the content view and lifecycle environment to hammer-cli-katello; however, it did not include content source. For completeness, we should also extend it to include content source. Created redmine issue http://projects.theforeman.org/issues/18523 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18523 has been resolved. verified and passed automation test on satellite 6.3.0 snap 3 Think the ids here are mandatory as without them we cannot understand from which organization we got the content view and lifecycle environment
as the --query-organization is used at creation stage and not shown/saved at later stage.
and even if with hammer --output="json" we cannot get that ids
Move to ASSIGNED as for more consistency the fields
- content_source_id
- content_view_id
- lifecycle_environment_id
are also needed.
Connecting redmine issue http://projects.theforeman.org/issues/21912 from this bug Upstream PR merged. Moving to POST. Verified in Satellite 6.3 Snap 35
-bash-4.2# hammer hostgroup info --id 1
Id: 1
Name: rhel74
Title: rhel74
Operating System: RHEL Server 7.4
Subnet: Default Subnet
Domain: idmqe.lab.eng.bos.redhat.com
Architecture: x86_64
Partition Table: Kickstart default
Puppet CA Proxy Id:
Puppet Master Proxy Id:
ComputeProfile: 2-Medium
Puppetclasses:
Parameters:
kt_activation_keys => rhel7
Locations:
Default Location
Organizations:
Default Organization
Parent Id:
OpenSCAP Proxy:
Content View:
ID: 2
Name: rhel7
Lifecycle Environment:
ID: 1
Name: Library
Content Source:
ID: 1
Name: yttrium.idmqe.lab.eng.bos.redhat.com
Kickstart Repository:
ID: 20
Name:
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/RHSA-2018:0336
|