(mysql) incremental backup keeps instance in BACKUP state if backup has no lsn

Bug #1509615 reported by Craig Vyvial
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Triaged
High
Unassigned

Bug Description

Related to this bug https://bugs.launchpad.net/trove/+bug/1509551

The incremental backup hangs for mysql if there is no lsn number because the status is never reported that the backup FAILED. The backup will stay in a BUILD state so this in turn keeps the instance also in the BACKUP state.

We need to make sure if there is an error in the guest for a backup that the guest reports it back to conductor/taskmanager to update the database for the backup that was started that it FAILED.

Log of guest agent when incremental backup is created from a backup that has no lsn.
http://paste.openstack.org/show/477319/

To replicate:
Create a backup from an instance.
Delete the lsn number from the backup
make sure the backup is in COMPLETED state (a good state even though the backup is not)
create an incremental backup with the parent as the backup with no lsn
instance will never get out of BACKUP state.

Changed in trove:
milestone: mitaka-1 → mitaka-3
Amrith Kumar (amrith)
Changed in trove:
milestone: mitaka-3 → mitaka-rc1
Amrith Kumar (amrith)
Changed in trove:
milestone: mitaka-rc1 → next
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.