Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem: In automation, we created a hostgroup with lifecycle environment. Hostgroup was created successfully but when we checked the info of hostgroup, we did not find the associated lifecycle environment. Same issue is with creating hostgroup with content-view.
2016-07-26 11:25:10 - robottelo.ssh - DEBUG - >>> m] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv hostgroup create --lifecycle-environment="C9Hafk" --organization-id="16" --name="FheyUd"
Message,Id,Name
Hostgroup created,1,FheyUd
2016-07-26 11:25:15 - robottelo.ssh - DEBUG - >>> [] LANG=en_US.UTF-8 hammer -v -u admin -p changeme hostgroup info --id="1"
Id: 1
Name: FheyUd
Title: FheyUd
Puppet CA Proxy Id:
Puppet Master Proxy Id:
Puppetclasses:
Parameters:
Organizations:
xxLCT7
Parent Id:
Version-Release number of selected component (if applicable):
sat62 GA snap21.1
How reproducible:
Steps to Reproduce:
1. create hostgroup with cv and lifecycle environment.
2. check hostgroup info
3.
Actual results:
Expected results:
Hostgroup info should show associated cv and lifecycle-environment
Additional info:
It worked on sat 6.3.0 snap 6:
hammer> hostgroup list
---|--------|--------|------------------|-------------|------
ID | NAME | TITLE | OPERATING SYSTEM | ENVIRONMENT | MODEL
---|--------|--------|------------------|-------------|------
1 | hgroup | hgroup | | |
---|--------|--------|------------------|-------------|------
hammer> hostgroup info --id 1
Id: 1
Name: hgroup
Title: hgroup
Puppet CA Proxy Id:
Puppet Master Proxy Id:
Puppetclasses:
Parameters:
Organizations:
Default Organization
Parent Id:
Content View: FooContentView
Lifecycle Environment: EnvTest
So I am moving this bug to VERIFIED
Comment 10Satellite Program
2018-02-21 16:49:54 UTC
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
Description of problem: In automation, we created a hostgroup with lifecycle environment. Hostgroup was created successfully but when we checked the info of hostgroup, we did not find the associated lifecycle environment. Same issue is with creating hostgroup with content-view. 2016-07-26 11:25:10 - robottelo.ssh - DEBUG - >>> m] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv hostgroup create --lifecycle-environment="C9Hafk" --organization-id="16" --name="FheyUd" Message,Id,Name Hostgroup created,1,FheyUd 2016-07-26 11:25:15 - robottelo.ssh - DEBUG - >>> [] LANG=en_US.UTF-8 hammer -v -u admin -p changeme hostgroup info --id="1" Id: 1 Name: FheyUd Title: FheyUd Puppet CA Proxy Id: Puppet Master Proxy Id: Puppetclasses: Parameters: Organizations: xxLCT7 Parent Id: Version-Release number of selected component (if applicable): sat62 GA snap21.1 How reproducible: Steps to Reproduce: 1. create hostgroup with cv and lifecycle environment. 2. check hostgroup info 3. Actual results: Expected results: Hostgroup info should show associated cv and lifecycle-environment Additional info: