Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1194221 - UI should set boot-modes appropriately under subnet
UI should set boot-modes appropriately under subnet
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: WebUI (Show other bugs)
6.1.0
Unspecified Unspecified
unspecified Severity medium (vote)
: Unspecified
: Unused
Assigned To: Marek Hulan
Kedar Bidarkar
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks: 1193987
  Show dependency treegraph
 
Reported: 2015-02-19 06:09 EST by Kedar Bidarkar
Modified: 2017-02-23 15:28 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:25:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 9547 None None None 2016-04-22 11:33 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description Kedar Bidarkar 2015-02-19 06:09:40 EST
Description of problem:

unable to provision hosts unless boot mode is set to DHCP under subnet.

Provisioning of a "New Host" fails, while trying to fetch the file, 
http://xxxx.redhat.com/pulp/repos/Default_Organization/Dev/rhel66_cv/custom/RHEL6/RHEL66_x86_64/images/install.img

Possible reasons: network might not be configured properly.

Version-Release number of selected component (if applicable):
sat6.1 Beta snap3 compose2

How reproducible:
always

Steps to Reproduce:
1. create a subnet with "boot mode" set as "static".
2. And then try to provision a HOST.
3. 

Actual results:
Fetching the above mentioned file fails as, network might not be configured properly.

Expected results:
Should be able to provision Hosts successfully.

*) I assume, as many subnet setups would be with "DHCP", we need to have this option as default rather than "static" option.


Additional info:

As this is a new sat6.1 feature , we need this info added to release docs too and a TIP near the fields.
Comment 2 Marek Hulan 2015-02-24 05:06:41 EST
tested, it works if dns nameserver and gateway is specified
Comment 3 Kedar Bidarkar 2015-02-24 05:31:59 EST
spoke to marek hulan,


What is the purpose of IPAM field?

<mhulan> kbidarka: IPAM field only change behaviour of host form, whether the IP field is auto prefilled for you...


IPAM and boot-mode combinations:

If boot-mode: static then IPAM: Internal DB
If boot-mode: DHCP, then IPAM: DHCP

<mhulan> kbidarka: for boot mode static, usually internal DB makes most sense.
and none would be used if you want to assign IP manually.


For the fix at the WebUI level, 

a) I think if IPAM is set to DHCP, boot-mode should also be also set to "DHCP" automatically

b) or set the default value for boot-mode to DHCP.
Comment 4 Kedar Bidarkar 2015-02-24 05:35:19 EST
Also while selecting boot-mode as static, make sure subnet also be configured with
a) nameserver 
b) gateway.
Comment 5 Marek Hulan 2015-02-24 06:31:22 EST
I think b) DHCP as default boot-mode is right solution, so I'll implement this. As said on IRC, nameserver and gateway can't be required for subnet just because it has static boot mode. It's only relevant if you want to use the subnet for provisioning, you are using DNS etc. The only thing I can imagine to change is a note to boot mode field stating "If you select static boot mode and plan to use this subnet for provisioning you might need to specify a gateway and nameserver". But I'd prefer this in documentation rather than in form as it's already too long.
Comment 6 Marek Hulan 2015-02-25 07:46:09 EST
Created redmine issue http://projects.theforeman.org/issues/9547 from this bug
Comment 7 Bryan Kearney 2015-03-02 06:05:11 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/9547 has been closed
-------------
Marek Hulán
Applied in changeset commit:9e5fad812a64055272b9cc650c2d387027638c71.
Comment 10 Bryan Kearney 2015-03-03 10:05:34 EST
Moving to POST since upstream bug http://projects.theforeman.org/issues/9547 has been closed
-------------
Marek Hulán
Applied in changeset commit:9e5fad812a64055272b9cc650c2d387027638c71.
Comment 13 Kedar Bidarkar 2015-03-13 12:23:08 EDT
As per the comment 3 and comment 5 in this bug, the default boot-mode for the UI is "DHCP".

VERIFIED with sat6.1 Beta snap6 compose2.
Comment 14 Bryan Kearney 2015-08-11 09:34:11 EDT
This bug is slated to be released with Satellite 6.1.
Comment 15 errata-xmlrpc 2015-08-12 01:25:18 EDT
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-2015:1592

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