Fixed an issue with restore where it was failing with the latest
version of pexpect in Ubuntu 14.04.
pexpect attempts to stop the temp mysqld process which fails due to
a difference in privilege level (since the process was run with sudo).
We now use mysqladmin shutdown to stop the temp mysqld process.
Reviewed: https:/ /review. openstack. org/100353 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=0a7c8d48587 20e85d781f2b4d3 affad835747134
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0a7c8d4858720e8 5d781f2b4d3affa d835747134
Author: Nikhil Manchanda <email address hidden>
Date: Fri Jun 13 11:16:00 2014 -0700
Fixed restore to work correctly with pexpect
Fixed an issue with restore where it was failing with the latest
version of pexpect in Ubuntu 14.04.
pexpect attempts to stop the temp mysqld process which fails due to
a difference in privilege level (since the process was run with sudo).
We now use mysqladmin shutdown to stop the temp mysqld process.
Closes-Bug: 1343344
Change-Id: Iba81648bb1654d b97de876dd9a0db fb04b8811d1