Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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
<title>500 Internal Server Error</title>
<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>
<address>Apache/2.4.18 (Ubuntu) Server at localhost Port 8041</address>
 (HTTP 500)

vim /etc/gnocchi/gnocchi.conf :

log_dir = /var/log/gnocchi
coordination_url = redis://controller:6379

auth_mode = keystone

backend = sqlalchemy

# MariaDB connection info
url = mysql+pymysql://gnocchi:hamed@controller/gnocchi

driver = file
file_basepath = /var/lib/gnocchi
#coordination_url = redis://controller:6379

# Keystone auth info
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