Project

General

Profile

Bug #17389

Host created via hammer does not show the CV & Lifecycle Environment inherited from hostgroup

Added by Andrew Kofink over 5 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1391656
Description of problem:

If you create a host via hammer and inherit the CV and lifecycle environment
from the hostgroup, then when you edit the host in the UI, the CV and lifecycle
environments are blank.
Creating a host with the same settings via the GUI correctly pulls the CV
and lifecycle environment
Version-Release number of selected component (if applicable):
Satellite 6.2.2
How reproducible:
100%
Steps to Reproduce:
1. Create hostgroup, set lifecycle environment & CV
2. Create host via hammer setting hostgroup to the hostgroup
created in #1
3.
Actual results:
Edit the host in the GUI, and the CV & Lifecycle environments
will be blank
Expected results:
Edit the host in the GUI, and the CV & Lifecycle environments
will be populated with the values from the hostgroup it is a
part of.
Additional info:
A host created using the GUI will have the CV and Lifecycle Env
correctly populated.
Found a related resolved bz
- https://bugzilla.redhat.com/show_bug.cgi?id=1312157
- https://projects.theforeman.org/issues/13910

Related issues

Has duplicate Katello - Bug #17209: hammer host create doesn't inherit content_facet_attributes from hostgroupsResolved2016-11-03

History

#1 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Andrew Kofink
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/466 added

#2 Updated by Brad Buckingham over 5 years ago

  • Subject changed from Host created via hammer does not show the CV & Lifecycle Environment inherited from hostgroup to Host created via hammer does not show the CV & Lifecycle Environment inherited from hostgroup
  • Target version set to 140

#3 Updated by Andrew Kofink over 5 years ago

  • Target version changed from 140 to 147

#4 Updated by Eric Helms over 5 years ago

  • Status changed from Ready For Testing to Resolved
  • Legacy Backlogs Release (now unused) set to 166

#5 Updated by Eric Helms over 5 years ago

  • Bugzilla link deleted (1391656)

#6 Updated by Andrew Kofink over 5 years ago

  • Has duplicate Bug #17209: hammer host create doesn't inherit content_facet_attributes from hostgroups added

Also available in: Atom PDF