Swift-Veeam Cloud Backup : Request Timeout
Hello everyone,
In first, sorry for my english ! :)
I called you because I have a problem with a backup plan on Veeam Backup Cloud with Object Storage (Swift) OpenStack.
Indeed, the launch of the plan Veeam Backup Cloud Backup with a 25 GB file, it tells me **"Disk Space insufisant".**
Then, with a 120MB file for example, it performs the backup plan and one, the following message appears:
**"Request Timeout: The server has Waited too long for the request to be send by the client."**
So I set some variables regarding to 40GB, namely:
vim /etc/swift/
max_file_size = 42949672960
vim /etc/swift/
[app:
object_
client_
I think he has a problem with many variables but which side OpenStack Swift?
I join my installation and configuration files side Swift and Swift Proxy.
Can you clarify me on this problem, please?
Thank you in advance.
Matthew
-------
-------
7 - Proxy Swift Installation (192.168.220.71)
-------
apt-get install swift openssh-server rsync memcached python-netifaces python-xattr python-memcache
mkdir -p /etc/swift
chown -R swift:swift /etc/swift/
Copy of swift.conf file of storage server
scp test@192.
apt-get install swift-proxy memcached python-
vim /etc/memcached.conf
-l 192.168.220.71
service memcached restart
vim /etc/swift/
[DEFAULT]
bind_port = 8080
user = swift
[pipeline:main]
pipeline = healthcheck cache authtoken keystoneauth proxy-server
[app:
use = egg:swift#proxy
allow_
account_
object_
client_
[filter:
use = egg:swift#
operator_roles = Member,
[filter:
paste.
# Delaying the auth decision is required to support token-less
# usage for anonymous referrers ('.r:*').
delay_
# cache directory for signing certificate
signing_dir = /home/swift/
# auth_* settings refer to the Keystone server
auth_protocol = http
auth_host = 192.168.220.70
auth_port = 35357
# the same admin_token as provided in keystone.conf
admin_token = test2013
# the service tenant and swift userid and password created in Keystone
admin_
admin_user = swift
admin_password = test2013
[filter:cache]
use = egg:swift#memcache
[filter:
use = egg:swift#
[filter:
use = egg:swift#
mkdir -p /home/swift/
chown -R swift:swift /home/swift/
cd /etc/swift
swift-
swift-
swift-
vim exportring
# set the zone number for that storage device
export ZONE=1
# relative weight (higher for bigger/faster disks)
export WEIGHT=100
# Device stockage
export DEVICE=sdb1
source exportring
swift-
swift-
swift-
swift-
swift-
swift-
swift-
swift-
swift-
Copy the rings on the storage server
chown -R swift:swift /etc/swift
swift-init proxy start
-------
6 - Swift Installation (192.168.220.62)
-------
apt-get install swift openssh-server rsync memcached python-netifaces python-xattr python-memcache
mkdir -p /etc/swift
chown -R swift:swift /etc/swift/
cat >/etc/swift/
[swift-hash]
# random unique strings that can never change (DO NOT LOSE)
swift_
swift_
[swift-
max_file_size = 42949672960
EOF
Copy the file swift.conf on the proxy server
apt-get install swift-account swift-container swift-object xfsprogs
fdisk /dev/sdb
n
p
1
ENTRER
ENTRER
p
w
mkfs.xfs -i size=1024 /dev/sdb1
echo "/dev/sdb1 /srv/node/sdb1 xfs noatime,
mkdir -p /srv/node/sdb1
mount /srv/node/sdb1
chown -R swift:swift /srv/node
vim /etc/rsyncd.conf
uid = swift
gid = swift
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
address = 192.168.220.62
[account]
max connections = 25
path = /srv/node/
read only = false
lock file = /var/lock/
[container]
max connections = 25
path = /srv/node/
read only = false
lock file = /var/lock/
[object]
max connections = 25
path = /srv/node/
read only = false
lock file = /var/lock/
vim /etc/default/rsync
RSYNC_ENABLE = true
service rsync start
Copying rings proxy server
scp test@192.
scp test@192.
scp test@192.
mkdir -p /var/swift/recon
chown -R swift:swift /var/swift/recon
swift-init all start
-------
Just for information, when I put this command in Proxy server:
-------
root@srv-
===
--> Starting reconnaissance on 1 hosts
===
[2013-06-13 11:03:44] Checking disk usage now
-> http://
Distribution Graph:
0% 1 *******
Disk usage: space used: 358199296 of 160981585920
Disk usage: space free: 160623386624 of 160981585920
Disk usage: lowest: 0.22%, highest: 0.22%, avg: 0.222509483897%
===
root@srv-
demo:admin -K $ADMINPASS stat
Account: AUTH_57XXXXXXXX
Containers: 1
Objects: 6
Bytes: 720243
Accept-Ranges: bytes
X-Timestamp: 1371030931.41193
Content-Type: text/plain; charset=utf-8
root@srv-
* About to connect() to 192.168.220.70 port 5000 (#0)
* Trying 192.168.220.70... connected
> GET /auth/v2.0 HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-
> Host: 192.168.220.70:5000
> Accept: */*
> X-Storage-User: demo:admin
> X-Storage-Pass: $ADMINPASS
>
< HTTP/1.1 404 Not Found
< Vary: X-Auth-Token
< Content-Type: application/json
< Content-Length: 93
< Date: Thu, 13 Jun 2013 09:37:02 GMT
<
* Connection #0 to host 192.168.220.70 left intact
* Closing connection #0
{"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}
root@srv-
* About to connect() to 192.168.220.70 port 5000 (#0)
* Trying 192.168.220.70... connected
> POST /v2.0/tokens HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-
> Host: 192.168.220.70:5000
> Content-type: application/json
> Accept: application/xml
> Content-Length: 96
>
* upload completely sent off: 96out of 96 bytes
< HTTP/1.1 200 OK
< Vary: X-Auth-Token
< Content-Type: application/xml
< Content-Length: 5428
< Date: Thu, 13 Jun 2013 12:25:49 GMT
<
<?xml version="1.0" encoding="UTF-8"?>
<access xmlns="http://
<token issued_
<tenant enabled="true" name="demo" id="57XXXXXXXXX
</token>
<
<service type="object-store" name="swift">
<endpoint adminURL="http://
</service>
<service type="image" name="glance">
<endpoint adminURL="http://
</service>
<service type="compute" name="nova">
<endpoint adminURL="http://
</service>
<service type="ec2" name="ec2">
<endpoint adminURL="http://
</service>
<service type="identity" name="keystone">
<endpoint adminURL="http://
</service>
<
<user username="admin" id="a5XXXXXXXXX
<role name="admin"/>
</user>
<metadata is_admin="0">
<roles>
</roles>
</metadata>
</access>
* Connection #0 to host 192.168.220.70 left intact
* Closing connection #0
root@srv-
* About to connect() to 192.168.220.71 port 8080 (#0)
* Trying 192.168.220.71... connected
> GET /v1/AUTH_
> User-Agent: curl/7.22.0 (x86_64-
> Host: 192.168.220.71:8080
> Accept: */*
> X-Auth-Token: XXXXXX
>
< HTTP/1.1 200 OK
< Content-Length: 10
< Accept-Ranges: bytes
< X-Timestamp: 1371030931.41193
< X-Account-
< X-Account-
< Content-Type: text/plain; charset=utf-8
< X-Account-
< Date: Thu, 13 Jun 2013 12:30:15 GMT
<
VEEAM-WAN
* Connection #0 to host 192.168.220.71 left intact
* Closing connection #0
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: