TFTP is not working with the foreman after installed discovery plugin

Hi,

I am testing foreman poc and it was working fine till now. I installed
foreman-discovery plugin using foreman-installer. As mentioned in the
document, it removed all my configurations dhcp, tftp and all other
foreman-settings.

2.1.1 Installer (recommended)
> As of Foreman 1.8+, the foreman-installer is able to automatically install
> the package and proceed with all necessary steps. To do this, re-run the
> installer with the following option:
> # foreman-installer --enable-foreman-plugin-discovery
> Important note: Executing foreman-installer will re-deploy all
> foreman-related configuration files. In case some changes have been made,
> proceed with manual download described below.

  1. Is this an intended behavior? I mean it would be really difficult to
    reconfigure all the settings in all the files is eating up all the time. a

  2. I made somehow my TFTP to work by tweaking all the settings ( before
    installing foreman-discovery plugin). Now, I don't remember all the places
    where I made the changes as the plugin installation reverted all my changes
    to the default? Is there any way to make my TFTP working again?

Please pardon me If I am not making any sense as I am completely new to the
foreman stuff.

Thanks in Advance.
No1.

*The Issue is resolved. *

But It would be nice not to touch the custom configs that were made into
the TFTP and DHCP config files before the installation of discovery plugin
using foreman-installation.

··· On Thursday, October 12, 2017 at 2:41:29 PM UTC-5, No1 wrote: > > Hi, > > I am testing foreman poc and it was working fine till now. I installed > foreman-discovery plugin using foreman-installer. As mentioned in the > document, it removed all my configurations dhcp, tftp and all other > foreman-settings. > > 2.1.1 Installer (recommended) >> As of Foreman 1.8+, the foreman-installer is able to automatically >> install the package and proceed with all necessary steps. To do this, >> re-run the installer with the following option: >> # foreman-installer --enable-foreman-plugin-discovery >> Important note: Executing foreman-installer will re-deploy all >> foreman-related configuration files. In case some changes have been made, >> proceed with manual download described below. > > > 1. Is this an intended behavior? I mean it would be really difficult to > reconfigure all the settings in all the files is eating up all the time. a > > 2. I made somehow my TFTP to work by tweaking all the settings ( before > installing foreman-discovery plugin). Now, I don't remember all the places > where I made the changes as the plugin installation reverted all my changes > to the default? Is there any way to make my TFTP working again? > > Please pardon me If I am not making any sense as I am completely new to > the foreman stuff. > > Thanks in Advance. > No1. >

What manual changes did you make?

··· On Fri, 13 Oct 2017 at 03:54, No1 wrote:

*The Issue is resolved. *

But It would be nice not to touch the custom configs that were made into
the TFTP and DHCP config files before the installation of discovery plugin
using foreman-installation.

On Thursday, October 12, 2017 at 2:41:29 PM UTC-5, No1 wrote:

Hi,

I am testing foreman poc and it was working fine till now. I installed
foreman-discovery plugin using foreman-installer. As mentioned in the
document, it removed all my configurations dhcp, tftp and all other
foreman-settings.

2.1.1 Installer (recommended)

As of Foreman 1.8+, the foreman-installer is able to automatically
install the package and proceed with all necessary steps. To do this,
re-run the installer with the following option:

foreman-installer --enable-foreman-plugin-discovery

Important note: Executing foreman-installer will re-deploy all
foreman-related configuration files. In case some changes have been made,
proceed with manual download described below.

  1. Is this an intended behavior? I mean it would be really difficult to
    reconfigure all the settings in all the files is eating up all the time. a

  2. I made somehow my TFTP to work by tweaking all the settings ( before
    installing foreman-discovery plugin). Now, I don’t remember all the places
    where I made the changes as the plugin installation reverted all my changes
    to the default? Is there any way to make my TFTP working again?

Please pardon me If I am not making any sense as I am completely new to
the foreman stuff.

Thanks in Advance.
No1.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

This patch I am working on will make this much easier!

··· On Fri, Oct 13, 2017 at 4:53 AM, No1 wrote: > The Issue is resolved. > > But It would be nice not to touch the custom configs that were made into the > TFTP and DHCP config files before the installation of discovery plugin using > foreman-installation. > > > On Thursday, October 12, 2017 at 2:41:29 PM UTC-5, No1 wrote: >> >> Hi, >> >> I am testing foreman poc and it was working fine till now. I installed >> foreman-discovery plugin using foreman-installer. As mentioned in the >> document, it removed all my configurations dhcp, tftp and all other >> foreman-settings. >> >>> 2.1.1 Installer (recommended) >>> As of Foreman 1.8+, the foreman-installer is able to automatically >>> install the package and proceed with all necessary steps. To do this, re-run >>> the installer with the following option: >>> # foreman-installer --enable-foreman-plugin-discovery >>> Important note: Executing foreman-installer will re-deploy all >>> foreman-related configuration files. In case some changes have been made, >>> proceed with manual download described below. >> >> >> 1. Is this an intended behavior? I mean it would be really difficult to >> reconfigure all the settings in all the files is eating up all the time. a >> >> 2. I made somehow my TFTP to work by tweaking all the settings ( before >> installing foreman-discovery plugin). Now, I don't remember all the places >> where I made the changes as the plugin installation reverted all my changes >> to the default? Is there any way to make my TFTP working again? >> >> Please pardon me If I am not making any sense as I am completely new to >> the foreman stuff. >> >> Thanks in Advance. >> No1. > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal

It reverted back the PXEclient if clause in the DHCPD.conf and it removed
my global next-server.

and also the smart proxy settings were all changed back to default (which
are either false or commented out). in /etc/foreman-proxy/settings.d/*

··· On Friday, October 13, 2017 at 1:00:26 AM UTC-5, Sean O'Keeffe wrote: > > What manual changes did you make? > > On Fri, 13 Oct 2017 at 03:54, No1 <italia...@gmail.com > > wrote: > >> *The Issue is resolved. * >> >> *But It would be nice not to touch the custom configs that were made into >> the TFTP and DHCP config files before the installation of discovery plugin >> using foreman-installation.* >> >> >> On Thursday, October 12, 2017 at 2:41:29 PM UTC-5, No1 wrote: >>> >>> Hi, >>> >>> I am testing foreman poc and it was working fine till now. I installed >>> foreman-discovery plugin using foreman-installer. As mentioned in the >>> document, it removed all my configurations dhcp, tftp and all other >>> foreman-settings. >>> >>> 2.1.1 Installer (recommended) >>>> As of Foreman 1.8+, the foreman-installer is able to automatically >>>> install the package and proceed with all necessary steps. To do this, >>>> re-run the installer with the following option: >>>> # foreman-installer --enable-foreman-plugin-discovery >>>> Important note: Executing foreman-installer will re-deploy all >>>> foreman-related configuration files. In case some changes have been made, >>>> proceed with manual download described below. >>> >>> >>> 1. Is this an intended behavior? I mean it would be really difficult >>> to reconfigure all the settings in all the files is eating up all the time. >>> a >>> >>> 2. I made somehow my TFTP to work by tweaking all the settings ( before >>> installing foreman-discovery plugin). Now, I don't remember all the places >>> where I made the changes as the plugin installation reverted all my changes >>> to the default? Is there any way to make my TFTP working again? >>> >>> Please pardon me If I am not making any sense as I am completely new to >>> the foreman stuff. >>> >>> Thanks in Advance. >>> No1. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at https://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> >