Swift authentication fails with transfer-encoding chunked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
New
|
Undecided
|
Unassigned |
Bug Description
We're trying to use the xb utilities, and specifically xbcloud, against Rackspace CloudFiles. While this may not be officially supported we thought it might be helpful to report a bug that has the potential to affect others and gets us one step closer to working on Rackspace.
After digging through the code the issue seems to be with fetch_buffer_
fetch_buffer_
I am not a C programmer so forgive me if I grossly overlooked something.
(gdb) run get --verbose --swift-
Starting program: /usr/bin/xbcloud get --verbose --swift-
[Thread debugging using libthread_db enabled]
Detaching after fork from child process 24198.
* About to connect() to identity.
* Trying 166.78.226.217... * connected
* Connected to identity.
* Initializing NSS with certpath: sql:/etc/pki/nssdb
Detaching after fork from child process 24199.
Detaching after fork from child process 24200.
* CAfile: /etc/pki/
CApath: none
* SSL connection using TLS_RSA_
* Server certificate:
* subject: CN=identity.
* start date: Jun 17 00:00:00 2016 GMT
* expire date: Jun 17 23:59:59 2018 GMT
* common name: identity.
* issuer: CN=thawte SSL CA - G2,O="thawte, Inc.",C=US
> POST /v2.0/tokens HTTP/1.1
Host: identity.
Content-Type: application/json
Accept: application/json
Content-Length: 85
< HTTP/1.1 200 OK
< Server: nginx
< Date: Wed, 24 Aug 2016 03:55:00 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept, Accept-Encoding, X-Auth-Token
< X-NewRelic-
< x-trans-id: eyJyZXF1ZXN0SWQ
< Front-End-Https: on
<
xbcloud: /mnt/workspace/
Program received signal SIGABRT, Aborted.
0x0000003179232625 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install cyrus-sasl-
(gdb) bt
#0 0x0000003179232625 in raise () from /lib64/libc.so.6
#1 0x0000003179233e05 in abort () from /lib64/libc.so.6
#2 0x000000317922b74e in __assert_fail_base () from /lib64/libc.so.6
#3 0x000000317922b810 in __assert_fail () from /lib64/libc.so.6
#4 0x00000000004083da in fetch_buffer_cb (buffer=<value optimized out>, size=<value optimized out>, nmemb=<value optimized out>, out_buffer=
at /usr/src/
#5 0x0000003181a17a48 in Curl_client_write () from /usr/lib64/
#6 0x0000003181a2e69c in Curl_httpchunk_read () from /usr/lib64/
#7 0x0000003181a2ab22 in Curl_readwrite () from /usr/lib64/
#8 0x0000003181a2c0f8 in Curl_perform () from /usr/lib64/
#9 0x000000000040a2c5 in swift_keystone_
at /usr/src/
#10 0x000000000040dbdd in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/
(gdb) quit
description: | updated |
description: | updated |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXB-1400