{"action":"created","issue":{"url":"https://api.github.com/repos/joyent/pkgsrc/issues/248","labels_url":"https://api.github.com/repos/joyent/pkgsrc/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/joyent/pkgsrc/issues/248/comments","events_url":"https://api.github.com/repos/joyent/pkgsrc/issues/248/events","html_url":"https://github.com/joyent/pkgsrc/issues/248","id":62013389,"number":248,"title":"percona-cluster wsrep_sst_xtrabackup-v2 and innobackupex","user":{"login":"alcir","id":3286123,"avatar_url":"https://avatars.githubusercontent.com/u/3286123?v=3","gravatar_id":"","url":"https://api.github.com/users/alcir","html_url":"https://github.com/alcir","followers_url":"https://api.github.com/users/alcir/followers","following_url":"https://api.github.com/users/alcir/following{/other_user}","gists_url":"https://api.github.com/users/alcir/gists{/gist_id}","starred_url":"https://api.github.com/users/alcir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcir/subscriptions","organizations_url":"https://api.github.com/users/alcir/orgs","repos_url":"https://api.github.com/users/alcir/repos","events_url":"https://api.github.com/users/alcir/events{/privacy}","received_events_url":"https://api.github.com/users/alcir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-16T08:50:32Z","updated_at":"2015-03-16T15:03:15Z","closed_at":null,"body":"When a node joins the cluster and needs to be synced, the following error appears in the `/var/log/mysql/error.log` file of the primary node:\r\n\r\n```\r\nWSREP_SST: [INFO] Using socat as streamer (20150316 08:43:29.746)\r\ninnobackupex: got a fatal error with the following stacktrace: at /opt/local//bin/innobackupex line 1716.\r\n        main::catch_fatal_signal(\"PIPE\") called at /opt/local/lib/perl5/5.20.0/Pod/Text.pm line 397\r\n        eval {...} called at /opt/local/lib/perl5/5.20.0/Pod/Text.pm line 397\r\n        Pod::Text::item(Pod::Usage=HASH(0x1574670), \"On backup, this option specifies the number of threads the xt\"...) called at /opt/local/lib/perl5/5.20.0/Pod/Text.pm line 415\r\n        Pod::Text::cmd_para(Pod::Usage=HASH(0x1574670), HASH(0x14d9bb0), \"On backup, this option specifies the number of threads the xt\"...) called at /opt/local/lib/perl5/5.20.0/Pod/Text.pm line 209\r\n        Pod::Text::_handle_element_end(Pod::Usage=HASH(0x1574670), \"Para\") called at /opt/local/lib/perl5/5.20.0/Pod/Usage.pm line 318\r\n        Pod::Usage::_handle_element_end(Pod::Usage=HASH(0x1574670), \"Para\") called at /opt/local/lib/perl5/5.20.0/Pod/Simple/BlackBox.pm line 1506\r\n        Pod::Simple::BlackBox::_traverse_treelet_bit(undef, undef, HASH(0x14d9bb0), \"On backup, this option specifies the number of threads the xt\"...) called at /opt/local/lib/perl5/5.20.0/Pod/Simple/BlackBox.pm line 885\r\n        Pod::Simple::BlackBox::_ponder_paragraph_buffer(Pod::Usage=HASH(0x1574670)) called at /opt/local/lib/perl5/5.20.0/Pod/Simple/BlackBox.pm line 260\r\n        Pod::Simple::BlackBox::parse_lines(Pod::Usage=HASH(0x1574670), \"On backup, this option specifies the number of threads the xt\"..., \" \\x{a}\", \"On --decrypt or --decompress it specifies the number of paral\"..., \"\\x{a}\", \"=item --password=WORD\\x{a}\", \"\\x{a}\", \"This option specifies the password to use when connecting to \"..., \"\\x{a}\", ...) called at /opt/local/lib/perl5/5.20.0/Pod/Text.pm line 737\r\n        Pod::Text::parse_lines(Pod::Usage=HASH(0x1574670), \"On backup, this option specifies the number of threads the xt\"..., \" \\x{a}\", \"On --decrypt or --decompress it specifies the number of paral\"..., \"\\x{a}\", \"=item --password=WORD\\x{a}\", \"\\x{a}\", \"This option specifies the password to use when connecting to \"..., \"\\x{a}\", ...) called at /opt/local/lib/perl5/5.20.0/Pod/Simple.pm line 471\r\n        Pod::Simple::parse_file(Pod::Usage=HASH(0x1574670), \"/opt/local//bin/innobackupex\") called at /opt/local/lib/perl5/5.20.0/Pod/Text.pm line 726\r\n        Pod::Text::parse_file(Pod::Usage=HASH(0x1574670), \"/opt/local//bin/innobackupex\") called at /opt/local/lib/perl5/5.20.0/Pod/Simple.pm line 512\r\n        Pod::Simple::parse_from_file(Pod::Usage=HASH(0x1574670), \"/opt/local//bin/innobackupex\", GLOB(0x5179e8)) called at /opt/local/lib/perl5/5.20.0/Pod/Text.pm line 695\r\n        Pod::Text::parse_from_file(Pod::Usage=HASH(0x1574670), \"/opt/local//bin/innobackupex\", GLOB(0x5179e8)) called at /opt/local/lib/perl5/5.20.0/Pod/Usage.pm line 161\r\n        Pod::Usage::pod2usage(HASH(0x179b388)) called at /opt/local//bin/innobackupex line 1639\r\n        main::usage() called at /opt/local//bin/innobackupex line 3845\r\n        main::check_args() called at /opt/local//bin/innobackupex line 1522\r\ninnobackupex: Error: Terminated with SIGPIPE at /opt/local//bin/innobackupex line 1716.\r\n```\r\n\r\nThe problem seems to come from the `wsrep_sst_xtrabackup-v2` script \r\n\r\n```\r\n584 if ${INNOBACKUPEX_BIN} /tmp --help  | grep -q -- '--version-check'; then\r\n585     disver=\"--no-version-check\"\r\n586 fi\r\n```"},"comment":{"url":"https://api.github.com/repos/joyent/pkgsrc/issues/comments/81720362","html_url":"https://github.com/joyent/pkgsrc/issues/248#issuecomment-81720362","issue_url":"https://api.github.com/repos/joyent/pkgsrc/issues/248","id":81720362,"user":{"login":"alcir","id":3286123,"avatar_url":"https://avatars.githubusercontent.com/u/3286123?v=3","gravatar_id":"","url":"https://api.github.com/users/alcir","html_url":"https://github.com/alcir","followers_url":"https://api.github.com/users/alcir/followers","following_url":"https://api.github.com/users/alcir/following{/other_user}","gists_url":"https://api.github.com/users/alcir/gists{/gist_id}","starred_url":"https://api.github.com/users/alcir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcir/subscriptions","organizations_url":"https://api.github.com/users/alcir/orgs","repos_url":"https://api.github.com/users/alcir/repos","events_url":"https://api.github.com/users/alcir/events{/privacy}","received_events_url":"https://api.github.com/users/alcir/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T15:03:15Z","updated_at":"2015-03-16T15:03:15Z","body":"innobackupex: Error: Terminated with SIGPIPE at /opt/local//bin/innobackupex line 1716.\r\nusage:  pfiles [-F] { pid | core } ...\r\n  (report open files of each process)\r\n  -F: force grabbing of the target process\r\nusage:  pfiles [-F] { pid | core } ...\r\n  (report open files of each process)\r\n  -F: force grabbing of the target process\r\n"}}