Foreman and tftp boot

Hi all.
I have foreman 1.11.4-1 on centos 7. I am trying to create a VM on vmware
(as I did so many times) and usually works perfectly but this time seems to
have some issues.
I have attached the screenshot from the vmware console.
Any idea? all the file under /var/lib/tftpboot/pxelinux.cfg are fine. I
even tried to boot live cd and then get the token and it works fine…

··· -- *Alfredo*

Is it possible that you are hitting expired tokens? Can you check the
token duration setting?

LZ

··· On Mon, Jan 30, 2017 at 4:30 AM, Alfredo De Luca wrote: > Hi all. > I have foreman 1.11.4-1 on centos 7. I am trying to create a VM on vmware > (as I did so many times) and usually works perfectly but this time seems to > have some issues. > I have attached the screenshot from the vmware console. > Any idea? all the file under /var/lib/tftpboot/pxelinux.cfg are fine. I even > tried to boot live cd and then get the token and it works fine..... > > > > -- > Alfredo > > -- > 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

Hi Lukas. The settings for the token is 360 minutes… so I think it's the
default.

Alfredo

··· On Mon, Jan 30, 2017 at 9:50 PM, Lukas Zapletal wrote:

Is it possible that you are hitting expired tokens? Can you check the
token duration setting?

LZ

On Mon, Jan 30, 2017 at 4:30 AM, Alfredo De Luca > alfredo.deluca@gmail.com wrote:

Hi all.
I have foreman 1.11.4-1 on centos 7. I am trying to create a VM on vmware
(as I did so many times) and usually works perfectly but this time seems
to
have some issues.
I have attached the screenshot from the vmware console.
Any idea? all the file under /var/lib/tftpboot/pxelinux.cfg are fine. I
even
tried to boot live cd and then get the token and it works fine…


Alfredo


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 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.


Alfredo

I believe you need to investigate production.log file at the moment
when Anaconda tries to fetch the template.

Try to access the url using wget. Ping the hostname, check DNS,
routing, firewalls etc. Usual stuff.

LZ

··· On Tue, Jan 31, 2017 at 3:22 AM, Alfredo De Luca wrote: > Hi Lukas. The settings for the token is 360 minutes... so I think it's the > default. > > Alfredo > > > On Mon, Jan 30, 2017 at 9:50 PM, Lukas Zapletal wrote: >> >> Is it possible that you are hitting expired tokens? Can you check the >> token duration setting? >> >> LZ >> >> On Mon, Jan 30, 2017 at 4:30 AM, Alfredo De Luca >> wrote: >> > Hi all. >> > I have foreman 1.11.4-1 on centos 7. I am trying to create a VM on >> > vmware >> > (as I did so many times) and usually works perfectly but this time seems >> > to >> > have some issues. >> > I have attached the screenshot from the vmware console. >> > Any idea? all the file under /var/lib/tftpboot/pxelinux.cfg are fine. I >> > even >> > tried to boot live cd and then get the token and it works fine..... >> > >> > >> > >> > -- >> > Alfredo >> > >> > -- >> > 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 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. > > > > > -- > Alfredo > > -- > 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

Hi Lukas. I ve already boot up from a live cd then ping and wget what is in
that token and seems to work fine.

What are the logs I can check? I ve done already production.log and
proxy.log and all the systems logs… but nothing relevant as far as I can
see…

Regards

··· On Tue, Jan 31, 2017 at 11:07 PM, Lukas Zapletal wrote:

I believe you need to investigate production.log file at the moment
when Anaconda tries to fetch the template.

Try to access the url using wget. Ping the hostname, check DNS,
routing, firewalls etc. Usual stuff.

LZ

On Tue, Jan 31, 2017 at 3:22 AM, Alfredo De Luca > alfredo.deluca@gmail.com wrote:

Hi Lukas. The settings for the token is 360 minutes… so I think it’s
the
default.

Alfredo

On Mon, Jan 30, 2017 at 9:50 PM, Lukas Zapletal lzap@redhat.com wrote:

Is it possible that you are hitting expired tokens? Can you check the
token duration setting?

LZ

On Mon, Jan 30, 2017 at 4:30 AM, Alfredo De Luca > >> alfredo.deluca@gmail.com wrote:

Hi all.
I have foreman 1.11.4-1 on centos 7. I am trying to create a VM on
vmware
(as I did so many times) and usually works perfectly but this time
seems

to
have some issues.
I have attached the screenshot from the vmware console.
Any idea? all the file under /var/lib/tftpboot/pxelinux.cfg are fine.
I

even
tried to boot live cd and then get the token and it works fine…


Alfredo


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 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.


Alfredo


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 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.


Alfredo

Network, firewall issue, most likely.

LZ

··· On Wed, Feb 1, 2017 at 11:17 AM, Alfredo De Luca wrote: > Hi Lukas. I ve already boot up from a live cd then ping and wget what is in > that token and seems to work fine. > > What are the logs I can check? I ve done already production.log and > proxy.log and all the systems logs... but nothing relevant as far as I can > see..... > > Regards > > > On Tue, Jan 31, 2017 at 11:07 PM, Lukas Zapletal wrote: >> >> I believe you need to investigate production.log file at the moment >> when Anaconda tries to fetch the template. >> >> Try to access the url using wget. Ping the hostname, check DNS, >> routing, firewalls etc. Usual stuff. >> >> LZ >> >> On Tue, Jan 31, 2017 at 3:22 AM, Alfredo De Luca >> wrote: >> > Hi Lukas. The settings for the token is 360 minutes... so I think it's >> > the >> > default. >> > >> > Alfredo >> > >> > >> > On Mon, Jan 30, 2017 at 9:50 PM, Lukas Zapletal wrote: >> >> >> >> Is it possible that you are hitting expired tokens? Can you check the >> >> token duration setting? >> >> >> >> LZ >> >> >> >> On Mon, Jan 30, 2017 at 4:30 AM, Alfredo De Luca >> >> wrote: >> >> > Hi all. >> >> > I have foreman 1.11.4-1 on centos 7. I am trying to create a VM on >> >> > vmware >> >> > (as I did so many times) and usually works perfectly but this time >> >> > seems >> >> > to >> >> > have some issues. >> >> > I have attached the screenshot from the vmware console. >> >> > Any idea? all the file under /var/lib/tftpboot/pxelinux.cfg are fine. >> >> > I >> >> > even >> >> > tried to boot live cd and then get the token and it works fine..... >> >> > >> >> > >> >> > >> >> > -- >> >> > Alfredo >> >> > >> >> > -- >> >> > 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 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. >> > >> > >> > >> > >> > -- >> > Alfredo >> > >> > -- >> > 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 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. > > > > > -- > Alfredo > > -- > 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

Hi Lukas.
The problem was that in the file
/var/lib/tftpboot/pxelinux.cfg/01-00-50-56-01-06-06 the token was with
https but changing to http worked ok.
Not sure why because we need http now since we always deployed with https.
I think recently my colleague upgraded Foreman to 1.11.4…
what would may have changed?

··· On Wed, Feb 1, 2017 at 10:13 PM, Lukas Zapletal wrote:

Network, firewall issue, most likely.

LZ

On Wed, Feb 1, 2017 at 11:17 AM, Alfredo De Luca > alfredo.deluca@gmail.com wrote:

Hi Lukas. I ve already boot up from a live cd then ping and wget what is
in
that token and seems to work fine.

What are the logs I can check? I ve done already production.log and
proxy.log and all the systems logs… but nothing relevant as far as I
can
see…

Regards

On Tue, Jan 31, 2017 at 11:07 PM, Lukas Zapletal lzap@redhat.com > wrote:

I believe you need to investigate production.log file at the moment
when Anaconda tries to fetch the template.

Try to access the url using wget. Ping the hostname, check DNS,
routing, firewalls etc. Usual stuff.

LZ

On Tue, Jan 31, 2017 at 3:22 AM, Alfredo De Luca > >> alfredo.deluca@gmail.com wrote:

Hi Lukas. The settings for the token is 360 minutes… so I think it’s
the
default.

Alfredo

On Mon, Jan 30, 2017 at 9:50 PM, Lukas Zapletal lzap@redhat.com > wrote:

Is it possible that you are hitting expired tokens? Can you check the
token duration setting?

LZ

On Mon, Jan 30, 2017 at 4:30 AM, Alfredo De Luca > >> >> alfredo.deluca@gmail.com wrote:

Hi all.
I have foreman 1.11.4-1 on centos 7. I am trying to create a VM on
vmware
(as I did so many times) and usually works perfectly but this time
seems
to
have some issues.
I have attached the screenshot from the vmware console.
Any idea? all the file under /var/lib/tftpboot/pxelinux.cfg are
fine.

I
even
tried to boot live cd and then get the token and it works fine…


Alfredo


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 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.


Alfredo


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 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.


Alfredo


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 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.


Alfredo

Someone had to change foreman_url / unattended_url global setting. We
are not aware that installer is doing that automatically.

LZ

··· On Thu, Feb 2, 2017 at 2:40 AM, Alfredo De Luca wrote: > Hi Lukas. > The problem was that in the file > /var/lib/tftpboot/pxelinux.cfg/01-00-50-56-01-06-06 the token was with https > but changing to http worked ok. > Not sure why because we need http now since we always deployed with https. I > think recently my colleague upgraded Foreman to 1.11.4... > what would may have changed? > > > > On Wed, Feb 1, 2017 at 10:13 PM, Lukas Zapletal wrote: >> >> Network, firewall issue, most likely. >> >> LZ >> >> On Wed, Feb 1, 2017 at 11:17 AM, Alfredo De Luca >> wrote: >> > Hi Lukas. I ve already boot up from a live cd then ping and wget what is >> > in >> > that token and seems to work fine. >> > >> > What are the logs I can check? I ve done already production.log and >> > proxy.log and all the systems logs... but nothing relevant as far as I >> > can >> > see..... >> > >> > Regards >> > >> > >> > On Tue, Jan 31, 2017 at 11:07 PM, Lukas Zapletal >> > wrote: >> >> >> >> I believe you need to investigate production.log file at the moment >> >> when Anaconda tries to fetch the template. >> >> >> >> Try to access the url using wget. Ping the hostname, check DNS, >> >> routing, firewalls etc. Usual stuff. >> >> >> >> LZ >> >> >> >> On Tue, Jan 31, 2017 at 3:22 AM, Alfredo De Luca >> >> wrote: >> >> > Hi Lukas. The settings for the token is 360 minutes... so I think >> >> > it's >> >> > the >> >> > default. >> >> > >> >> > Alfredo >> >> > >> >> > >> >> > On Mon, Jan 30, 2017 at 9:50 PM, Lukas Zapletal >> >> > wrote: >> >> >> >> >> >> Is it possible that you are hitting expired tokens? Can you check >> >> >> the >> >> >> token duration setting? >> >> >> >> >> >> LZ >> >> >> >> >> >> On Mon, Jan 30, 2017 at 4:30 AM, Alfredo De Luca >> >> >> wrote: >> >> >> > Hi all. >> >> >> > I have foreman 1.11.4-1 on centos 7. I am trying to create a VM on >> >> >> > vmware >> >> >> > (as I did so many times) and usually works perfectly but this time >> >> >> > seems >> >> >> > to >> >> >> > have some issues. >> >> >> > I have attached the screenshot from the vmware console. >> >> >> > Any idea? all the file under /var/lib/tftpboot/pxelinux.cfg are >> >> >> > fine. >> >> >> > I >> >> >> > even >> >> >> > tried to boot live cd and then get the token and it works >> >> >> > fine..... >> >> >> > >> >> >> > >> >> >> > >> >> >> > -- >> >> >> > Alfredo >> >> >> > >> >> >> > -- >> >> >> > 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 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. >> >> > >> >> > >> >> > >> >> > >> >> > -- >> >> > Alfredo >> >> > >> >> > -- >> >> > 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 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. >> > >> > >> > >> > >> > -- >> > Alfredo >> > >> > -- >> > 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 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. > > > > > -- > Alfredo > > -- > 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