Hello,
i need some help with my foreman 1.3.0 version.
I made an update from 1.2.3 to 1.3.0 and installed the new node.rb on my
puppetmaster.
So now… if i make a manual request to the ENC its a little bit strange…
the first request is fine - but even if i make a second request there is an
error !
#: sudo ruby node.rb $(dnsdomainname -f)
···
---
environment: production
classes: {}
parameters:
foreman_env: production
puppetmaster: ""
root_pw: xybxa6JUkz63w
#: sudo ruby node.rb $(dnsdomainname -f)
— false
Error retrieving node puppetmaster01.local.de.easynet.net:
Net::HTTPForbidden
In the apache log from the ENC is nothing special:
==> /var/log/httpd/ssl_request_log <==
==> /var/log/httpd/error_log <==
[ 2013-11-04 09:48:05.7348 6932/7f6230bb0700 Pool2/Spawner.h:739 ]: [App
7040 stdout]
[ 2013-11-04 09:48:15.9330 6932/7f6230bb0700 Pool2/SmartSpawner.h:301 ]:
Preloader for /usr/share/foreman started on PID 7040, listening on
unix:/tmp/passenger.1.0.6926/generation-0/backends/preloader.7061
==> /var/log/httpd/foreman_access <==
10.x.x.x - - [04/Nov/2013:09:48:05 +0100] “GET
/node/puppetmaster01.xxxx.de?format=yml HTTP/1.1” 403 1 “-” “-”
Can somebody please help me - otherwise i have to rollback the new version

Thanks
Found the solution - the issue was the passenger with different version
numbers - everything works fine now…
Thanks
···
Am Montag, 4. November 2013 09:54:38 UTC+1 schrieb Sven Milinski:
>
> Hello,
>
> i need some help with my foreman 1.3.0 version.
>
> I made an update from 1.2.3 to 1.3.0 and installed the new node.rb on my
> puppetmaster.
>
> So now... if i make a manual request to the ENC its a little bit
> strange... the first request is fine - but even if i make a second request
> there is an error !
>
>
> #: sudo ruby node.rb $(dnsdomainname -f)
> ---
> environment: production
> classes: {}
>
> parameters:
> foreman_env: production
> puppetmaster: ""
> root_pw: xybxa6JUkz63w
> #: sudo ruby node.rb $(dnsdomainname -f)
> --- false
> Error retrieving node puppetmaster01.local.de.easynet.net:
> Net::HTTPForbidden
>
> In the apache log from the ENC is nothing special:
>
> ==> /var/log/httpd/ssl_request_log <==
>
> ==> /var/log/httpd/error_log <==
> [ 2013-11-04 09:48:05.7348 6932/7f6230bb0700 Pool2/Spawner.h:739 ]: [App
> 7040 stdout]
> [ 2013-11-04 09:48:15.9330 6932/7f6230bb0700 Pool2/SmartSpawner.h:301 ]:
> Preloader for /usr/share/foreman started on PID 7040, listening on
> unix:/tmp/passenger.1.0.6926/generation-0/backends/preloader.7061
>
> ==> /var/log/httpd/foreman_access <==
> 10.x.x.x - - [04/Nov/2013:09:48:05 +0100] "GET /node/
> puppetmaster01.xxxx.de?format=yml HTTP/1.1" 403 1 "-" "-"
>
> Can somebody please help me - otherwise i have to rollback the new version
> :-(
>
> Thanks
>
The Apache logs aren't generally very helpful - can you show the Foreman
logs for the two requests? That should detail what the problem is.
Greg
···
On 4 November 2013 08:54, Sven Milinski wrote:
In the apache log from the ENC is nothing special:
Can you explain how you fixed this? I am running into the same issue.
···
On Monday, November 4, 2013 5:53:57 AM UTC-6, Sven Milinski wrote:
>
> Found the solution - the issue was the passenger with different version
> numbers - everything works fine now...
>
> Thanks
>
> Am Montag, 4. November 2013 09:54:38 UTC+1 schrieb Sven Milinski:
>>
>> Hello,
>>
>> i need some help with my foreman 1.3.0 version.
>>
>> I made an update from 1.2.3 to 1.3.0 and installed the new node.rb on my
>> puppetmaster.
>>
>> So now... if i make a manual request to the ENC its a little bit
>> strange... the first request is fine - but even if i make a second request
>> there is an error !
>>
>>
>> #: sudo ruby node.rb $(dnsdomainname -f)
>> ---
>> environment: production
>> classes: {}
>>
>> parameters:
>> foreman_env: production
>> puppetmaster: ""
>> root_pw: xybxa6JUkz63w
>> #: sudo ruby node.rb $(dnsdomainname -f)
>> --- false
>> Error retrieving node puppetmaster01.local.de.easynet.net:
>> Net::HTTPForbidden
>>
>> In the apache log from the ENC is nothing special:
>>
>> ==> /var/log/httpd/ssl_request_log <==
>>
>> ==> /var/log/httpd/error_log <==
>> [ 2013-11-04 09:48:05.7348 6932/7f6230bb0700 Pool2/Spawner.h:739 ]: [App
>> 7040 stdout]
>> [ 2013-11-04 09:48:15.9330 6932/7f6230bb0700 Pool2/SmartSpawner.h:301 ]:
>> Preloader for /usr/share/foreman started on PID 7040, listening on
>> unix:/tmp/passenger.1.0.6926/generation-0/backends/preloader.7061
>>
>> ==> /var/log/httpd/foreman_access <==
>> 10.x.x.x - - [04/Nov/2013:09:48:05 +0100] "GET /node/
>> puppetmaster01.xxxx.de?format=yml HTTP/1.1" 403 1 "-" "-"
>>
>> Can somebody please help me - otherwise i have to rollback the new
>> version :-(
>>
>> Thanks
>>
>
Hello Mike,
take a look @ /var/log/foreman/production.log - there should be something
like "method /reports or /facts blabla is DEPRECATED"
please be sure that you installed the new node.rb (/etc/puppet/) and
foreman.rb (in /usr/lib/ruby/site.ruby/1.8/puppet/reports/) and reload the
foreman or restart the server…
Thats it
Hope this will help
···
Am Montag, 11. November 2013 20:18:34 UTC+1 schrieb Mike Johnston:
>
> Can you explain how you fixed this? I am running into the same issue.
>
> On Monday, November 4, 2013 5:53:57 AM UTC-6, Sven Milinski wrote:
>>
>> Found the solution - the issue was the passenger with different version
>> numbers - everything works fine now...
>>
>> Thanks
>>
>> Am Montag, 4. November 2013 09:54:38 UTC+1 schrieb Sven Milinski:
>>>
>>> Hello,
>>>
>>> i need some help with my foreman 1.3.0 version.
>>>
>>> I made an update from 1.2.3 to 1.3.0 and installed the new node.rb on my
>>> puppetmaster.
>>>
>>> So now... if i make a manual request to the ENC its a little bit
>>> strange... the first request is fine - but even if i make a second request
>>> there is an error !
>>>
>>>
>>> #: sudo ruby node.rb $(dnsdomainname -f)
>>> ---
>>> environment: production
>>> classes: {}
>>>
>>> parameters:
>>> foreman_env: production
>>> puppetmaster: ""
>>> root_pw: xybxa6JUkz63w
>>> #: sudo ruby node.rb $(dnsdomainname -f)
>>> --- false
>>> Error retrieving node puppetmaster01.local.de.easynet.net:
>>> Net::HTTPForbidden
>>>
>>> In the apache log from the ENC is nothing special:
>>>
>>> ==> /var/log/httpd/ssl_request_log <==
>>>
>>> ==> /var/log/httpd/error_log <==
>>> [ 2013-11-04 09:48:05.7348 6932/7f6230bb0700 Pool2/Spawner.h:739 ]: [App
>>> 7040 stdout]
>>> [ 2013-11-04 09:48:15.9330 6932/7f6230bb0700 Pool2/SmartSpawner.h:301 ]:
>>> Preloader for /usr/share/foreman started on PID 7040, listening on
>>> unix:/tmp/passenger.1.0.6926/generation-0/backends/preloader.7061
>>>
>>> ==> /var/log/httpd/foreman_access <==
>>> 10.x.x.x - - [04/Nov/2013:09:48:05 +0100] "GET /node/
>>> puppetmaster01.xxxx.de?format=yml HTTP/1.1" 403 1 "-" "-"
>>>
>>> Can somebody please help me - otherwise i have to rollback the new
>>> version :-(
>>>
>>> Thanks
>>>
>>