missing-innobackupex-ubuntu-1204

Bug #1256384 reported by Denis M.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Robert Myers

Bug Description

Missing utility innobackex on ubuntu 12.04 x64
Packages for installing: mysql-server-5.5
Should be installed special package: percona-xtrabackup from additional repos.
Simple flow:

apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A

deb http://repo.percona.com/apt VERSION main

deb-src http://repo.percona.com/apt VERSION main

apt-get update

apt-get install percona-xtrabackup

where VERSION is :

        10.04LTS (lucid)
        12.04LTS (precise)
        12.10 (quantal)
        13.04 (raring)
        13.10 (saucy)

Problem: with missing innobackupex guestagent raises BackupError, state of instance is ACTIVE, backup status COMPLETED.

Denis M. (dmakogon)
summary: - innobackupex-ubuntu-1204
+ missing-innobackupex-ubuntu-1204
Denis M. (dmakogon)
Changed in trove:
status: New → Incomplete
status: Incomplete → Invalid
status: Invalid → Opinion
Robert Myers (rmyers)
Changed in trove:
status: Opinion → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
assignee: nobody → Robert Myers (rmyers)
status: Confirmed → In Progress
Revision history for this message
Nikhil Manchanda (slicknik) wrote :

Basically when the innobackupex command is missing it raises an error, but only *after* the backup is marked as COMPLETED. So if you build an image without innobackupex or mysqldump it will mask the errors.

Revision history for this message
Denis M. (dmakogon) wrote :

Bug is a bug, but how backup could get COMPLETE status and push empty *tar.gz into swift if innobackupex missing. Problem is that statuses misconfiguration happening.
If backuping failed - backup status FAILED, but not even COMPLETED

Revision history for this message
Nikhil Manchanda (slicknik) wrote : Re: [Bug 1256384] Re: missing-innobackupex-ubuntu-1204

Agreed it is a bug and needs to be fixed. I put the comment in for
clarification only.

On Wed, Dec 4, 2013 at 12:04 PM, Denis M. <email address hidden> wrote:

> Bug is a bug, but how backup could get COMPLETE status and push empty
> *tar.gz into swift if innobackupex missing. Problem is that statuses
> misconfiguration happening.
> If backuping failed - backup status FAILED, but not even COMPLETED
>
> --
> You received this bug notification because you are a member of RedDwarf
> Core Team, which is subscribed to Trove.
> Matching subscriptions: trove-bugs
> https://bugs.launchpad.net/bugs/1256384
>
> Title:
> missing-innobackupex-ubuntu-1204
>
> Status in Trove - Database as a Service:
> In Progress
>
> Bug description:
> Missing utility innobackex on ubuntu 12.04 x64
> Packages for installing: mysql-server-5.5
> Should be installed special package: percona-xtrabackup from additional
> repos.
> Simple flow:
>
> apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
>
> deb http://repo.percona.com/apt VERSION main
>
> deb-src http://repo.percona.com/apt VERSION main
>
> apt-get update
>
> apt-get install percona-xtrabackup
>
> where VERSION is :
>
> 10.04LTS (lucid)
> 12.04LTS (precise)
> 12.10 (quantal)
> 13.04 (raring)
> 13.10 (saucy)
>
>
> Problem: with missing innobackupex guestagent raises BackupError, state
> of instance is ACTIVE, backup status COMPLETED.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/trove/+bug/1256384/+subscriptions
>

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

Reviewed: https://review.openstack.org/59283
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=58e8c575d5a84cb1bc6bba1d73d1dd4d9c0e2e4b
Submitter: Jenkins
Branch: master

commit 58e8c575d5a84cb1bc6bba1d73d1dd4d9c0e2e4b
Author: Robert Myers <email address hidden>
Date: Sat Nov 30 22:12:32 2013 -0600

    Properly mark a backup as FAILED if the process failed

    * Add a try except around the backup runner
    * Moved conductor update calls outside of the scope of
      the runner with statement to catch exceptions in
      the __exit__ method.

    Closes-Bug: #1256384

    Change-Id: Icf539ab75314476b42a6e175c087ff61cc3608e1

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: icehouse-2 → 2014.1
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.