mysql_lvm mysqldump missing check after wait_for_mysqld

Bug #1448319 reported by MikeG
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
holland-backup
New
Undecided
Unassigned

Bug Description

If mysqld exits very quickly (such as when unix permissions prevent creation of a pid), the following code returns to MySQLDumpDispatchAction and a mysqldump is attempted:

https://github.com/holland-backup/holland/blob/v1.0.10/plugins/holland.backup.mysql_lvm/holland/backup/mysql_lvm/actions/mysql/mysqldump.py#L55

Since mysqld exited already, mysqldump fails with mysqldump: Got error: 2002: Can't connect to local MySQL server through socket (2)

Then the snapshot is unmounted and you see a seemingly deferred error:

 [ERROR] [Errno 3] No such process

Related: https://bugs.launchpad.net/holland-backup/+bug/1194979

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.