Ask Your Question

rahul_kumar's profile - activity

2017-11-30 09:40:15 -0500 received badge  Notable Question (source)
2017-11-30 09:40:15 -0500 received badge  Famous Question (source)
2017-07-04 04:13:43 -0500 received badge  Enthusiast
2017-06-27 08:43:27 -0500 received badge  Popular Question (source)
2017-06-21 06:03:16 -0500 asked a question nova commands returns "ERROR (ConnectFailure): Unable to establish connection to http://controller:8774/v2.1/"

When invoking any nova commands it returns "ERROR (ConnectFailure): Unable to establish connection to http://controller:8774/v2.1/%22 (http://controller:8774/v2.1/"). Everything earlier was working fine until i installed gnocchi and the required feature using the following commands "pip install gnocchi" and "pip install gnocchi[postgresql,ceph,keystone]".

Running following command"netstat -ntpl | grep 8774" does not give any output which means no 8774 listener port.

Also In the syslog i can see the below error:

Jun 21 02:48:40 controller nova-consoleauth[23207]: Traceback (most recent call last): Jun 21 02:48:40 controller nova-consoleauth[23207]: File "/usr/bin/nova-consoleauth", line 10, in <module> Jun 21 02:48:40 controller nova-consoleauth[23207]: sys.exit(main()) Jun 21 02:48:40 controller nova-consoleauth[23207]: File "/usr/lib/python2.7/dist-packages/nova/cmd/consoleauth.py", line 35, in main Jun 21 02:48:40 controller nova-consoleauth[23207]: config.parse_args(sys.argv) Jun 21 02:48:40 controller nova-consoleauth[23207]: File "/usr/lib/python2.7/dist-packages/nova/config.py", line 56, in parse_args Jun 21 02:48:40 controller nova-consoleauth[23207]: sqlite_db='nova.sqlite') Jun 21 02:48:40 controller nova-consoleauth[23207]: TypeError: set_defaults() got an unexpected keyword argument 'sqlite_db' Jun 21 02:48:40 controller systemd[1]: nova-consoleauth.service: Main process exited, code=exited, status=1/FAILURE Jun 21 02:48:40 controller systemd[1]: nova-consoleauth.service: Unit entered failed state. Jun 21 02:48:40 controller systemd[1]: nova-consoleauth.service: Failed with result 'exit-code'. Jun 21 02:48:40 controller systemd[1]: nova-consoleauth.service: Service hold-off time over, scheduling restart. Jun 21 02:48:40 controller systemd[1]: Stopped OpenStack Compute Console. Jun 21 02:48:40 controller nova-conductor[23223]: Traceback (most recent call last): Jun 21 02:48:40 controller nova-conductor[23223]: File "/usr/bin/nova-conductor", line 10, in <module> Jun 21 02:48:40 controller nova-conductor[23223]: sys.exit(main()) Jun 21 02:48:40 controller nova-conductor[23223]: File "/usr/lib/python2.7/dist-packages/nova/cmd/conductor.py", line 34, in main Jun 21 02:48:40 controller nova-conductor[23223]: config.parse_args(sys.argv) Jun 21 02:48:40 controller nova-conductor[23223]: File "/usr/lib/python2.7/dist-packages/nova/config.py", line 56, in parse_args Jun 21 02:48:40 controller nova-conductor[23223]: sqlite_db='nova.sqlite') Jun 21 02:48:40 controller nova-conductor[23223]: TypeError: set_defaults() got an unexpected keyword argument 'sqlite_db' Jun 21 02:48:40 controller systemd[1]: Starting OpenStack Compute Console... Jun 21 02:48:40 controller systemd[1]: Started OpenStack Compute Console. Jun 21 02:48:40 controller systemd[1]: nova-conductor.service: Main process exited, code=exited, status=1/FAILURE Jun 21 02:48:40 controller systemd[1]: nova-conductor.service: Unit entered failed state. Jun 21 02:48:40 controller systemd[1]: nova-conductor.service: Failed with result 'exit-code'. Jun 21 02:48:40 controller nova-api[23243]: Traceback (most recent call last): Jun 21 02:48:40 controller nova-api[23243]: File "/usr/bin/nova-api", line 10, in <module> Jun 21 02 ... (more)