Jacek, I apologize but what I meant was:

http://projects.theforeman.org/projects/foreman/wiki/Troubleshooting#Enable-detailed-SQL-logger-for-orchestration-messages

Chad, it looks like setting (a fake) domain did not help to Jacek, can you
try it? Did it help in your case? Associate Subnet with a Domain and then
set it in the Hostgroup.

LZ

On Wed, Apr 19, 2017 at 2:51 PM, Jacek Mierzwa <jmier...@lbisa.com> wrote:

> And here is Foreman app debug-level log from 'successful' auto-provision
> (no PXE file appears).
>
> On Wed, Apr 19, 2017 at 2:13 PM, Jacek Mierzwa <jmier...@lbisa.com> wrote:
>
>> Here's the SQL debug log from 'successful' auto-provision (no PXE file
>> appears).
>> Please find attached.
>>
>> Thanks/Regards
>>
>> On Wed, Apr 19, 2017 at 1:21 PM, Lukas Zapletal <l...@redhat.com> wrote:
>>
>>> Ok I finally reproduced.
>>>
>>> When domain is blank, autoprovisioning fails for no apparent reason,
>>> logs are empty, something fails during orchestration and hosts are
>>> getting discovered again (which fails since managed host already
>>> exists).
>>>
>>> http://projects.theforeman.org/issues/19313
>>>
>>> I will do my best to fix it this week, but I am on travel the week
>>> after, crossing my fingers.
>>>
>>> LZ
>>>
>>> On Thu, Apr 13, 2017 at 4:28 PM, Garreat <jmier...@fgtsa.com> wrote:
>>> > I experience this issue.
>>> > After clicking 'auto-provisioning' on a discovered host, the host
>>> entry is
>>> > created, the host reboots - but only to enter Foreman Discovery Image
>>> PXE
>>> > loop.
>>> > My TFTP proxy is in healthy status as I can recreate PXE default no
>>> prob.
>>> >
>>> > Now answering your checklist:
>>> > - host is managed - yes - OK
>>> > - provision method is "build" and not "image" - how to check this? I
>>> can't
>>> > see the 'build mode' checkbox for the newly created host
>>> > - host has operating system set - yes (inherited from host group) - OK
>>> > - host has pxe loader flag present (not set to blank or None) - how to
>>> check
>>> > this?
>>> > - host has one provisioning NIC with valid MAC address - yes it does -
>>> OK
>>> > - a subnet is associated with the provisioning NIC - it is, but it's a
>>> > subnet different than the one declared in machine's host group
>>> > - the subnet has TFTP feature turned on - it does, and it's the same
>>> TFTP
>>> > proxy as in the subnet that I wanted
>>> >
>>> > Also, the 'domain' is blank for the fresh created host.
>>> > The OS assigned to this host group has a valid PXElinux template
>>> selected.
>>> >
>>> > Assume I'm not making any manual changes:
>>> > - 'Build host' does nothing
>>> > - 'Rebuild config' creates a PXE mac-template on TFTP immediatly
>>> >
>>> > facter -j output attached
>>> >
>>> > Thanks / Regards / Greetings
>>> >
>>> > W dniu wtorek, 11 kwietnia 2017 10:28:17 UTC+2 użytkownik Lukas
>>> Zapletal
>>> > napisał:
>>> >>
>>> >> TFTP orchestration is not being triggered. It can be only performed
>>> >> when all of these conditions are met:
>>> >>
>>> >> - host is managed
>>> >> - provision method is "build" and not "image"
>>> >> - host has operating system set
>>> >> - host has pxe loader flag present (not set to blank or None)
>>> >> - host has one provisioning NIC with valid MAC address
>>> >> - a subnet is associated with the provisioning NIC
>>> >> - the subnet has TFTP feature turned on
>>> >>
>>> >> Visit a host which failed provisioning and do this checklist please.
>>> >>
>>> >> LZ
>>> >>
>>> >>
>>> >
>>>
>>>
>>>
>>> --
>>> Later,
>>>   Lukas @lzap Zapletal
>>>
>>
>>
>>
>> --
>>
>> *Jacek Mierzwa* | Systems Integration Engineer
>>
>> Platform Management Division
>>
>>
>>
>>
>
>
> --
>
> *Jacek Mierzwa* | Systems Integration Engineer
>
> Platform Management Division
>
>
>
>


-- 
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+unsubscr...@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.

Reply via email to