I am running curl command on the keystone container itself and the result is coming after 40s . If I try with any other user it shows gateway time out . I have deployed openstack using openstack ansible ( tried newton and ocata ) following their reference architecture for production . It worked file for some time and then the gateway time out syndrome started coming out intermittently . After a restart of the controller all commands are giving gateway time out. Suspecting HAproxy i have increased time out value and finally ran the API inside the keystone container itself . Any suggestion is appreciated .
In keystone container’s apache-error.log has this error , all other logs are normal 2017-05-17 15:18:37.910591 Timeout when reading response headers from daemon process 'keystone-admin': /var/www/cgi-bin/keystone/admin 2017-05-17 15:19:07.406267 mod_wsgi (pid=3139): Exception occurred processing WSGI script '/var/www/cgi-bin/keystone/admin'. 2017-05-17 15:19:07.406433 IOError: failed to write data Thanks. Warm Regards, Bhujay I tried this command . time curl -i -g --insecure \ -H "Content-Type: application/json" \ -d ' { "auth": { "identity": { "methods": ["password"], "password": { "user": { "name": "admin", "domain": { "id": "default" }, "password": "welcome@123" } } } } }' \ http://localhost:5000/v3/auth/tokens ; echo Warm Regards, Bhujay
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack