openstack-helm/doc/source/guides-operator/troubleshooting/ts-development.md
Michał Dulko e795466247 Beggining of docs conversion to OpenStack format
This commit introduces initial infrastructure for building documentation
using the OpenStack's sphinx extension and tox. To demonstrate that
README.md is rewritten into README.rst and should appear in
documentation built by `tox -e docs`.

Partial-Implements: blueprint docs-to-rst

Change-Id: I08ebad1c572e248a8f474e785d3bf7a19dbc4340
2017-04-27 17:04:17 +02:00

1.7 KiB

Troubleshooting - Minikube

This troubleshooting guide is intended to assist users who are developing charts within this repository when using minikube. If you discover any issues with Minikube itself, submit an issue to the Minikube repository.

Diagnosing the problem

In order to protect your general sanity, we've included a curated list of verification and troubleshooting steps that may help you avoid some potential issues while developing Openstack-Helm.

MariaDB
To verify the state of MariaDB, use the following command:

$ kubectl exec mariadb-0 -it -n openstack -- mysql -u root -p password -e 'show databases;'
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
+--------------------+
$

Helm Server/Repository
Sometimes you will run into Helm server or repository issues. For our purposes, it's mostly safe to whack these. If you are developing charts for other projects, use at your own risk (you most likely know how to resolve these issues already).

To check for a running instance of Helm Server:

$ ps -a | grep "helm serve"
29452 ttys004    0:00.23 helm serve .
35721 ttys004    0:00.00 grep --color=auto helm serve

Kill the "helm serve" running process:

$ kill 29452

To clear out previous Helm repositories, and reinstall a local repository:

$ helm repo list
NAME  	URL
stable	https://kubernetes-charts.storage.googleapis.com/
local 	http://localhost:8879/charts
$
$ helm repo remove local

This allows you to read your local repository, if you ever need to do these steps:

$ helm repo add local http://localhost:8879/charts