openstack commands are failing with connection abort error
Hello I am trying to run openstack command from outside of openstack cluster the commands were working before but now they are failing with following error ConnectFailure: Unable to establish connection to http://{HORIZON_IP}:8774/v2.1/servers/detail: ('Connection aborted.', error(104, 'Connection reset by peer'))
i am running following command openstack --os-auth-url=http://{HORIZON_IP}:5000/v2.0 --os-project-name={PROJ_NAME} --os-username={USERNAME} --os-password={PWD} server list
The same commands is working if i run it from one of the controller nodes
in httpd/gnocchi_wsgi_error.log i have following error message ConnectionError: ('Connection aborted.', ResponseNotReady())
Any idea what could be wrong Thanks in advance
Are you sure that Keystone v2 is correct, and that you are using v2 when running the command on the controller? v2 has been deprecated for a while.
I would also check the values of environment variables OS_xxxx. They might be different on the controller than the remote system.
The Gnocchi error is unlikely to be related to the server list command.
the same command was working before. Also i am providing values in the command on both machines
Which OpenStack version is that, and how was the cloud deployed?
I would check connectivity to Nova (
curl http://HORIZON-IP:8774
) and also check the nova-api log for relevant messages.curl command succeeds. nova-api log only shows that requests are succeeding nova-conductor contains following message WARNING oslo.service.loopingcall [-] Function 'nova.servicegroup.drivers.db.DbDriver._report_state' run outlasted interval by 5.72 sec