Project

General

Profile

Actions

Bug #17389

closed

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

Added by Andrew Kofink over 7 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 1 (0 open1 closed)

Has duplicate Katello - Bug #17209: hammer host create doesn't inherit content_facet_attributes from hostgroupsResolvedJustin Sherrill11/03/2016Actions
Actions #1

Updated by The Foreman Bot over 7 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
Actions #2

Updated by Brad Buckingham over 7 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
Actions #3

Updated by Andrew Kofink over 7 years ago

  • Target version changed from 140 to 147
Actions #4

Updated by Eric Helms over 7 years ago

  • Status changed from Ready For Testing to Resolved
  • translation missing: en.field_release set to 166
Actions #5

Updated by Eric Helms over 7 years ago

  • Bugzilla link deleted (1391656)
Actions #6

Updated by Andrew Kofink over 7 years ago

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

Also available in: Atom PDF