Hi all, When i try to boot an ec2 instance using: *puppet node_aws bootstrap --server myserverOnAWS.com --image ami-61ad0108 --keyname test-malcom --login ubuntu --type m1.small --keyfile test-malcom.pem -g puppets --verbose --debug --puppetagent-certname test* I get this error: *notice: Signing certificate ...* *debug: certificate_status supports formats: b64_zlib_yaml pson raw yaml; using pson* *debug: Failed to load library ''selinux'' for feature ''selinux''* *debug: Failed to load library ''ldap'' for feature ''ldap''* *debug: /File[/home/ubuntu/.puppet/ssl/private_keys]: Autorequiring File[/home/ubuntu/.puppet/ssl]* *debug: /File[/home/ubuntu/.puppet/ssl/certs]: Autorequiring File[/home/ubuntu/.puppet/ssl]* *debug: /File[/home/ubuntu/.puppet/ssl/private]: Autorequiring File[/home/ubuntu/.puppet/ssl]* *debug: /File[/home/ubuntu/.puppet/var]: Autorequiring File[/home/ubuntu/.puppet]* *debug: /File[/home/ubuntu/.puppet/var/state]: Autorequiring File[/home/ubuntu/.puppet/var]* *debug: /File[/home/ubuntu/.puppet/ssl/certificate_requests]: Autorequiring File[/home/ubuntu/.puppet/ssl]* *debug: /File[/home/ubuntu/.puppet/var/lib]: Autorequiring File[/home/ubuntu/.puppet/var]* *debug: /File[/home/ubuntu/.puppet/var/run]: Autorequiring File[/home/ubuntu/.puppet/var]* *debug: /File[/home/ubuntu/.puppet/ssl/certs/ca.pem]: Autorequiring File[/home/ubuntu/.puppet/ssl/certs]* *debug: /File[/home/ubuntu/.puppet/ssl/public_keys]: Autorequiring File[/home/ubuntu/.puppet/ssl]* *debug: /File[/home/ubuntu/.puppet/var/facts]: Autorequiring File[/home/ubuntu/.puppet/var]* *debug: /File[/home/ubuntu/.puppet/ssl]: Autorequiring File[/home/ubuntu/.puppet]* *debug: Finishing transaction 69996349432740* *debug: Using cached certificate for test* *debug: Using cached certificate for test* *debug: Using cached certificate_request for test* *debug: certificate_status supports formats: b64_zlib_yaml pson raw yaml; using pson* *debug: certificate_status supports formats: b64_zlib_yaml pson raw yaml; using pson* *warning: Signing certificate ... Failed* *err: Signing certificate error: Error 403 on SERVER: Forbidden request: domU-12-31-39-06-8A-D7.compute-1.internal(10.208.141.33) access to /certificate_status/test [save] at line 123* * * I guess problem was on my auth.conf so i append: *# Allow unauthenticated access to certificates:* * * *path /certificate_status* *method save* *auth any* *allow test* * * *path /certificate/ca* *auth no* *method find* *allow ** * * *path /certificate/* *auth no* *method find* *allow ** But i get the same error. Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/e-x7Jo5YDxEJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Sun, Sep 30, 2012 at 1:02 PM, Ignasi López <ignasi.lopez@mmip.es> wrote:> Hi all, > > When i try to boot an ec2 instance using: > > *puppet node_aws bootstrap --server myserverOnAWS.com --image > ami-61ad0108 --keyname test-malcom --login ubuntu --type m1.small --keyfile > test-malcom.pem -g puppets --verbose --debug --puppetagent-certname test* > >I can''t prove it but I think you''re forgetting to "sudo" puppet run the command again with sudo? or do it as root -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I can''t run the command with sudo: sudo puppet help node_aws err: no such file to load -- puppet/face/node/install err: Try ''puppet help help help'' for usage It''s permission problem??? Thanks! On Sunday, September 30, 2012 10:06:26 PM UTC+2, Clarence Beeks wrote:> > On Sun, Sep 30, 2012 at 1:02 PM, Ignasi López <ignasi...@mmip.es<javascript:> > > wrote: > >> Hi all, >> >> When i try to boot an ec2 instance using: >> >> *puppet node_aws bootstrap --server myserverOnAWS.com --image >> ami-61ad0108 --keyname test-malcom --login ubuntu --type m1.small --keyfile >> test-malcom.pem -g puppets --verbose --debug --puppetagent-certname test* >> >> > I can''t prove it but I think you''re forgetting to "sudo" puppet > > run the command again with sudo? or do it as root > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/DgRbhJj4PusJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
in fact i can''t use puppet as a root: *sudo puppet help* *err: no such file to load -- puppet/face/node/install* *err: Try ''puppet help help help'' for usage* On Sunday, September 30, 2012 11:16:56 PM UTC+2, Ignasi López wrote:> > I can''t run the command with sudo: > > sudo puppet help node_aws > err: no such file to load -- puppet/face/node/install > err: Try ''puppet help help help'' for usage > > It''s permission problem??? > > Thanks! > > On Sunday, September 30, 2012 10:06:26 PM UTC+2, Clarence Beeks wrote: >> >> On Sun, Sep 30, 2012 at 1:02 PM, Ignasi López <ignasi...@mmip.es> wrote: >> >>> Hi all, >>> >>> When i try to boot an ec2 instance using: >>> >>> *puppet node_aws bootstrap --server myserverOnAWS.com --image >>> ami-61ad0108 --keyname test-malcom --login ubuntu --type m1.small --keyfile >>> test-malcom.pem -g puppets --verbose --debug --puppetagent-certname test >>> * >>> >>> >> I can''t prove it but I think you''re forgetting to "sudo" puppet >> >> run the command again with sudo? or do it as root >> >> >>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/rqmJXluUQxgJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Sun, Sep 30, 2012 at 2:22 PM, Ignasi López <ignasi.lopez@mmip.es> wrote:> in fact i can''t use puppet as a root: > > *sudo puppet help* > *err: no such file to load -- puppet/face/node/install* > *err: Try ''puppet help help help'' for usage* > >First step is seeing if puppet will run for you. Puppet runs as root or you need to sudo and run it. What version of puppet are you running? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
2.7.19 It''s weird but, i can use puppet without sudo, in fact, the initial problem appears without sudo. If i try run puppet as a root in order to sign, list o revoke certificates there aren''t any problem. But if i try run puppet to launch an instance with root, i get the last error... On Monday, October 1, 2012 12:37:50 AM UTC+2, Clarence Beeks wrote:> > On Sun, Sep 30, 2012 at 2:22 PM, Ignasi López <ignasi...@mmip.es<javascript:> > > wrote: > >> in fact i can''t use puppet as a root: >> >> *sudo puppet help* >> *err: no such file to load -- puppet/face/node/install* >> *err: Try ''puppet help help help'' for usage* >> >> > First step is seeing if puppet will run for you. Puppet runs as root or > you need to sudo and run it. > > What version of puppet are you running? > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/hOuQoEiIagcJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Your problem is that you are not propogating the RUBYLIB environment variable (for the cloud provisioner) when you run sudo as you are. Use: sudo RUBYLIB=$RUBYLIB puppet node_aws ... On Monday, October 1, 2012 2:00:48 AM UTC-4, Ignasi López wrote:> > 2.7.19 > It''s weird but, i can use puppet without sudo, in fact, the initial > problem appears without sudo. If i try run puppet as a root in order to > sign, list o revoke certificates there aren''t any problem. But if i try run > puppet to launch an instance with root, i get the last error... > > > On Monday, October 1, 2012 12:37:50 AM UTC+2, Clarence Beeks wrote: >> >> On Sun, Sep 30, 2012 at 2:22 PM, Ignasi López <ignasi...@mmip.es> wrote: >> >>> in fact i can''t use puppet as a root: >>> >>> *sudo puppet help* >>> *err: no such file to load -- puppet/face/node/install* >>> *err: Try ''puppet help help help'' for usage* >>> >>> >> First step is seeing if puppet will run for you. Puppet runs as root or >> you need to sudo and run it. >> >> What version of puppet are you running? >> >>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/lSPlgiA7U4gJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Possibly Parallel Threads
- Not able to install puppet enterprise onn agent node using install command.
- Using stored configs brakes on client update
- Freezes at "debug: file_metadata supports formats:"
- Puppet master can not find file_metadata for my puppet module
- info: Retrieving plugin, err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': undefined method `closed?' for nil:NilClass