Problems with template proxy

Hi,

I have a proxy configured do to template proxying. The capability is
reported against the smart proxy in the Foreman UI and I can use curl to
fetch the templates but when the grub config is written out it contains a
URL to the master server. I have to manually edit the file to point to the
proxy instead. I've run the proxy in debug but can't see anything to
indicate why this.

Any pointers on where I can look to get to the bottom of this?

I'm running Katello 3.3/Foreman 1.14.3.

Thanks,

Alan

Is TFTP feature turned on the proxy? It's the decision point to use it.

My Lord we need to fix this.

LZ

··· On Wed, May 10, 2017 at 11:42 AM, wrote: > Hi, > > I have a proxy configured do to template proxying. The capability is > reported against the smart proxy in the Foreman UI and I can use curl to > fetch the templates but when the grub config is written out it contains a > URL to the master server. I have to manually edit the file to point to the > proxy instead. I've run the proxy in debug but can't see anything to > indicate why this. > > Any pointers on where I can look to get to the bottom of this? > > I'm running Katello 3.3/Foreman 1.14.3. > > Thanks, > > Alan > > -- > 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

You are using Katello, so it also depends on what Environment are you
in. Environments are associated to particular Capsules, therefore if
you are installing from Env that is not on any Capsule, Foreman will
fallback to itself.

LZ

··· On Wed, May 10, 2017 at 11:42 AM, wrote: > Hi, > > I have a proxy configured do to template proxying. The capability is > reported against the smart proxy in the Foreman UI and I can use curl to > fetch the templates but when the grub config is written out it contains a > URL to the master server. I have to manually edit the file to point to the > proxy instead. I've run the proxy in debug but can't see anything to > indicate why this. > > Any pointers on where I can look to get to the bottom of this? > > I'm running Katello 3.3/Foreman 1.14.3. > > Thanks, > > Alan > > -- > 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

TFTP is enabled. A curl on host:9090/features returns

["dhcp","logs","pulpnode","puppet","templates","tftp"]

··· On 10 May 2017 at 12:17, Lukas Zapletal wrote:

Is TFTP feature turned on the proxy? It’s the decision point to use it.

My Lord we need to fix this.

LZ

On Wed, May 10, 2017 at 11:42 AM, apgriffiths79@gmail.com wrote:

Hi,

I have a proxy configured do to template proxying. The capability is
reported against the smart proxy in the Foreman UI and I can use curl to
fetch the templates but when the grub config is written out it contains a
URL to the master server. I have to manually edit the file to point to
the
proxy instead. I’ve run the proxy in debug but can’t see anything to
indicate why this.

Any pointers on where I can look to get to the bottom of this?

I’m running Katello 3.3/Foreman 1.14.3.

Thanks,

Alan


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


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/foreman-users/4yfpjz03kY0/unsubscribe.
To unsubscribe from this group and all its topics, 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.

Then do Refresh features in the Foreman UI page, it needs to have it
in Foreman database. Before you click, check if it was present or not.

LZ

··· On Thu, May 11, 2017 at 3:16 PM, Alan Griffiths wrote: > TFTP is enabled. A curl on host:9090/features returns > > ["dhcp","logs","pulpnode","puppet","templates","tftp"] > > On 10 May 2017 at 12:17, Lukas Zapletal wrote: >> >> Is TFTP feature turned on the proxy? It's the decision point to use it. >> >> My Lord we need to fix this. >> >> LZ >> >> On Wed, May 10, 2017 at 11:42 AM, wrote: >> > Hi, >> > >> > I have a proxy configured do to template proxying. The capability is >> > reported against the smart proxy in the Foreman UI and I can use curl to >> > fetch the templates but when the grub config is written out it contains >> > a >> > URL to the master server. I have to manually edit the file to point to >> > the >> > proxy instead. I've run the proxy in debug but can't see anything to >> > indicate why this. >> > >> > Any pointers on where I can look to get to the bottom of this? >> > >> > I'm running Katello 3.3/Foreman 1.14.3. >> > >> > Thanks, >> > >> > Alan >> > >> > -- >> > 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 >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Foreman users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/foreman-users/4yfpjz03kY0/unsubscribe. >> To unsubscribe from this group and all its topics, 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. > > > -- > 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

The feature was already reported in foreman UI - but I did another refresh
any way. Still not working.

··· On 12 May 2017 at 09:24, Lukas Zapletal wrote:

Then do Refresh features in the Foreman UI page, it needs to have it
in Foreman database. Before you click, check if it was present or not.

LZ

On Thu, May 11, 2017 at 3:16 PM, Alan Griffiths apgriffiths79@gmail.com > wrote:

TFTP is enabled. A curl on host:9090/features returns

[“dhcp”,“logs”,“pulpnode”,“puppet”,“templates”,“tftp”]

On 10 May 2017 at 12:17, Lukas Zapletal lzap@redhat.com wrote:

Is TFTP feature turned on the proxy? It’s the decision point to use it.

My Lord we need to fix this.

LZ

On Wed, May 10, 2017 at 11:42 AM, apgriffiths79@gmail.com wrote:

Hi,

I have a proxy configured do to template proxying. The capability is
reported against the smart proxy in the Foreman UI and I can use curl
to

fetch the templates but when the grub config is written out it
contains

a
URL to the master server. I have to manually edit the file to point to
the
proxy instead. I’ve run the proxy in debug but can’t see anything to
indicate why this.

Any pointers on where I can look to get to the bottom of this?

I’m running Katello 3.3/Foreman 1.14.3.

Thanks,

Alan


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


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/4yfpjz03kY0/unsubscribe
.

To unsubscribe from this group and all its topics, 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.


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


You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/foreman-users/4yfpjz03kY0/unsubscribe.
To unsubscribe from this group and all its topics, 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.