I've restarted the proxy. Now logging works fine...again

E, [2016-11-25T17:50:43.868551 #11879] ERROR -- : [12290] 
http://mirror.centos.org/centos/7.2/os/x86_64/images/pxeboot/vmlinuz:


E, [2016-11-25T17:50:43.868671 #11879] ERROR -- : [12290] 2016-11-25 
17:50:43 ERROR 404: Not Found.


E, [2016-11-25T17:50:43.944041 #11879] ERROR -- : [12294] 
http://mirror.centos.org/centos/7.2/os/x86_64/images/pxeboot/initrd.img:


E, [2016-11-25T17:50:43.944212 #11879] ERROR -- : [12294] 2016-11-25 
17:50:43 ERROR 404: Not Found.




Now I can see clearly! he he he. Thanks for the right kick in the right 
direction. It's working now.


Thanks a lot,


Tom

Am Donnerstag, 24. November 2016 18:15:57 UTC+1 schrieb Neil Hanlon:
>
> Anything in /var/log/foreman-proxy/proxy.log on your smart proxy w/ regard 
> to pulp or CentOS-7.2-x86_64-vmlinuz?
>
> On Thu, Nov 24, 2016 at 12:10 PM Tom K. <[email protected] <javascript:>> wrote:
>
>> Hi Neil,
>>
>> thanks. I've tried already to delete them. They got rebuild but still 
>> 0bytes.
>>
>> On my Foreman I found this.  ( vmg-ffm-fosp-saltmaster-001.zone.loc 
>> should be the new CentOS Machine)
>>
>> ==> /var/log/foreman/production.log
>>
>> 2016-11-24 18:03:11 [app] [I] Started PUT 
>> "/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc/setBuild?auth_object=vmg-ffm-fosp-saltmaster-001.zone.loc&permission=build_hosts"
>>  
>> for 10.2.50.252 at 2016-11-24 18:03:11 +0100
>> 2016-11-24 18:03:11 [app] [I] Processing by HostsController#setBuild as 
>> HTML
>> 2016-11-24 18:03:11 [app] [I]   Parameters: {"utf8"=>"✓", 
>> "authenticity_token"=>"RVcXu59Snwvv3UKGBdx6XlzOQEJauANYZgqwME9UbhiUwvT0i1HAaTl90j2m0ZulfFQz79DRARaCkAa9affEIg==",
>>  
>> "host"=>{"build"=>"1"}, "commit"=>"Reboot and build", 
>> "auth_object"=>"vmg-ffm-fosp-saltmaster-001.zone.loc", 
>> "permission"=>"build_hosts", "id"=>"vmg-ffm-fosp-saltmaster-001.zone.loc"}
>> 2016-11-24 18:03:12 [app] [I] Fetching DHCP reservation for 
>> vmg-ffm-fosp-saltmaster-001.zone.loc-00:50:56:9a:3f:08/10.1.92.157
>>
>> 2016-11-24 18:03:13 [app] [I] Redirected to 
>> https://vmg-muc1-fore-000.zone.loc/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc
>> 2016-11-24 18:03:13 [app] [I] Completed 302 Found in 1983ms 
>> (ActiveRecord: 39.6ms)
>> 2016-11-24 18:03:13 [app] [I] Started GET 
>> "/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc" for 10.2.50.252 at 2016-11-24 
>> 18:03:13 +0100
>> 2016-11-24 18:03:13 [app] [I] Processing by HostsController#show as HTML
>> 2016-11-24 18:03:13 [app] [I]   Parameters: 
>> {"id"=>"vmg-ffm-fosp-saltmaster-001.zone.loc"}
>> 2016-11-24 18:03:13 [app] [I]   Rendered hosts/show.html.erb within 
>> layouts/application (39.7ms)
>>
>>
>>
>>
>> 2016-11-24 18:03:16 [app] [I] Started GET 
>> "/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc/nics" for 10.2.50.252 at 
>> 2016-11-24 18:03:16 +0100
>> 2016-11-24 18:03:16 [app] [I] Processing by HostsController#nics as HTML
>> 2016-11-24 18:03:16 [app] [I]   Parameters: 
>> {"id"=>"vmg-ffm-fosp-saltmaster-001.zone.loc"}
>> 2016-11-24 18:03:16 [app] [I] Started GET 
>> "/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc/runtime?range=7" for 
>> 10.2.50.252 at 2016-11-24 18:03:16 +0100
>> 2016-11-24 18:03:16 [app] [I]   Rendered hosts/_nics.html.erb (13.7ms)
>> 2016-11-24 18:03:16 [app] [I] Completed 200 OK in 28ms (Views: 12.2ms | 
>> ActiveRecord: 4.4ms)
>> 2016-11-24 18:03:16 [app] [I] Started GET 
>> "/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc/resources?range=7" for 
>> 10.2.50.252 at 2016-11-24 18:03:16 +0100
>> 2016-11-24 18:03:16 [app] [I] Processing by HostsController#resources as 
>> HTML
>> 2016-11-24 18:03:16 [app] [I]   Parameters: {"range"=>"7", 
>> "id"=>"vmg-ffm-fosp-saltmaster-001.zone.loc"}
>> 2016-11-24 18:03:16 [app] [I]   Rendered hosts/_resources.html.erb (5.0ms)
>> 2016-11-24 18:03:16 [app] [I] Completed 200 OK in 18ms (Views: 5.4ms | 
>> ActiveRecord: 1.8ms)
>> 2016-11-24 18:03:16 [app] [I] Started GET 
>> "/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc/overview" for 10.2.50.252 at 
>> 2016-11-24 18:03:16 +0100
>> 2016-11-24 18:03:16 [app] [I] Processing by HostsController#overview as 
>> HTML
>> 2016-11-24 18:03:16 [app] [I]   Parameters: 
>> {"id"=>"vmg-ffm-fosp-saltmaster-001.zone.loc"}
>> 2016-11-24 18:03:16 [app] [I]   Rendered hosts/_overview.html.erb (38.8ms)
>> 2016-11-24 18:03:16 [app] [I] Completed 200 OK in 51ms (Views: 36.1ms | 
>> ActiveRecord: 5.1ms)
>> 2016-11-24 18:03:16 [app] [I] Started GET 
>> "/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc/templates" for 10.2.50.252 at 
>> 2016-11-24 18:03:16 +0100
>> 2016-11-24 18:03:16 [app] [I] Processing by HostsController#templates as 
>> HTML
>> 2016-11-24 18:03:16 [app] [I]   Parameters: 
>> {"id"=>"vmg-ffm-fosp-saltmaster-001.zone.loc"}
>> 2016-11-24 18:03:16 [app] [I]   Rendered hosts/_templates.html.erb 
>> (22.0ms)
>> 2016-11-24 18:03:16 [app] [I] Completed 200 OK in 188ms (Views: 21.7ms | 
>> ActiveRecord: 57.6ms)
>> 2016-11-24 18:03:16 [app] [I] Started GET 
>> "/hosts/vmg-ffm-fosp-saltmaster-001.zone.loc/vm" for 10.2.50.252 at 
>> 2016-11-24 18:03:16 +0100
>> 2016-11-24 18:03:16 [app] [I] Processing by HostsController#vm as HTML
>> 2016-11-24 18:03:16 [app] [I]   Parameters: 
>> {"id"=>"vmg-ffm-fosp-saltmaster-001.zone.loc"}
>> 2016-11-24 18:03:16 [app] [I] Processing by HostsController#runtime as 
>> HTML
>> 2016-11-24 18:03:16 [app] [I]   Parameters: {"range"=>"7", 
>> "id"=>"vmg-ffm-fosp-saltmaster-001.zone.loc"}
>> 2016-11-24 18:03:17 [app] [I]   Rendered 
>> compute_resources_vms/show/_vmware.html.erb (132.1ms)
>> 2016-11-24 18:03:17 [app] [I]   Rendered 
>> compute_resources_vms/_details.html.erb (135.8ms)
>> 2016-11-24 18:03:17 [app] [I] Completed 200 OK in 261ms (Views: 136.7ms | 
>> ActiveRecord: 2.4ms)
>> 2016-11-24 18:03:17 [app] [I]   Rendered hosts/_runtime.html.erb (13.7ms)
>> 2016-11-24 18:03:17 [app] [I] Completed 200 OK in 318ms (Views: 22.3ms | 
>> ActiveRecord: 14.7ms)
>>
>>
>>
>> On the SmartProxy I just find the tftp access in
>>
>> /var/log/messages
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16462]: RRQ from 
>> 10.1.92.157 filename pxelinux.0
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16462]: tftp: client 
>> does not accept options
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16463]: RRQ from 
>> 10.1.92.157 filename pxelinux.0
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16464]: RRQ from 
>> 10.1.92.157 filename pxelinux.cfg/421a9bc3-c2f0-8422-19a7-38129347dbdc
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16465]: RRQ from 
>> 10.1.92.157 filename pxelinux.cfg/01-00-50-56-9a-3f-08
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16466]: RRQ from 
>> 10.1.92.157 filename boot/CentOS-7.2-x86_64-vmlinuz
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16467]: RRQ from 
>> 10.1.92.157 filename boot/CentOS-7.2-x86_64-vmlinuz.cbt
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16468]: RRQ from 
>> 10.1.92.157 filename boot/CentOS-7.2-x86_64-vmlinuz.0
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16469]: RRQ from 
>> 10.1.92.157 filename boot/CentOS-7.2-x86_64-vmlinuz.com
>>
>> Nov 24 18:03:18 vmg-ffm-fosp-dhcpdns-001 in.tftpd[16470]: RRQ from 
>> 10.1.92.157 filename boot/CentOS-7.2-x86_64-vmlinuz.c32
>>
>>
>> Am Donnerstag, 24. November 2016 17:51:46 UTC+1 schrieb Neil Hanlon:
>>
>>> Try removing these files from the proxy and doing a "cancel build" -> 
>>> "build" on the host.
>>>
>>> This will prompt the smart proxy to redownload the kstree files.
>>>
>>> If this still doesn't get the right files, please take a look at 
>>> /var/log/messages and see if there are any task/pulp logs referencing this 
>>> file.
>>>
>>> On Thu, Nov 24, 2016 at 11:37 AM Tom K. <[email protected]> wrote:
>>>
>> Hi!
>>>>
>>>>
>>>> I've build a couple of debian hosts with my foreman setup.
>>>>
>>>> Now I want to setup some CentOS Machines. 
>>>>
>>>>
>>>> But during Build process the PXE Start via TFPT failed. It says
>>>>
>>>>
>>>> Could not find boot/CentOS-7.2-x86_64-vmlinuz
>>>>
>>>>
>>>> I checked this on my smartproxy. It's there, but just 0 bytes.
>>>>
>>>>
>>>> -rw-r--r--. 1 foreman-proxy foreman-proxy    0 Nov 24 17:27 
>>>> CentOS-7.2-x86_64-vmlinuz
>>>>
>>>> -rw-r--r--. 1 foreman-proxy foreman-proxy    0 Nov 24 17:27 
>>>> CentOS-7.2-x86_64-initrd.img
>>>>
>>>>
>>>> What's going wrong? I can't find any further exceptions or something in 
>>>> my logs during a restart of the build process.
>>>>
>>>>
>>>> Thanks for help..
>>>>
>>>>
>>>>
>>>> -- Tom
>>>>
>>>>
>>>>
>>>> -- 
>>>> 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 [email protected].
>>>> To post to this group, send email to [email protected].
>>>
>>>
>>>> Visit this group at https://groups.google.com/group/foreman-users.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>>
>>> KAYAK
>>>
>>> Neil Hanlon
>>>
>>> Devops Engineer
>>>
>>> +1 978 902 8171
>>>
>> -- 
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/foreman-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
>
> KAYAK
>
> Neil Hanlon
>
> Devops Engineer
>
> +1 978 902 8171
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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