FAQ
Hi All,

I'm a little lost here and would be glad to get your help.

We have an HP-UX client, facter works very well.
operatingsystemrelease => B.11.31
rubysitedir => /opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1
rubyversion => 1.9.1

Puppet gem installation was ok except for the RDoc installation phase, we
got an error (described below)

We can't get it working with our Linux Puppet server (3.1.0-rc2) which is
installed with Passenger / Apache

Installing 2.7.18 and working against a non Passenger configured server
works just fine.

Here's the output when running 3.1.0

Installing RDoc documentation for puppet-3.1.0...
Could not find main page README.md


/opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/code_objects.rb:726:in `full_name':
failed to allocate memory (NoMemoryError)
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/code_objects.rb:725:in
`full_name'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/code_objects.rb:726:in
`full_name'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator.rb:521:in `name'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator.rb:666:in `<=>'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator/html.rb:327:in `sort'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator/html.rb:327:in
`index_to_links'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator/html.rb:224:in `block
in gen_into'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator/html.rb:216:in `each'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator/html.rb:216:in
`gen_into'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator/html.rb:180:in
`generate_html'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/generator/html.rb:86:in
`generate'
from /opt/iexpress/ruby/lib/ruby/1.9.1/rdoc/rdoc.rb:279:in `document'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:187:in
`run_rdoc'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:144:in
`install_rdoc'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/doc_manager.rb:130:in
`generate_rdoc'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:155:in
`block in execute'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:154:in
`each'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/commands/install_command.rb:154:in
`execute'
from /opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in
`invoke'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:134:in
`process_args'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:104:in
`run'
from
/opt/iexpress/ruby/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:63:in
`run'
from /usr/bin/gem:21:in `<main>'


# /opt/iexpress/ruby/bin/puppet agent --test --server puppet
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate
B: certificate verify failed: [certificate signature failure for /CN=Puppet
CA: puppet]
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources
using 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed: [certificate signature
failure for /CN=Puppet CA: puppet]
Error: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed: [certificate signature failure for /CN=Puppet CA: puppet]
Could not retrieve file metadata for puppet://puppet/plugins: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed: [certificate signature failure for /CN=Puppet CA: puppet]
Error: Could not retrieve catalog from remote server: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed: [certificate signature failure for /CN=Puppet CA: puppet]
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3
read server certificate B: certificate verify failed: [certificate
signature failure for /CN=Puppet CA: puppet]


# /opt/iexpress/ruby/bin/puppet --version

3.1.0

This is our server auth.conf

### Authenticated ACL - those applies only when the client
### has a valid certificate and is thus authenticated

# allow nodes to retrieve their own catalog (ie their configuration)
path ~ ^/catalog/([^/]+)$
method find
allow $1

# allow nodes to retrieve their own node definition
path ~ ^/node/([^/]+)$
method find
allow $1

# allow all nodes to access the certificates services
path /certificate_revocation_list/ca
method find
allow *

# allow all nodes to store their reports
path /report
method save
allow *

# inconditionnally allow access to all files services
# which means in practice that fileserver.conf will
# still be used
path /file
allow *

### Unauthenticated ACL, for clients for which the current master doesn't
### have a valid certificate; we allow authenticated users, too, because
### there isn't a great harm in letting that request through.

# allow access to the master CA
path /certificate/ca
auth any
method find
allow *

path /certificate/
auth any
method find
allow *

path /certificate_request
auth any
method find, save
allow *

# this one is not stricly necessary, but it has the merit
# to show the default policy which is deny everything else
path /
auth any
allow *


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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedMar 3, '13 at 9:25p
activeMar 3, '13 at 9:25p
posts1
users1
websitepuppetlabs.com

1 user in discussion

Leibo: 1 post

People

Translate

site design / logo © 2022 Grokbase