Displaying 17 results from an estimated 17 matches for "rpc2".
Did you mean:
rc2
2007 Jan 18
2
How to use API from AWS -- help!
...applications that must use
the users web service to register and login, etc. How can I access
these methods? Here''s what I''m trying (with no luck):
1) In: class SomeController < ApplicationController I have,
web_client_api :user, :xmlrpc, "http://localhost:3000/user/api/RPC2",
:handler_name => "user_api"
And I try using things like "user_api.authenticate(un,pw)" etc. Doesn''t
work, I''m currently getting:
"Missing API definition file in apis/user_api.rb" but surely you don''t
have to include the file from...
2007 Dec 10
3
Is the SSL issue solvable for (the apt-get) Puppet version 0.20.1 ??
Hi All,
I''ve been trying to resolve the SSL issue as described on the link at the
bottom. I understand the issue and I''ve tried to implement all the different
patches (one at a time .. :-). However for most of them there are either
files missing or code not found in the files. It seems this is due to a
version difference in Puppet. The docs and patches seem to be for the
2007 Jul 25
6
Signing certificates with mongrel+apache puppetmaster
Hi,
Is there a way to have puppetmaster sign new clients'' certificates when
using apache+mongrel for serving, without having a separate puppetmaster
instance running webrick on a different port/IP?
I guess this does not work out of the box because apache is told to do
the verification very early in the connection process, at which point it
does not yet know that the client is going to
2006 Jul 06
5
Strange RPC error
...ors and google does not help me.
The situation is simple: I installed Xen-3.0.2 on gentoo.
The Dom0 kernel is up and running, all works perfectly.
But when I try to start a DomU, xm raises this error:
# xm create -c <conf_file>
Using config file <conf_file>
Error: <ProtocolError: RPC2/: -1>
It''s all.
After, `xm list` shows that the DomU is in "pause status". If I try to
unpause It (`xm unpause`) the DomU''s status becomes "-----".
But DomU does not start.
Log shows an error while loading the DomU:
...
[2006-07-06 18:50:10 xend] CRIT...
2006 May 16
7
Unable to bring up Mini-OS on x86_64
...), but still got the same error
Thanks,
Aravindh Puthiyaparambil
Xen Development Team
Unisys, Tredyffrin, PA
E-Mail: aravindh.puthiyaparambil@unisys.com
xenbox:~/xen/xen-unstable/extras/mini-os # xm create domain_config Using config file "domain_config".
Error: <ProtocolError for /RPC2: -1 >
Dmesg
-----
xenbox kernel: python[12171] general protection rip:2b14fba3776e rsp:427ff7d0 error:0
Xend.log
--------
[2006-05-16 13:30:55 xend.XendDomainInfo] DEBUG (XendDomainInfo:186) XendDomainInfo.create([''vm'', [''name'', ''Mini-OS''],...
2006 Jul 14
0
xmlrpc over SSH
.... using the following test code. It seems that it works only once... I mean for executing only one command over the established channel/connection.
Any ideas...
code
from xmlrpclib import Transport
from xen.util.xmlrpclib2 import ServerProxy
server = ServerProxy("ssh://root@192.168.0.102/RPC2", None, None, 1, 1)
l = server.xend.domains(1)
print l
# try again
l = server.xend.domains(1)
print l
Output :
-----------
[''Domain-0'', ''U1'']
Traceback (most recent call last):
File "/home/jd/test/t.py", line 15, in ?
l = server.xend.domains...
2006 Feb 18
0
activerecord connections with xmlrpc
..." or wrong number of parameters!")
end
---------------------------------------------------------------------
client code:
------------------------------------------------------
require ''xmlrpc/client''
client = XMLRPC::Client.new("localhost","/RPC2",8080)
begin
param = client.call("get_username",123)
puts "Hello #{param}"
rescue XMLRPC::FaultException => e
puts "Error:"
puts e.faultCode
puts "faultString = [#{e.faultString}]"
end
------------------------------------------------------...
2007 May 19
2
A little more on this puppetmaster thing
So one of the behaviors that seems to wedge puppetmasterd is if you
re-initialize a client, the example here being that I installed an older
version of puppet on a bunch of machines to test out how things work:
* at some point in the past install older rev of puppet
- client regiesters itself with the server, etc.
- works fine.
* recently, remove the old puppet in favor of a new version that
2006 Jan 31
0
webservice problem (cant make client)
...pc/driver''
require ''uri''
require ''soap/wsdlDriver''
require "xmlrpc/client"
# Initialize the SOAP driver
wsdl = "http://twodecode.pilot.localhost.be:3000/backend/wsdl"
wsdl2 = "http://twodecode.pilot.localhost.be:3000/backend/api/RPC2"
ns = "urn:ActionWebService"
#xml parser error
#~ proxy = SOAP::RPC::Driver.new(wsdl, ''urn:ActionWebService'')
#~ proxy.add_method(''Authenticate'', ''twa'', ''login'', ''pass'')
#~ result = proxy.Au...
2009 Jul 16
6
trouble with passenger and 0.25.0beta2
...nternal Server Error
err: Could not call puppetmaster.getconfig: #<RuntimeError: HTTP-Error: 500 Internal Server Error>
err: Could not retrieve catalog: HTTP-Error: 500 Internal Server Error
warning: Not using cache on failed catalog
and in apache logs, nothing more than a few:
"POST /RPC2 HTTP/1.1" 500 20152 "-" "XMLRPC::Client (Ruby 1.8.5)"
(this is with "--debug" in config.ru).
It''s on redhat el5 with the following gems installed:
activerecord (2.1.0)
activesupport (2.1.0)
fastthread (1.0.7)
passenger (2.2.2)
rack (1.0.0)
rake (0.8.1)...
2006 Jun 09
15
[RFC][PATCH] Secure XML-RPC for Xend
...applied
immediately. I''d like to get some feedback from people as to whether
this approach is reasonable. A user-facing change is that now you can
use the XM_SERVER environmental variable to specific an XML-RPC URI.
For instance:
XM_SERVER=''ssh://root@rhesis.austin.ibm.com/RPC2'' xm list
Runs xm list on a local machine but does all of the RPCs over a secure
connection (prompting for passwords).
Thoughts?
Regards,
Anthony Liguori
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/...
2006 Nov 29
12
ssl certificate problem
I''ve tried to implement puppetmaster High Availability (mon+heartbeat).
Herefore, the puppet client and puppet master are running on both servers.
When the puppet client starts up, it generates a certificate, public and
private key for the machine it runs on.
When the puppet master starts up, it changes something so that the puppet
client have no valid certificate anymore (the
2007 Jun 20
4
puppetmaster through HTTP proxy
I have a test area network that is not routed to the production network
because of IP address space re-use between the two networks. I would
like the puppetmaster to serve both the production and test area
networks. The puppetmaster is on the production network. I understand
the puppet to puppetmaster connect to be HTTP using SSL.
Can I somehow setup the puppet clients to use an HTTP
2009 Feb 10
3
something wrong with mongrel?
Hi all,
I''ve followed http://reductivelabs.com/trac/puppet/wiki/UsingMongrel
for configuring my puppet with mongrel.
Al seems to work fine, except that, after a reinstall of 40 nodes atone
time, I got many kind of errors like:
-------------------------------------------------------------------------
err: Could not request certificate: Certificate retrieval failed: .tmp
file already
2012 May 07
3
CountryChk.dll missing
I am trying to install Cyperlink PowerDirector 9/10 on a 32bit wine, but when installation commences, I get an error
"CountryChk.dll' is missing.
Nothing more.
Is there any way around it?
2006 Mar 28
7
[PATCH] XML-RPC: Cope with large integers on x86-64 systems
Attached patch fixes a problem in marshaling large integers. It seems
to only occur on systems with very large memory. However, on those
systems, it''s a show-stopper. I see this as a temporary solution until
we can sanitize the XML-RPC functions and get rid of all the
S-Expression stuff.
I''ll run xm-test tomorrow against it. Right now I''ve only done basic
2010 May 17
0
strace log
...559
read(3, ""..., 4096) = 0
close(3) = 0
munmap(0x7f731ad03000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
connect(3, {sa_family=AF_FILE, path="/var/run/xend/xmlrpc.sock"...}, 27) = 0
sendto(3, "POST /RPC2 HTTP/1.0\r\nHost: \r\nUser"..., 133, 0, NULL, 0) = 133
sendto(3, "<?xml version=''1.0''?>\n<methodCall"..., 3278, 0, NULL, 0) = 3278
recvfrom(3, "H"..., 1, 0, NULL, NULL) = 1
recvfrom(3, "T"..., 1, 0, NULL, NULL) = 1
recvfrom(3, "...