gnocchi 500 internal server error
Hi
I install openstack queens and install gnocchi.
when input gnocchi-status command (or other gnocchi commands) get blow erorr :
root@Controller:~# gnocchi status
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
[no address given] to inform them of the time this error occurred,
and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at localhost Port 8041</address>
</body></html>
(HTTP 500)
vim /etc/gnocchi/gnocchi.conf :
[DEFAULT]
log_dir = /var/log/gnocchi
coordination_url = redis://controller:6379
[api]
auth_mode = keystone
[database]
backend = sqlalchemy
# MariaDB connection info
[indexer]
url = mysql+pymysql://gnocchi:hamed@controller/gnocchi
[storage]
driver = file
file_basepath = /var/lib/gnocchi
#coordination_url = redis://controller:6379
# Keystone auth info
[keystone_authtoken]
service_token_roles_required = true
auth_type = password
auth_url = http://controller:5000/v3
project_domain_name = Default
user_domain_name = Default
project_name = service
username = gnocchi
password = hamed
interface = internalURL
region_name = RegionOne
openstack version: queens
OS: ubuntu16.04
The gnocchi log files should contain details about the error.
could you gather data by gnocchi? aodh alarm list is in insuffient data for me