Bug 1258327 - [RFE] Be able to specify Domain & Subnet as free text
Summary: [RFE] Be able to specify Domain & Subnet as free text
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Form
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Daniel Lobato Garcia
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2015-08-31 06:10 UTC by Benjamin
Modified: 2021-12-10 14:31 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 17:33:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 11622 0 Normal Closed Be able to specify Domain & Subnet as free text 2020-03-12 10:14:13 UTC

Description Benjamin 2015-08-31 06:10:06 UTC
Description of problem:
In very big environments where over 800 Subnets and hundreds of Domains exist it is a very big overhead to be forced to configure Domains & Subnets in the Satellite Server when an IP Address Management system (IPAM) is already in place having all those information.

Version-Release number of selected component (if applicable):
6.1.1

Actual results:
User is forced to configure Domains & Subnets to be able to use Satellite Provisioning

Expected results:
Add the possibilty to specify Domain & Network information freely not having to create/manage hundreds of Domains & Subnets on host creation level. 
This would ease the integration of Satellite 6 to other provisioning frameworks where Satellite is only one of several tools being used to provisiong systems.

Comment 1 Bryan Kearney 2015-08-31 12:46:08 UTC
Created redmine issue http://projects.theforeman.org/issues/11622 from this bug

Comment 2 Ohad Levy 2015-08-31 12:51:42 UTC
in that case dhcp / dns functionality will be turned off?

Comment 3 Bryan Kearney 2015-08-31 14:04:08 UTC
Upstream bug component is DHCP & DNS

Comment 4 Bryan Kearney 2015-09-01 10:04:25 UTC
Upstream bug component is Hosts

Comment 6 Stefan Meyer 2016-01-29 11:30:06 UTC
I tested this and it seems you always have to create a domain first to use it in the rest call:

curl -k -u ${USER}:${PASS} -d "host[name]=test" -d "host[organization_id]=1" -d "host[location_id]=2" -d "host[hostgroup_id]=9" -d "host[mac]=11:11:11:11:11:11" -d "host[root_pass]=12345678" -d "host[domain_id]=1" -d "host[ip]=192.168.25.1" https://${SATELLITE_SERVER}/api/hosts

It would be nice to either provide a fqdn to the host[name] field or create the domain automatically if it does not exist. An option host[domain_name] would then be required
and you have to set either host[domain_name] or host[domain_id].

With the tested rest call it was not necessary to create a network first.

Comment 7 Stefan Meyer 2016-01-29 15:33:17 UTC
I tested some more and it seems you need to define a subnet to be able to create a bootdisk. If no subnet is defined for the new system i get this error message:

Failed to render boot disk template: ERF42-7776 [Foreman::Exception]: Host has no subnet defined

Comment 14 Bryan Kearney 2018-03-29 17:33:24 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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