On 4/10/10 14:35, "John Hawkes-Reed" <john.hawkes-r...@futurenet.com> wrote:

> Hello.
> 
> While trying to get to the bottom of a puppetmaster+unicorn+nginx rig that's
> serving empty files, it seemed to be a relatively sensible idea to upgrade
> the puppetmaster to 2.6.1
> 
> This broke in a manner that seems to be the multiple-& bug.
> 
> Running the puppetmaster standalone gives the following:
> 
> [ ... ]

[Sigh]

Ok, that error was caused by the include wildcard, and now the thing works
with a standalone puppetmaster. Apologies for that noise.

However, when run from Unicorn, this appears in the daemon log:

Oct  4 14:18:28 fisar puppet-master[791]: Denying access: Forbidden request:
toop.mysparedomain.com(xxx.xxx.xxx.xxx) access to /file_metadata/plugins
[search] at line 93
Oct  4 14:18:28 fisar puppet-master[791]: Forbidden request:
toop.mysparedomain.com(xxx.xxx.xxx.xxx) access to /file_metadata/plugins
[search] at line 93
Oct  4 14:18:28 fisar puppet-master[791]: Denying access: Forbidden request:
toop.mysparedomain.com(xxx.xxx.xxx.xxx) access to
/catalog/toop.future.net.uk [find] at line 93
Oct  4 14:18:28 fisar puppet-master[791]: Forbidden request:
toop.mysparedomain.com(xxx.xxx.xxx.xxx) access to
/catalog/toop.mysparedomain.com [find] at line 93

... And this in nginx access.log:

Xxx.xxx.xxx.xxx - - [04/Oct/2010:15:18:28 +0100] "GET
/production/file_metadatas/plugins?ignore=---+%0A++-+.svn%0A++-+CVS%0A++-+.g
it&recurse=true&links=manage&&checksum_type=md5 HTTP/1.1" 403 104 "-" "-"
Xxx.xxx.xxx.xxx - - [04/Oct/2010:15:18:28 +0100] "GET
/production/file_metadata/plugins HTTP/1.1" 403 102 "-" "-"
Xxx.xxx.xxx.xxx - - [04/Oct/2010:15:18:28 +0100] "GET
/production/catalog/toop.mysparedomain.com?facts=eNqlVlmTqzYTff9%252BBd99SCW
hhtWsVakKXvDYe [ ... ]

Ruby version:

r...@fisar:/var/log/nginx# ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]


2.6.0 managed to serve files, it's just that some of them were zero-length.

 
> It would not surprise me to learn that this is a problem caused by running
> Debian Lenny + unfortunate combination of Beardian modules + backports +
> 'Will you just work you blighter!' fiddling.
> 
> r...@fisar:/usr/bin# gem list
> 
> *** LOCAL GEMS ***
> 
> bacon (1.1.0)
> cgi_multipart_eof_fix (2.5.0)
> daemons (1.1.0)
> eventmachine (0.12.10)
> fastthread (1.0.7)
> fcgi (0.8.8)
> gem_plugin (0.2.3)
> isolate (2.1.2)
> memcache-client (1.8.5)
> mongrel (1.1.5)
> passenger (2.2.15, 2.2.11)
> rack (1.2.1, 1.1.0)
> rake (0.8.7)
> thin (1.2.7)
> unicorn (1.1.3)

(I would like to apologise for the poorly-formatted disclaimer)

-- 
John Hawkes-Reed


-- 
Future Publishing Limited (registered company number 2008885) and Future 
Publishing (Overseas) Limited (registered company number 06202940) are wholly 
owned subsidiaries of Future plc (registered company number 3757874). Future 
Publishing Limited, Future Publishing (Overseas) Limited and Future plc are all 
incorporated in England and Wales and share the same registered address at 
Beauford Court, 30 Monmouth Street, Bath BA1 2BW.

This email and any files transmitted with it are confidential. If you have 
received this email in error please notify the sender and then delete it 
immediately. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of Future.

The recipient should check this email and any attachments for the presence of 
viruses. Future accepts no liability for any damage caused by any virus 
transmitted by this email.

Future may regularly and randomly monitor outgoing and incoming emails 
(including the content of them) and other telecommunications on its email and 
telecommunications systems. By replying to this email you give your consent to 
such monitoring.

*****

Save resources: think before you print.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to