percona-xtrabackup is busted in master

Bug #1509281 reported by Steven Dake
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Sam Yaple

Bug Description

Percona xtrabackup released a new version on 10/16/15 which fails during the backup phase of the HA database operation.

The .32 version (broken) prints out:
xtrabackup: uses posix_fadvise().
xtrabackup: cd to
xtrabackup: open files limit requested 0, set to 1048576
xtrabackup: using the following InnoDB configuration:
xtrabackup: innodb_data_home_dir = ./
xtrabackup: innodb_data_file_path = ibdata1:12M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 2
xtrabackup: innodb_log_file_size = 50331648

The .13 version (working) prints out:
xtrabackup: uses posix_fadvise().
xtrabackup: cd to /var/lib/mysql/
xtrabackup: open files limit requested 0, set to 1048576
xtrabackup: using the following InnoDB configuration:
xtrabackup: innodb_data_home_dir = ./
xtrabackup: innodb_data_file_path = ibdata1:12M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 2
xtrabackup: innodb_log_file_size = 50331648

It appears we are missing some kind of config option to cd to /var/lib/mysql with xtradb.

Also we are using the el6 repositories when we should be using the el7 repositories.

Steven Dake (sdake)
Changed in kolla:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → mitaka-1
assignee: nobody → Steven Dake (sdake)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/238867

Changed in kolla:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/238867
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=3842391b7836e1fa63131258c610920d617b624b
Submitter: Jenkins
Branch: master

commit 3842391b7836e1fa63131258c610920d617b624b
Author: Steven Dake <email address hidden>
Date: Fri Oct 23 03:19:31 2015 -0700

    Encode datadir for xtrabackup

    Xtrabackup previously used a hardcoded datadir. In the latest
    update to xtrabackup, the my.cnf config option datadir is now
    parsed. This variable was unset, causing galera to implode.

    backport: liberty

    Change-Id: I523d1989575dbe24a891fcae3b6bf56d83e69615
    Closes-Bug: #1509281

Changed in kolla:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/238881

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/liberty)

Reviewed: https://review.openstack.org/238881
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=5025ba2e20ad09c7144d99780306c6a52863969a
Submitter: Jenkins
Branch: stable/liberty

commit 5025ba2e20ad09c7144d99780306c6a52863969a
Author: Steven Dake <email address hidden>
Date: Fri Oct 23 03:19:31 2015 -0700

    Encode datadir for xtrabackup

    Xtrabackup previously used a hardcoded datadir. In the latest
    update to xtrabackup, the my.cnf config option datadir is now
    parsed. This variable was unset, causing galera to implode.

    backport: liberty

    Change-Id: I523d1989575dbe24a891fcae3b6bf56d83e69615
    Closes-Bug: #1509281
    (cherry picked from commit 3842391b7836e1fa63131258c610920d617b624b)

tags: added: in-stable-liberty
Revision history for this message
Sam Yaple (s8m) wrote :

This is not fixed. This broke ubuntu because it was not tested.

Changed in kolla:
status: Fix Committed → Won't Fix
status: Won't Fix → In Progress
assignee: Steven Dake (sdake) → Sam Yaple (s8m)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/239098

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/239098
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=268aaa60fd599caec32d4bc2bad6eb85437e6b37
Submitter: Jenkins
Branch: master

commit 268aaa60fd599caec32d4bc2bad6eb85437e6b37
Author: Sam Yaple <email address hidden>
Date: Fri Oct 23 20:12:41 2015 +0000

    Fix broken galera

    A previous commit [1] broke Galera on Ubuntu while trying to fix
    Centos. This fixes the underlying different between the two distros
    and should help prevent that kind of mistake in the future.

    [1] I523d1989575dbe24a891fcae3b6bf56d83e69615

    Change-Id: Ie3e47f10cb669f36f8d2f166c88555931a54e3ec
    Backport: Liberty
    Closes-Bug: #1509281

Changed in kolla:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/239134

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/liberty)

Reviewed: https://review.openstack.org/239134
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=ac1a4bfdfc4cf6dfd8d5cd9be709c5482dc9123b
Submitter: Jenkins
Branch: stable/liberty

commit ac1a4bfdfc4cf6dfd8d5cd9be709c5482dc9123b
Author: Sam Yaple <email address hidden>
Date: Fri Oct 23 20:12:41 2015 +0000

    Fix broken galera

    A previous commit [1] broke Galera on Ubuntu while trying to fix
    Centos. This fixes the underlying different between the two distros
    and should help prevent that kind of mistake in the future.

    [1] I523d1989575dbe24a891fcae3b6bf56d83e69615

    Change-Id: Ie3e47f10cb669f36f8d2f166c88555931a54e3ec
    Backport: Liberty
    Closes-Bug: #1509281
    (cherry picked from commit 268aaa60fd599caec32d4bc2bad6eb85437e6b37)

Sam Yaple (s8m)
Changed in kolla:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.