2014-01-27 11:37:21 |
Raghavendra D Prabhu |
bug |
|
|
added bug |
2014-01-27 11:37:28 |
Raghavendra D Prabhu |
tags |
|
pxc |
|
2014-01-27 11:50:57 |
Raghavendra D Prabhu |
description |
xbcrypt fails to parse packet (or so it seems).
Session 1:
(here I chose bigfile as a media file of 1.4 GB)
mkdir /tmp/x1
...
.....
cd /tmp/x1
xbstream -c bigfile | xbcrypt --encrypt-algo=AES256 --encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4 | gzip | pv -f -i 10 -N donor -s 22806528 -L 2m | socat -u stdio TCP:127.0.0.1:21792
2014/01/27 16:30:47 socat[52746] E write(3, 0x1aec5f0, 8192): Broken pipe===========================================================================================================> ] 91% ETA 0:00:00
Session 2:
mkdir /tmp/x2
cd /tmp/x2
socat -u TCP-LISTEN:21792,reuseaddr stdio | pv -f -i 10 -N joiner | gzip -dc | xbcrypt --encrypt-algo=AES256 --encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4 -d | xbstream -x -C .
xbcrypt:xb_crypt_read_chunk: unable to read chunk iv size at offset 0x1ef5f2e. ]
joiner: 31.1MiB 0:00:16 [1.84MiB/s] [ <=> ]
2014/01/27 16:30:47 socat[52714] E write(1, 0xfe37f0, 8192): Broken pipe
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Another test yielded this: (I removed rate limiting in pv to see if that is causing it)
xbstream -c bigfile | xbcrypt --encrypt-algo=AES256 --encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4 | gzip | pv -f -i 10 -N donor | socat -u stdio TCP:127.0.0.1:21792
2014/01/27 16:40:56 socat[55215] E write(3, 0x1bf55f0, 8192): Broken pipe ]
donor: 123MiB 0:00:16 [7.72MiB/s] [ <=>
Session 2:
socat -u TCP-LISTEN:21792,reuseaddr stdio | pv -f -i 10 -N joiner | gzip -dc | xbcrypt --encrypt-algo=AES256 --encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4 -d | xbstream -x -C .
xbcrypt:xb_crypt_read_chunk: unable to read chunk header data at offset 0x7ba7ca3. ]
joiner: 123MiB 0:00:20 [5.99MiB/s] [ <=> ]
2014/01/27 16:40:56 socat[55169] E write(1, 0x130f7f0, 8192): Broken pipe
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This issue manifests in other ways with xbcrypt itself as in here
https://launchpadlibrarian.net/163779506/%2Aview%2A.txt or https://launchpadlibrarian.net/163779661/%2Aview%2A.txt
[Reported here https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1272982 ] |
xbcrypt fails to parse packet (or so it seems).
Session 1:
mkdir /tmp/x1
dd if=/dev/urandom of=bigfile bs=1M count=100
cd /tmp/x1
xbstream -c bigfile | xbcrypt --encrypt-algo=AES256 --encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4 | gzip | pv -f -i 10 -N donor -s 22806528 -L 2m | socat -u stdio TCP:127.0.0.1:21792
2014/01/27 16:30:47 socat[52746] E write(3, 0x1aec5f0, 8192): Broken pipe===========================================================================================================> ] 91% ETA 0:00:00
Session 2:
mkdir /tmp/x2
cd /tmp/x2
socat -u TCP-LISTEN:21792,reuseaddr stdio | pv -f -i 10 -N joiner | gzip -dc | xbcrypt --encrypt-algo=AES256 --encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4 -d | xbstream -x -C .
xbcrypt:xb_crypt_read_chunk: unable to read chunk iv size at offset 0x1ef5f2e. ]
joiner: 31.1MiB 0:00:16 [1.84MiB/s] [ <=> ]
2014/01/27 16:30:47 socat[52714] E write(1, 0xfe37f0, 8192): Broken pipe
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Another test yielded this: (I removed rate limiting in pv to see if that is causing it)
xbstream -c bigfile | xbcrypt --encrypt-algo=AES256 --encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4 | gzip | pv -f -i 10 -N donor | socat -u stdio TCP:127.0.0.1:21792
2014/01/27 16:40:56 socat[55215] E write(3, 0x1bf55f0, 8192): Broken pipe ]
donor: 123MiB 0:00:16 [7.72MiB/s] [ <=>
Session 2:
socat -u TCP-LISTEN:21792,reuseaddr stdio | pv -f -i 10 -N joiner | gzip -dc | xbcrypt --encrypt-algo=AES256 --encrypt-key=6F3AD9F428143F133FD7D50D77D91EA4 -d | xbstream -x -C .
xbcrypt:xb_crypt_read_chunk: unable to read chunk header data at offset 0x7ba7ca3. ]
joiner: 123MiB 0:00:20 [5.99MiB/s] [ <=> ]
2014/01/27 16:40:56 socat[55169] E write(1, 0x130f7f0, 8192): Broken pipe
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This issue manifests in other ways with xbcrypt itself as in here
https://launchpadlibrarian.net/163779506/%2Aview%2A.txt or https://launchpadlibrarian.net/163779661/%2Aview%2A.txt
[Reported here https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1272982 ] |
|
2014-01-27 11:51:08 |
Raghavendra D Prabhu |
summary |
Issue with xbcrypt/xbstream |
Streaming issue with xbcrypt |
|
2014-01-27 12:57:00 |
Alexey Kopytov |
nominated for series |
|
percona-xtrabackup/2.1 |
|
2014-01-27 12:57:00 |
Alexey Kopytov |
bug task added |
|
percona-xtrabackup/2.1 |
|
2014-01-27 12:57:00 |
Alexey Kopytov |
nominated for series |
|
percona-xtrabackup/2.2 |
|
2014-01-27 12:57:00 |
Alexey Kopytov |
bug task added |
|
percona-xtrabackup/2.2 |
|
2014-01-27 12:57:07 |
Alexey Kopytov |
percona-xtrabackup/2.1: status |
New |
Triaged |
|
2014-01-27 12:57:09 |
Alexey Kopytov |
percona-xtrabackup/2.1: importance |
Undecided |
High |
|
2014-01-27 12:57:12 |
Alexey Kopytov |
percona-xtrabackup/2.2: status |
New |
Triaged |
|
2014-01-27 12:57:15 |
Alexey Kopytov |
percona-xtrabackup/2.2: importance |
Undecided |
High |
|
2014-01-27 12:57:22 |
Alexey Kopytov |
percona-xtrabackup/2.1: assignee |
|
George Ormond Lorch III (gl-az) |
|
2014-01-27 12:57:24 |
Alexey Kopytov |
percona-xtrabackup/2.2: assignee |
|
Alexey Kopytov (akopytov) |
|
2014-01-27 12:57:33 |
Alexey Kopytov |
percona-xtrabackup/2.2: assignee |
Alexey Kopytov (akopytov) |
George Ormond Lorch III (gl-az) |
|
2014-01-27 12:57:36 |
Alexey Kopytov |
percona-xtrabackup/2.1: milestone |
|
2.1.8 |
|
2014-01-27 12:57:38 |
Alexey Kopytov |
percona-xtrabackup/2.2: milestone |
|
2.2.0 |
|
2014-02-12 21:32:04 |
George Ormond Lorch III |
branch linked |
|
lp:~gl-az/percona-xtrabackup/bug1273196-2.1 |
|
2014-02-12 21:38:17 |
George Ormond Lorch III |
branch linked |
|
lp:~gl-az/percona-xtrabackup/bug1273196-2.2 |
|
2014-02-14 17:49:16 |
George Ormond Lorch III |
percona-xtrabackup/2.1: status |
Triaged |
In Progress |
|
2014-02-14 17:49:22 |
George Ormond Lorch III |
percona-xtrabackup/2.2: status |
Triaged |
In Progress |
|
2014-02-19 16:07:45 |
George Ormond Lorch III |
percona-xtrabackup/2.1: status |
In Progress |
Fix Committed |
|
2014-02-19 16:07:49 |
George Ormond Lorch III |
percona-xtrabackup/2.2: status |
In Progress |
Fix Committed |
|
2014-03-01 13:44:33 |
Alexey Kopytov |
percona-xtrabackup/2.1: status |
Fix Committed |
Fix Released |
|
2014-03-01 13:44:35 |
Alexey Kopytov |
percona-xtrabackup/2.2: status |
Fix Committed |
Fix Released |
|