Hi all,
I’m trying to backup a mysql database to a swift storage using xtrabackup/xbcloud combo:
innobackupex --user=root --password=password --stream=xbstream --parallel 4 /tmp | xbcloud put --storage=Swift --swift-auth-version=3 --swift-container=BKP --swift-user=mysql --swift-auth-url=http://xx.xx.xx.xx:8080/ --swift-password=password --verbose fullBackup
I obtain the following error in xbcloud when it try to stream the backup to swift.
- About to connect() to xx.xx.xx.xx port 8080 (#0)
- Trying xx.xx.xx.xx… * connected
- Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8080 (#0)
POST /v3/auth/tokens HTTP/1.1
Host: xx.xx.xx.xx:8080
Content-Type: application/json
Accept: application/json
Content-Length: 177
- Closing connection #0
- Failure when receiving data from the peer
error: curl_easy_perform() failed: Failure when receiving data from the peer
error: failed to authenticate
I tried with auth version 2.0 and 3.0 with the same results. I cannot use temp-auth (auth v1.0) because is disabled in swift cluster.
Is there some other xbcloud parameter that I have omitted or should be used for this version of swift?
Does anyone know if mitaka swift(newest version of openstack) is suported by xbcloud?
Thanks in advance