Alwin Antreich
ac526fae88
Make error messages in Rados.pm prettier
...
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2018-06-20 10:04:14 +02:00
Alwin Antreich
c0a9abbddf
allow to specify the userid with rados_create
...
This allows to connect to a cluster with a different user, besides admin
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2018-04-05 11:04:32 +02:00
Alwin Antreich
eb3519482f
Split method pve_rados_connect
...
To be able to connect through librados2 without a config file, the
method pve_rados_connect is split up into pve_rados_connect and
pve_rados_conf_read_file.
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2018-04-05 11:01:05 +02:00
Alwin Antreich
fb22f3c5c6
white space cleanup
...
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2018-04-05 10:57:27 +02:00
Dietmar Maurer
cc2b4dbc1e
add method to get/set timeout
2014-01-22 07:58:34 +01:00
Dietmar Maurer
2eb2d02e01
allow clean shutdown with displaying 'partial read' error.
2014-01-21 12:28:05 +01:00
Dietmar Maurer
187aea7087
detect forked connections
...
Else more than one process can kill our worker!
2014-01-21 12:06:49 +01:00
Dietmar Maurer
10e8c7a140
cleanup
2014-01-21 11:00:27 +01:00
Dietmar Maurer
8172535ca4
implement timeout
2014-01-21 10:33:44 +01:00
Dietmar Maurer
e2171b3622
depend on libpve-access-control
...
We need to be able to close open server sockets.
2014-01-21 09:18:01 +01:00
Dietmar Maurer
9539bd3700
always for worker process
...
librados does not work well when we fork after rados_connect().
So we always fork a separate worker and use IPC to send/receive data.
2014-01-21 09:11:21 +01:00
Dietmar Maurer
f5996c6255
improve examples
2014-01-17 09:20:31 +01:00
Dietmar Maurer
23c2cb25b6
avoid unnecessary warning
2014-01-17 09:17:14 +01:00
Dietmar Maurer
b2a25d5d82
use json format by default
2014-01-16 13:24:28 +01:00
Dietmar Maurer
612779b19b
allow to set client_mount_timeout
2014-01-16 12:45:12 +01:00
Dietmar Maurer
27bfc7c68e
initial import
2014-01-16 11:24:54 +01:00