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.
Bug 1130708 - root password not inherited from host group
Summary: root password not inherited from host group
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Ohad Levy
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-16 16:17 UTC by David Juran
Modified: 2017-02-23 21:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-19 11:30:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Juran 2014-08-16 16:17:49 UTC
Description of problem:
I've noticed that when creating a host from a host-group where the root password is filled in, I still need to enter it manually when creating the host.


How reproducible:
Every time

Steps to Reproduce:
1. Create host group with root password filled in
2. Create host from group above
3. Note how you still need to fill in the password when creating the host

Comment 1 RHEL Program Management 2014-08-16 16:22:54 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2014-08-18 08:10:53 UTC
Can you describe precisely why "you need to"?  Is an error shown in the web UI if you save the host?

Comment 4 David Juran 2014-08-18 13:55:02 UTC
Sorry, I should have clarified my urges (-:

Yes, if I click submit, I'm thrown back into the host creation dialogue and the root password is highlighted in red saying

"should be 8 characters or more and should not be blank - consider setting a global or host group default"

(Which is kind of ironic now that I think of it...)

The same message is also repeated in /var/log/foreman/production.log

Comment 5 Dominic Cleal 2014-08-18 14:56:08 UTC
I'm struggling to reproduce this in any way.  Could you run: sudo -u foreman psql -c 'select id,title,root_pass from hostgroups;' to list what's stored in the DB.  Perhaps also try editing the host group again and ensure the password is set.

Comment 6 David Juran 2014-08-19 11:30:25 UTC
I hope this wasn't just me being silly but after (re?)-entering the password into the host group, I was able to create the host just fine.


Note You need to log in before you can comment on or make changes to this bug.