Bug #18523
closedhammer cli : hostgroup info is not showing content-related fields
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1313056
Description of problem:
Bug 1267629 raised the issue that content-related fields are not included as part of the API. This included fields such as the following:
"content_source_id": 1,
"content_source_name": "katello-centos7-devel",
"content_view_id": 1,
"content_view_name": "Default Organization View",
"lifecycle_environment_id": 1,
"lifecycle_environment_name": "Library",
That issue has since been addressed; however, the fields should also be visible from the hammer cli.
Version-Release number of selected component (if applicable):
Satellite 6.1 and prior.
How reproducible:
Always
Steps to Reproduce:
1. create a hostgroup that contains a content source, lifecycle environment and content view
2. perform a 'hammer hostgroup info --id [id]'
3.
Actual results:
hammer> hostgroup info --id 1
Id: 1
Name: group1
Title: group1
Puppet CA Proxy Id: 1
Puppet Master Proxy Id: 1
Puppetclasses:
Parameters:
Organizations:
Default Organization
Parent Id:
Expected results:
The output should include details on the content source, lifecycle environment and content view associated with the host group.
Additional info:
Updated by Amit Upadhye almost 8 years ago
- Pull request https://github.com/Katello/hammer-cli-katello/pull/479 added
Updated by Eric Helms almost 8 years ago
- Translation missing: en.field_release set to 211
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
Updated by Amit Upadhye almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|7ebdebd67126b8a2fbd808d0a0032c589e78e5a9.