Issue #4629 has been updated by joy huang.

dear james
thanks your reply firstly

(1)with trace run:

[r...@ctc92 puppet]# puppetrun -p 10 —host ubunu910.dvmns.com --trace
Triggering —host
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/request.rb:169:in `set_uri_key'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/request.rb:80:in `initialize'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:115:in `new'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:115:in `request'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:250:in `save'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:64:in `save'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:123:in `run_for_host'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:68:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:67:in `fork'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:67:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:42:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:397:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
/usr/sbin/puppetrun:4
Host —host failed: Could not understand URL 
https://—host:8139/production/run/—host: bad URI(is not URI?): 
https://%E2%80%94host:8139/production/run/%E2%80%94host
Triggering ubunu910.dvmns.com
—host finished with exit code 2
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:57:in `deserialize'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/rest.rb:90:in `save'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector/indirection.rb:253:in `save'
/usr/lib/ruby/site_ruby/1.8/puppet/indirector.rb:64:in `save'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:123:in `run_for_host'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:68:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:67:in `fork'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:67:in `main'
/usr/lib/ruby/site_ruby/1.8/puppet/application/kick.rb:42:in `run_command'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:397:in `exit_on_fail'
/usr/lib/ruby/site_ruby/1.8/puppet/application.rb:300:in `run'
/usr/sbin/puppetrun:4
Host ubunu910.dvmns.com failed: Error 403 on SERVER: Forbidden request: 
ctc92.dvmns.com(221.238.249.92) access to /run/ubunu910.dvmns.com [save] 
authenticated  at line 0
ubunu910.dvmns.com finished with exit code 2
Failed: —host, ubunu910.dvmns.com


(2)with debug run :

[r...@ctc92 puppet]# puppetrun -p 10 —host ubunu910.dvmns.com --debug
Triggering —host
Host —host failed: Could not understand URL 
https://—host:8139/production/run/—host: bad URI(is not URI?): 
https://%E2%80%94host:8139/production/run/%E2%80%94host
Triggering ubunu910.dvmns.com
—host finished with exit code 2
Host ubunu910.dvmns.com failed: Error 403 on SERVER: Forbidden request: 
ctc92.dvmns.com(221.238.249.92) access to /run/ubunu910.dvmns.com [save] 
authenticated  at line 0
ubunu910.dvmns.com finished with exit code 2
Failed: —host, ubunu910.dvmns.com

thanks 
joy
----------------------------------------
Bug #4629: puppet run Error 403 on SERVER: Forbidden request
http://projects.puppetlabs.com/issues/4629

Author: joy huang
Status: Needs more information
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected version: 0.25.0
Keywords: 
Branch: 


puppet master release:puppet-2.6.1rc2
puppet client release:puppet--0.25.5


[r...@master ~]# puppetrun -p 10 --host ubunu910.dvmns.com
Triggering ubunu910.dvmns.com
Host ubunu910.dvmns.com failed: Error 403 on SERVER: Forbidden request: 
ctc92.dvmns.com(221.238.249.92) access to /run/ubunu910.dvmns.com [save] 
authenticated  at line 0
ubunu910.dvmns.com finished with exit code 2
Failed: ubunu910.dvmns.com

how to fix this 

mymail is: [email protected]

thanks
joy




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to