Issue #11961 has been updated by James Turnbull.
Category changed from provider to package
Status changed from Unreviewed to Accepted
Priority changed from Urgent to Normal
We'll need to wrap something in the def latest block to check if the site is up.
<pre>
def latest
client = XMLRPC::Client.new2("http://pypi.python.org/pypi")
client.http_header_extra = {"Content-Type" => "text/xml"}
result = client.call("package_releases", @resource[:name])
result.first
end
</pre>
----------------------------------------
Bug #11961: pypi is down leading to "Could not run Puppet configuration client:
execution expired"
https://projects.puppetlabs.com/issues/11961
Author: Ahmed El Gamil
Status: Accepted
Priority: Normal
Assignee:
Category: package
Target version:
Affected Puppet version: 2.7.6
Keywords: python pip package provider
Branch:
Hi,
Currently, pypi.python.org is down, it seems like the puppet-pip package
provider is failing because of that ..
That eventually leads to "err: Could not run Puppet configuration client:
execution expired"
Trace:
<pre>
/usr/lib/ruby/1.8/timeout.rb:64:in `open'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:548:in `start'
/usr/lib/ruby/1.8/xmlrpc/client.rb:535:in `do_rpc'
/usr/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2'
/usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call'
/usr/lib/ruby/1.8/puppet/provider/package/pip.rb:53:in `latest'
/usr/lib/ruby/1.8/puppet/type/package.rb:136:in `insync?'
/usr/lib/ruby/1.8/puppet/type/package.rb:123:in `each'
/usr/lib/ruby/1.8/puppet/type/package.rb:123:in `insync?'
/usr/lib/ruby/1.8/puppet/property.rb:162:in `safe_insync?'
/usr/lib/ruby/1.8/puppet/transaction/resource_harness.rb:55:in `perform_changes'
/usr/lib/ruby/1.8/puppet/transaction/resource_harness.rb:133:in `evaluate'
/usr/lib/ruby/1.8/puppet/transaction.rb:49:in `apply'
/usr/lib/ruby/1.8/puppet/transaction.rb:84:in `eval_resource'
/usr/lib/ruby/1.8/puppet/transaction.rb:103:in `evaluate'
/usr/lib/ruby/1.8/puppet/util.rb:464:in `thinmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/1.8/puppet/util.rb:463:in `thinmark'
/usr/lib/ruby/1.8/puppet/transaction.rb:103:in `evaluate'
/usr/lib/ruby/1.8/puppet/transaction.rb:311:in `traverse'
/usr/lib/ruby/1.8/puppet/transaction.rb:99:in `evaluate'
/usr/lib/ruby/1.8/puppet/resource/catalog.rb:141:in `apply'
/usr/lib/ruby/1.8/puppet/configurer.rb:121:in `retrieve_and_apply_catalog'
/usr/lib/ruby/1.8/puppet/util.rb:180:in `benchmark'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/lib/ruby/1.8/puppet/util.rb:179:in `benchmark'
/usr/lib/ruby/1.8/puppet/configurer.rb:120:in `retrieve_and_apply_catalog'
/usr/lib/ruby/1.8/puppet/configurer.rb:151:in `run'
/usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/1.8/puppet/agent/locker.rb:21:in `lock'
/usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/lib/ruby/1.8/puppet/agent.rb:39:in `run'
/usr/lib/ruby/1.8/puppet/agent.rb:103:in `with_client'
/usr/lib/ruby/1.8/puppet/agent.rb:37:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:172:in `call'
/usr/lib/ruby/1.8/puppet/application.rb:172:in `controlled_run'
/usr/lib/ruby/1.8/puppet/agent.rb:35:in `run'
/usr/lib/ruby/1.8/puppet/agent.rb:78:in `start'
/usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:95:in `call'
/usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:95:in `__signal__'
/usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:95:in `each'
/usr/lib/ruby/1.8/puppet/external/event-loop/signal-system.rb:95:in `__signal__'
(eval):2:in `signal'
/usr/lib/ruby/1.8/puppet/external/event-loop/event-loop.rb:317:in `sound_alarm'
/usr/lib/ruby/1.8/puppet/agent.rb:82:in `start'
/usr/lib/ruby/1.8/puppet/daemon.rb:125:in `start'
/usr/lib/ruby/1.8/puppet/application/agent.rb:354:in `main'
/usr/lib/ruby/1.8/puppet/application/agent.rb:311:in `run_command'
/usr/lib/ruby/1.8/puppet/application.rb:306:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:410:in `hook'
/usr/lib/ruby/1.8/puppet/application.rb:306:in `run'
/usr/lib/ruby/1.8/puppet/application.rb:401:in `exit_on_fail'
/usr/lib/ruby/1.8/puppet/application.rb:306:in `run'
/usr/lib/ruby/1.8/puppet/util/command_line.rb:69:in `execute'
/usr/bin/puppet:4
err: Could not run Puppet configuration client: execution expired
</pre>
--
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.