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.

Bug 1198015

Summary: katello-installer should show option to enable BMC on smart-proxy
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: InstallationAssignee: Stephen Benjamin <stbenjam>
Status: CLOSED CURRENTRELEASE QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, daobrien, lzap
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9743
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 13:55:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sachin Ghai 2015-03-03 08:42:31 UTC
Description of problem:
To configure bmc interface, this needs to be enabled on smart-proxy. Currently katello-installer doesn't show any option to enable BMC feature on smart-proxy

[root@dhcp207-190 ~]# katello-installer  --foreman-proxy-bmc
ERROR: Unrecognised option '--foreman-proxy-bmc'

See: 'katello-installer --help'
[root@dhcp207-190 ~]# katello-installer -h | grep bmc

we can enable it manually from:

/etc/foreman-proxy/settings.d/bmc.yml

Version-Release number of selected component (if applicable):
Sat6.1 beta snap4 compose2
Satellite-6.1.0-RHEL-6-20150225.0


How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
katello-installer should show option to enable BMC on smart-proxy

Additional info:

Comment 2 David O'Brien 2015-03-05 06:48:20 UTC
The draft doc contains this:

To enable BMC power management as part of the installation process, add the following lines to the capsule-installer command:

--bmc "enabled"\
--bmc_default_provider "freeipmi"


Does this only work for the Sat Server and not for Capsule?

Comment 3 Lukas Zapletal 2015-03-10 16:49:20 UTC
For the record upstream has those flags, we only need to expose them:

[root@fsix ~]# foreman-installer --help  | grep bmc
    --foreman-proxy-bmc           Enable BMC feature (default: false)
    --foreman-proxy-bmc-default-provider  BMC default provider. (default: "ipmitool")
    --foreman-proxy-bmc-listen-on  BMC proxy to listen on https, http, or both (default: "https")

Comment 4 Stephen Benjamin 2015-03-13 09:18:11 UTC
Created redmine issue http://projects.theforeman.org/issues/9743 from this bug

Comment 5 Stephen Benjamin 2015-03-18 09:56:31 UTC
This was pulled in to the katello-installer upstream by this commit:

fixes #9668 - update capsule module 
https://github.com/Katello/katello-installer/pull/191
59adba41b17bad6e0b54d3acd880cac237e2e463

Comment 7 Sachin Ghai 2015-04-28 13:25:25 UTC
Verified with sat6.1 GA snap1 compose 2 (Satellite-6.1.0-RHEL-7-20150424.0):

on capsule..Now we have capsule-installer and it shows correct options to enable BMC:

--
[root@cloud-qe-6 ~]# capsule-installer --help | grep bmc
    --bmc                         Enable BMC feature (default: false)
    --bmc-default-provider        BMC default provider. (default: "ipmitool")
[root@cloud-qe-6 ~]# 
--

on sat6.. katello-installer also shows these options:

[root@cloud-qe-9 ~]# katello-installer --help | grep bmc
    --capsule-bmc                 Enable BMC feature (default: false)
    --capsule-bmc-default-provider  BMC default provider. (default: "ipmitool")


moving this to verified.

Comment 8 Bryan Kearney 2015-08-11 13:18:12 UTC
This bug is slated to be released with Satellite 6.1.

Comment 9 Bryan Kearney 2015-08-12 13:55:12 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.