[openstack-dev] [Swift] xbcloud with Swift Mitaka

German Anders ganders at despegar.com
Tue Jul 12 12:26:17 UTC 2016


Hi all,

I've a new Swift cluster with Mitaka release using Fernet tokens.
Everything works fine for now, but I want to try to backup some MySQL
databases using Percona xbcloud, and I'm having some issues there, has
anyone use this tool with Swift Mitaka?

Basically I'm using the following syntax:

*# innobackupex ... | xbcloud put --storage=swift
--swift-auth-url=http://VIP-SWIFT-PROXY:8080/
<http://VIP-SWIFT-PROXY:8080/> --swift-auth-version=3
--swift-user="dba:dba" --swift-password=xxxxxx --swift-container=BKP_TEST
--verbose backup_full*

* About to connect() to 10.x.x.x port 8080 (#0)
*   Trying 10.x.x.x.... * connected
* Connected to 10.x.x.x (x.x.x.x) port 8080 (#0)
> POST /v3/auth/tokens HTTP/1.1
Host: 10.x.x.x:8080
Content-Type: application/json
Accept: application/json
Content-Length: 139

< HTTP/1.1 400 Bad Request
< Content-Length: 137
< Content-Type: text/html; charset=UTF-8
< X-Trans-Id: txe56xxxxxxxxxxxxx-xxxxxxxxxxx
< Date: Tue, 12 Jul 2016 12:12:54 GMT
<
* Connection #0 to host 10.x.x.x left intact
error: request failed with response code: 400
* Closing connection #0
error: failed to authenticate

On the Proxy side I'm logging the following:

Jul 12 08:12:29 swiftp01 proxy-server: Deferring reject downstream
Jul 12 08:12:29 swiftp01 proxy-server: - - 12/Jul/2016/12/12/29 HEAD
/v1/auth HTTP/1.0 204 - Swift - - - - tx718243dfedb14e7b9222f-005784dead -
0.0174 RL - 1468325549.667370081 1468325549.684763908 -
Jul 12 08:12:29 swiftp01 proxy-server: Deferring reject downstream
Jul 12 08:12:29 swiftp01 proxy-server: 10.xx.xx.xx 10.xx.xx.xx
12/Jul/2016/12/12/29 POST /v3/auth/tokens HTTP/1.0 400 - - - - 137 -
tx718243dfedb14e7b9222f-005784dead - 0.0232 - - 1468325549.664206028
1468325549.687386990 -
Jul 12 08:12:54 swiftp01 proxy-server: Deferring reject downstream
Jul 12 08:12:54 swiftp01 proxy-server: - - 12/Jul/2016/12/12/54 HEAD
/v1/auth HTTP/1.0 204 - Swift - - - - txe5614b378d454d0a81694-005784dec6 -
0.0155 RL - 1468325574.074191093 1468325574.089672089 -
Jul 12 08:12:54 swiftp01 proxy-server: Deferring reject downstream
Jul 12 08:12:54 swiftp01 proxy-server: 10.xx.xx.xx 10.xx.xx.xx
12/Jul/2016/12/12/54 POST /v3/auth/tokens HTTP/1.0 400 - - - - 137 -
txe5614b378d454d0a81694-005784dec6 - 0.0199 - - 1468325574.070952892
1468325574.090871096 -

Any ideas? Could be that some parameter is missing?

Thanks in advance,

Best,

*German*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160712/9391660a/attachment.html>


More information about the OpenStack-dev mailing list