Merge ~lvoytek/ubuntu/+source/mysql-8.0:mysql-lp1899248-increase-shutdown-timeout-sru-impish into ubuntu/+source/mysql-8.0:ubuntu/impish-devel
Status: | Merged |
---|---|
Merged at revision: | fb6e67012d97d7628f418e482a01ee321072220d |
Proposed branch: | ~lvoytek/ubuntu/+source/mysql-8.0:mysql-lp1899248-increase-shutdown-timeout-sru-impish |
Merge into: | ubuntu/+source/mysql-8.0:ubuntu/impish-devel |
Diff against target: |
59 lines (+18/-5) 2 files modified
debian/changelog (+10/-0) debian/mysql-server-8.0.postinst (+8/-5) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bryce Harrington (community) | Approve | ||
Utkarsh Gupta (community) | Needs Information | ||
Canonical Server | Pending | ||
Canonical Server Core Reviewers | Pending | ||
Review via email: mp+416904@code.launchpad.net |
Description of the change
The increase of the timer to 3 minutes is based on the shudown times seen in LP #1899248 and its duplicates. The average shutdown time seen here is 1:31, with a maximum reasonable shutdown time of 2:42.
The secondary wait has been reduced from 1 second to .9 seconds to actually match the 3 minute timeout and help with debugging.
ppa:lvoytek/
Steps to test:
# lxc launch images:
# lxc exec test-failure-impish bash
# apt update && apt dist-upgrade -y
# apt install -y software-
- This ppa contains a shutdown timeout of 0, causing the error to be reproduced every time
# add-apt-repository ppa:lvoytek/
# apt install -y mysql-server
- A shutdown error will show up in the terminal:
mysqld is running as pid 2674
Error: Unable to shut down server with process id 2674
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
- After the initial install mysqlx errors will also show up in the error log
# grep mysqlx /var/log/
2022-03-
2022-03-
# exit
# lxc launch images:
# lxc exec test-success-impish bash
# apt update && apt dist-upgrade -y
# apt install -y software-
# add-apt-repository ppa:lvoytek/
# apt install -y mysql-server
- mysql will install successfully without producing any shutdown errors
- After the initial install confirm no mysqlx errors show up in the error log
# grep mysqlx /var/log/
2022-03-
2022-03-
2022-03-
Bug #1964969 is a great one to point to for the mysqlx socket issue. Are you able to edit the description of that bug? If so, please update the description with description and analysis like was mentioned on yesterday's MP.