Skip to content

Commit

Permalink
Revert "Add section to troubleshooting MySQL (#758)" (#761)
Browse files Browse the repository at this point in the history
This reverts commit 4d767ff.
  • Loading branch information
btat authored Mar 12, 2020
1 parent 4d767ff commit e8a8295
Showing 1 changed file with 5 additions and 40 deletions.
45 changes: 5 additions & 40 deletions xml/cap_troubleshooting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -440,15 +440,12 @@ end
<sect1 xml:id="sec-cap-tbl-mysql-failure">
<title><literal>mysql</literal> Pods Fail to Start</title>
<para>
In some cases, <literal>mysql</literal> pods may fail to start due to various
reasons. This can affect the <literal>mysql</literal> pod in both
In some cases, <literal>mysql</literal> pods may fail to start due to data
initialization problems or incomplete transactions from a previously aborted
operation. This can affect the <literal>mysql</literal> pod in both
<literal>uaa</literal> and <literal>scf</literal>.
</para>
<sect2 xml:id="sec-cap-tbl-mysql-failure-data-initialization">
<title>
Data initialization or incomplete transactions
</title>
<procedure>
<procedure>
<step>
<para>
Confirm whether the <literal>mysql</literal> pod failure is related to
Expand Down Expand Up @@ -548,38 +545,6 @@ recover switch to commit or rollback pending transactions.
</step>
</substeps>
</step>
</procedure>
</sect2>
<sect2 xml:id="sec-cap-tbl-mysql-failure-file-ownership">
<title>File ownership issues</title>
<para>
If the <literal>mysql</literal> pod is in state <literal>READY: 0/1</literal> and <literal>STATUS: Running</literal>, like this:
</para>
<screen>
&prompt.user;kubectl get pods -namespace uaa
NAME READY STATUS RESTARTS AGE
configgin-helper-0 1/1 Running 0 16m
mysql-0 0/1 Running 0 16m
mysql-proxy-0 1/1 Running 0 16m
post-deployment-setup-1-lg7vl 0/1 Completed 0 16m
secret-generation-1-fczw4 0/1 Completed 0 16m
uaa-0 0/1 Running 0 16m
</screen>
<para>
Verify if all files in the <filename>/var/vcap/store</filename> directory
of the <literal>mysql-0</literal> pod are owned by the
<literal>vcap</literal> user:
</para>
<screen>
&prompt.user;kubectl exec --stdin --tty --namespace uaa mysql-0 -- bash
mysql/0:/# ls -Al /var/vcap/store/
total 12
drwx------ 2 vcap nobody 4096 Mar 9 07:41 mysql_audit_logs
drwx------ 6 vcap nobody 4096 Mar 9 07:42 pxc-mysql
</screen>
<para>
If not, please verify the configuration of your NFS share.
</para>
</sect2>
</procedure>
</sect1>
</chapter>

0 comments on commit e8a8295

Please sign in to comment.