Fixes: HA provisioning fails becuase of missing imports in galera setup

During code refactoring, a few function imports were missed.
Adding the function imports.

The mysql check to check for MySQL status failed.

Change-Id: Ie4af00aa572a24b3ce34683238a526aa6e897fd0
Closes-Bug: 1391344
Merge "Fixes: HA provisioning fails becuase of missing imports in galera setup"