<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello,</div><div><br></div><div>I am trying to verify the installation of keystone.  When I try to run some "curl" commands, I get the following error message:</div><div><br></div><div><div>root@bodega:~/ahmed/keystone-init# curl -d '{"auth": {"tenantName": "adminTenant", "passwordCredentials": {"username": "adminUser", "password": "secretword"}}}' -H "Content-type: application/json" -H "X_Auth_Token: ahmedadmintoken" http://10.176.20.158:35357/v2.0/tokens | python -mjson.tool</div><div>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current</div><div>                                 Dload  Upload   Total   Spent    Left  Speed</div><div>100   231    0   116  100   115  15205  15074 --:--:-- --:--:-- --:--:-- 16571</div><div>{</div><div>    "error": {</div><div>        "code": 401, </div><div>        "message": "The request you have made requires authentication.", </div><div>        "title": "Not Authorized"</div><div>    }</div><div>}</div></div><div><br></div><div><br></div><div>I don't see any message in the /var/log/keystone/logging.conf file.   I can pass "-debug" option to keystone to enable debugging, but I am not sure how to do that from curl.  Following is content of /etc/keystone/logging.conf file:</div><div><br></div><div><div>root@bodega:~# cat /etc/keystone/logging.conf </div><div>[loggers]</div><div>keys=root</div><div><br></div><div>[formatters]</div><div>keys=normal,normal_with_name,debug</div><div><br></div><div>[handlers]</div><div>keys=production,file,devel</div><div><br></div><div>[logger_root]</div><div>level=WARNING</div><div>handlers=file</div><div><br></div><div>[handler_production]</div><div>class=handlers.SysLogHandler</div><div>level=ERROR</div><div>formatter=normal_with_name</div><div>args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)</div><div><br></div><div>[handler_file]</div><div>class=FileHandler</div><div>level=DEBUG</div><div>formatter=normal_with_name</div><div>args=('/var/log/keystone/keystone.log', 'a')</div><div><br></div><div>[handler_devel]</div><div>class=StreamHandler</div><div>level=NOTSET</div><div>formatter=debug</div><div>args=(sys.stdout,)</div><div><br></div><div>[formatter_normal]</div><div>format=%(asctime)s %(levelname)s %(message)s</div><div><br></div><div>[formatter_normal_with_name]</div><div>format=(%(name)s): %(asctime)s %(levelname)s %(message)s</div><div><br></div><div>[formatter_debug]</div><div>format=(%(name)s): %(asctime)s %(levelname)s %(module)s %(funcName)s %(message)s</div><div>root@bodega:~# </div></div><div><br></div><div>Any help would be greatly appreciated.</div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div><div><br></div><div><br></div></body></html>