Displaying 14 results from an estimated 14 matches for "login_with_password".
2010 Aug 19
0
test_bindings failed: MESSAGE_METHOD_UNKNOWN session.login_with_password
Hi,
I am testing test_bindings.c, after compile, i run
./test_bindings localhost:8006 root 123, but it came out
:MESSAGE_METHOD_UNKNOWN session.login_with_password
I am using xen-3.4.1, and i set xend-config.sxp like this:
(xen-api-server ((9367 none)(unix none)))
(xend-tcp-xmlrpc-server yes)
(xen-tcp-xmlrpc-server-address ''localhost'')
(xen-tcp-xmlrpc-server-port 8006)
I send to xen-api maillist, but got no answer,...
2012 Jun 20
2
"No text console available" when trying to get the console of a just created VM from a template on XCP
...lib/xcp/state.db]||redo_log] Flushing database to all active
redo-logs
[20120620T03:11:53.273Z| info|ubuntu-xcp|446 UNIX
/var/lib/xcp/xapi||cli] xe console
vm=8be7130d-1f7a-b161-e618-8ea96b40673d username=root password=null
[20120620T03:11:53.274Z| info|ubuntu-xcp|446 UNIX
/var/lib/xcp/xapi|session.login_with_password D:1de8b836546f|xapi]
Session.create trackid=3a72e74672306119668c1ba10bd8034a pool=false
uname=root is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
[20120620T03:11:53.275Z|debug|ubuntu-xcp|446 UNIX
/var/lib/xcp/xapi|session.login_with_password D:1de8b836546f|xa...
2007 Dec 06
3
XenApi
...o the responce
back is in html, shouldnt it be in xml format? At the moment this is my
code
$fp = fsockopen("unix:///var/run/xend/xen-api.sock", 0, $errno, $errstr,
30);
if (!$fp) {
echo "$errstr ($errno)\n";
} else {
$request = xmlrpc_encode_request("session.login_with_password",
array("root","none"));
fwrite($fp, $request."\n");
while (!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
When i run the code i always get this responce back...
<head>
<title>Error response</...
2012 Jul 27
0
Bug#682979: sample logfile
...021a392d0|backgroundscheduler] Sleeping until next event (179.833285 seconds)
[20120727T14:44:24.760Z| info|vh10|1023 UNIX /var/lib/xcp/xapi||cli] xe vm-start uuid=5a56791e-9f6a-bae9-f408-3e481c34276a username=root password=null
[20120727T14:44:24.762Z| info|vh10|1023 UNIX /var/lib/xcp/xapi|session.login_with_password D:88ab98dc6692|xapi] Session.create trackid=2be0585523df012af5c776e6b126fa52 pool=false uname=root is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
[20120727T14:44:24.763Z|debug|vh10|1023 UNIX /var/lib/xcp/xapi|session.login_with_password D:88ab98dc6692|xapi] A...
2013 Nov 01
5
xend with XenAPI in stackless python-2.7
...on
Python 2.7.5 Stackless 3.1b3 060516 (default, Oct 31 2013,
16:45:11)
[GCC 4.2.2] on
linux2
Type "help", "copyright", "credits" or "license" for more
information.
>>> import
XenAPI
>>> session =
XenAPI.xapi_local()
>>> session.login_with_password('''',
'''')
Traceback (most recent call
last):
File "<stdin>", line 1, in
<module>
File "/usr/lib/python2.7/site-packages/XenAPI.py", line 198, in
<lambda>
return lambda *params: self._login(name,
params)
File "...
2010 Aug 29
1
XCP (bug?): another frontend device is already connected to this domain
...)
If I recreate VBD, it seems fine but say usual error about ''non
bootable'' (as if I run installation once and stops it).
Main concern - first error message? What it is? And how can I debug i
xensource.log is clear:
[20100829T16:31:58.200Z| info|cvt-xh1|10262 unix-RPC|
session.login_with_password D:6804a72a3b6a|http] stunnel pid: 23964
(cached = true) connected to 10.1.3.4:443
[20100829T16:31:58.225Z|debug|cvt-xh1|10263 unix-RPC||cli] xe vm-start
uuid=105e35f9-71ba-799e-a8c0-4579f4c03087 username=root password=null
_______________________________________________
Xen-devel mailing list
Xen...
2011 Oct 27
0
XenServer 6: Is it a bug? - NO output of: xe vm-import filename=Solaris10-extended-HVM-template
...HVM-template
sr-uuid=43459166-5829-a7bd-d6bf-59231ebcc732
[root@xs6db01 ~]#
# --- xensource.log
[20111027T21:04:27.270Z|debug|xs6db01|925 unix-RPC||cli] xe vm-import
filename=Solaris10-extended-HVM-template username=root password=null
[20111027T21:04:27.281Z| info|xs6db01|925
unix-RPC|session.login_with_password D:c4c37c814f6b|xapi] Session.create
trackid=13f38cbcea42554985134ffbb1128bf5 pool=false uname=root
is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
[20111027T21:04:27.285Z|debug|xs6db01|925
unix-RPC|session.login_with_password D:c4c37c814f6b|xapi] Attemptin...
2012 Apr 05
0
xe vdi-create failure ot local SR type=file and type=ext
...am I missing something? Anybody managed to workaround
this problem?
Here is a short extract from xcp-xapi.log
id=ba4e9e1a-bc42-0dc9-af0e-5db2905666ab type=user name-label=test
virtual-size=1GiB username=root password=null
[20120403T07:57:53.973Z| info|hyperion|546 UNIX
/var/lib/xcp/xapi|session.login_with_password D:93575fa7333c|xapi]
Session.create trackid=1ef3448b63e70822073569022044e96b pool=false
uname=root is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
[20120403T07:57:53.974Z|debug|hyperion|546 UNIX
/var/lib/xcp/xapi|session.login_with_password D:93575fa7333c|xapi...
2012 Apr 05
0
Re: [Xen-API] xe vdi-create failure ot local SR type=file and type=ext
...orkaround
> this problem?
>
>
> Here is a short extract from xcp-xapi.log
>
> id=ba4e9e1a-bc42-0dc9-af0e-5db2905666ab type=user name-label=test
> virtual-size=1GiB username=root password=null
> [20120403T07:57:53.973Z| info|hyperion|546 UNIX
> /var/lib/xcp/xapi|session.login_with_password D:93575fa7333c|xapi]
> Session.create trackid=1ef3448b63e70822073569022044e96b pool=false
> uname=root is_local_superuser=true auth_user_sid=
> parent=trackid=9834f5af41c964e225f24279aefe4e49
> [20120403T07:57:53.974Z|debug|hyperion|546 UNIX
> /var/lib/xcp/xapi|session.login_with_pas...
2007 Oct 08
0
Node CPU Utilization
...oad
time.sleep(1)
url = ''httpu:///var/run/xend/xen-api.sock''
username = ''fakeuser'' # we run as root, dont worry about auth
password = ''fakepass''
# First acquire a valid session by logging in:
session = XenAPI.Session(url)
session.xenapi.login_with_password(username, password)
print_cpu_utilization()
Some observations:
* If I run a program with only a tight loop on dom0, this seems to
affect the figures printed out by this program. One of the CPUs
exhibits values near .8 or .9
* If I run the same tight loop on a HVM domain, the printed values
don...
2007 Nov 27
0
how do i use xen api with key and cert?
...0 *:9367 *:* LISTEN
But I cant figure out how to call from the client side,
what do I have to provide for user and password?
I tried:
python
>> import xmlrpclib
>> xen = xmlrpclib.Server("https://server_name:9367")
>> xen.session.login_with_password(''<name_in_cert>'',''<optional_password_in_cert>'')
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
Fi...
2012 Apr 05
0
Re: [Xen-API] (solved) xe vdi-create failure ot local SR type=file and type=ext
...>>
>>
>> Here is a short extract from xcp-xapi.log
>>
>> id=ba4e9e1a-bc42-0dc9-af0e-5db2905666ab type=user name-label=test
>> virtual-size=1GiB username=root password=null
>> [20120403T07:57:53.973Z| info|hyperion|546 UNIX
>> /var/lib/xcp/xapi|session.login_with_password D:93575fa7333c|xapi]
>> Session.create trackid=1ef3448b63e70822073569022044e96b pool=false
>> uname=root is_local_superuser=true auth_user_sid=
>> parent=trackid=9834f5af41c964e225f24279aefe4e49
>> [20120403T07:57:53.974Z|debug|hyperion|546 UNIX
>> /var/lib/xcp/xapi|se...
2012 May 23
2
Bug#674088: xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0
...4a3-dae2-e756-d122-01b87ed871c2/sr
xcp-xapi.log (ex. xensource.log):
[20120523T00:23:28.848Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi||cli] xe vbd-plug uuid=b2e8f7b3-34c4-fe9a-486e-6551b8ba4165 username=root password=null
[20120523T00:23:28.849Z| info|lab-xh3|1045 UNIX /var/lib/xcp/xapi|session.login_with_password D:5d579e77454e|xapi] Session.create trackid=f0c22aa371e94e4f976de937c65c5b83 pool=false uname=root is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
[20120523T00:23:28.850Z|debug|lab-xh3|1045 UNIX /var/lib/xcp/xapi|session.login_with_password D:5d579e77454e|xapi...
2012 May 23
4
Bug#674161: xcp-xapi: 'the device disappeared from xenstore' message during vbd-plug (vm-start)
...vid=51712); backend (domid=0 | kind=vbd | devid=51712))
Log file content:
[20120523T14:00:23.276Z| info|lab-xh3|74 UNIX /var/lib/xcp/xapi||cli] xe vbd-plug uuid=716880c9-d6cb-44a8-e5cd-6a68f708c1f9 username=root password=null
[20120523T14:00:23.278Z| info|lab-xh3|74 UNIX /var/lib/xcp/xapi|session.login_with_password D:0661f1729b93|xapi] Session.create trackid=094bbc269cc3c3ff4fe8b0faadef2ef1 pool=false uname=root is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49
[20120523T14:00:23.278Z|debug|lab-xh3|74 UNIX /var/lib/xcp/xapi|session.login_with_password D:0661f1729b93|xapi]...