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 1489364 - [Satellite 6] external DHCP configuration in 6.2 documentation does mention that in 6.3 external dhcp over nfs will not be supported and doed not provide alternative
Summary: [Satellite 6] external DHCP configuration in 6.2 documentation does mention t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Docs Install Guide
Version: 6.2.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Sergei Petrosian
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-07 09:29 UTC by Stefan Nemeth
Modified: 2021-06-10 12:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-27 16:04:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1535972 0 unspecified CLOSED Not possible to --enable-foreman-proxy-plugin-dhcp-remote-isc 2021-02-22 00:41:40 UTC

Internal Links: 1535972

Description Stefan Nemeth 2017-09-07 09:29:48 UTC
Document URL: 

https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/installation_guide/configuring_external_services#configuring_satellite_external_dhcp

Section Number and Name: 

5.4. CONFIGURING SATELLITE SERVER WITH EXTERNAL DHCP

IMPORTANT
From Satellite 6.3 onwards, external DHCP configuration via NFS is not supported. Due to optimizations in inotify, DHCP Capsule is no longer able to detect changes in remote files.

Describe the issue: 

Does not provide alternative which will be used in 6.3. It can discourage not to use external dhcp and give feeling that external dhcp will not be supported in 6.3

Suggestions for improvement: 

Mention also alternative, remoteisc which will be used in 6.3
https://bugzilla.redhat.com/show_bug.cgi?id=1397702

and possibility to use iscsi instead of nfs

Additional information:

Comment 1 Andrew Dahms 2017-09-07 12:34:07 UTC
Assigning to Sergei for review.

Comment 12 Dmitri Dolguikh 2017-11-02 18:30:49 UTC
It is possible to install the dhcp_remote_isc module by hand -- by installing the corresponding package and updating the config files. My understanding is that the installer is the main/preferred way of updating Satellite/capsule installations? If so, puppet module is probably the way to go.

Comment 13 Stephen Wadeley 2017-11-03 10:59:01 UTC
(In reply to Dmitri Dolguikh from comment #12)
> It is possible to install the dhcp_remote_isc module by hand -- by
> installing the corresponding package and updating the config files. My
> understanding is that the installer is the main/preferred way of updating
> Satellite/capsule installations? If so, puppet module is probably the way to
> go.

Yes, in the guides we must say to use the installer script. I will test if the Puppet module is available on a Capsule.

Thank you

Comment 16 Dmitri Dolguikh 2017-11-06 19:32:57 UTC
Sergei,

My understanding was that the new implementation to support remote isc dhcp servers was going to be included in 6.3, but I could be wrong.

To answer your questions:

1) foreman-proxy requires access to dhcpd config and leases file in order to get information about the networks (config file) and the reservations (config and leases files) and leases (leases file) the server maintains. This information is used then to determine availability of ip addresses, catch conflicts during host creation, etc.

2) never actually used an iSCSI device, but the guide at [2] sounds good to me.

-d

Comment 18 Andrew Dahms 2017-12-11 00:56:57 UTC
Updating target milestone to 'GA'.

Comment 19 Sergei Petrosian 2018-01-17 17:03:47 UTC
Hello Dmitri,

From the bug [1] I see that the smart_proxy_dhcp_remote_isc package is pushed downstream. Now we can mention it and dhcp_isc modules in the documentation.

What is the workflow of installing and setting up these modules?

Thank you

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1397702

Comment 20 Dmitri Dolguikh 2018-01-17 19:02:51 UTC
There are no changes in dhcp_isc core provider, not sure if anything needs to change in the docs. 

dhcp_remote_isc provider should be installable via installer (it is in upstream), its configuration options are exactly the same as for the dhcp_isc provider.

Comment 22 Dmitri Dolguikh 2018-01-18 23:49:29 UTC
I fixed the issue and released version 0.0.4 of the gem. Updtaed RPM packages should become available once PR is merged.

Comment 23 Andrew Dahms 2018-02-26 01:08:37 UTC
Updating release flags.

Comment 25 Dmitri Dolguikh 2018-03-05 20:08:07 UTC
There are two possible installations for smart-proxy and dhcpd: same machine or separate machines. The former case is covered by core smart-proxy and no nfs or additional modules are required. 

In the latter case smart-proxy's remote_dhcp_isc provider needs access to dhcpd's config and lease files. This is usually achieved via exposing those files via NFS, but can be done using any other distributed filesystem.

Internally the difference on the smart-proxy side between the two setups is that the remote isc provider doesn't cache anything at all, and has to fetch config and lease files on every request (which is why it's slow and shouldn't be used by default). 

In order to configure smart-proxy to interface with a remote dhcpd server, the user will need to:
 - install and configure dhcpd, make dhcpd config files and lease file available over NFS
 - install smart-proxy
 - install dhcp_remote_isc provider, configure the provider to use paths from step #1

Let me know if this clears up the questions you had.

Comment 36 Sergei Petrosian 2018-05-16 16:10:57 UTC
Hello Dmitri,

Is the remote_isc DHCP provider included into Satellite 6.2. For now, the changes are made only to 6.4 and 6.3 docs. 

Thank you

Comment 37 Dmitri Dolguikh 2018-05-16 17:10:18 UTC
remote_isc DHCP provider isn't available in Satellite 6.2.


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