holland-coredev team mailing list archive
-
holland-coredev team
-
Mailing list archive
-
Message #00388
[Bug 1448319] [NEW] mysql_lvm mysqldump missing check after wait_for_mysqld
Public bug reported:
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
** Affects: holland-backup
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Holland
Build, which is subscribed to holland-backup.
https://bugs.launchpad.net/bugs/1448319
Title:
mysql_lvm mysqldump missing check after wait_for_mysqld
Status in Holland Backup Framework:
New
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 manage notifications about this bug go to:
https://bugs.launchpad.net/holland-backup/+bug/1448319/+subscriptions
Follow ups
References