Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova list not working

I have installed a mitaka setup openstack with compute and controller on the same node. Whenever i try to execute any nova command line utilities i am getting the below error.

====

[root@localhost ~(keystone_admin)]# nova list
ERROR (AttributeError): 'unicode' object has no attribute 'get'
[root@localhost ~(keystone_admin)]#

===== When i tried to use --debug option , i am seeing that this http request is returning me a 404 error message.

=====

DEBUG (session:342) REQ: curl -g -i -X GET http://10.1.10.22:8774/v2/83ac35d687fe49fba704dac8c78d4392 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}759868f2d8125f6e8148fbeba69957ba417c408c"
INFO (connectionpool:214) Starting new HTTP connection (1): 10.1.10.22
DEBUG (connectionpool:401) "GET /v2/83ac35d687fe49fba704dac8c78d4392 HTTP/1.1" 404 112
DEBUG (session:371) RESP: [404] Content-Length: 112 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-a8140655-a1b5-442c-aae6-3f0595af1f4f Date: Wed, 16 Nov 2016 15:36:03 GMT Connection: keep-alive
RESP BODY: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}

==========

My nova services and httpd server (which runs the keystone is up and running)

[root@localhost ~(keystone_admin)]# openstack-service status nova
MainPID=2541 Id=openstack-nova-api.service ActiveState=active
MainPID=2452 Id=openstack-nova-cert.service ActiveState=active
MainPID=2485 Id=openstack-nova-compute.service ActiveState=active
MainPID=2462 Id=openstack-nova-conductor.service ActiveState=active
MainPID=2481 Id=openstack-nova-console.service ActiveState=active
MainPID=2483 Id=openstack-nova-consoleauth.service ActiveState=active
MainPID=2398 Id=openstack-nova-novncproxy.service ActiveState=active
MainPID=2477 Id=openstack-nova-scheduler.service ActiveState=active
MainPID=2409 Id=openstack-nova-xvpvncproxy.service ActiveState=active

[root@localhost ~(keystone_admin)]#

[root@localhost ~(keystone_admin)]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/httpd.service.d
           └─openstack-dashboard.conf
   Active: active (running) since Wed 2016-11-16 21:03:57 IST; 8min ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 47682 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 18549 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
  Process: 47807 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force (code=exited, status=0/SUCCESS)
  Process: 47793 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear (code=exited, status=0/SUCCESS)
 Main PID: 47891 (httpd)
   Status: "Total requests: 435; Current requests/sec: 0.8; Current traffic: 921 B/sec"
   CGroup: /system.slice/httpd.service
           ├─  324 keystone-admin  -DFOREGROUND
           ├─  341 keystone-admin  -DFOREGROUND
           ├─  342 keystone-admin  -DFOREGROUND
           ├─  392 keystone-admin  -DFOREGROUND
           ├─  575 keystone-main   -DFOREGROUND
           ├─  576 keystone-main   -DFOREGROUND
           ├─  603 keystone-main   -DFOREGROUND
           ├─  604 keystone-main   -DFOREGROUND
           ├─  608 keystone-main   -DFOREGROUND
           ├─  667 keystone-main   -DFOREGROUND
           ├─  692 keystone-main   -DFOREGROUND
           ├─  713 keystone-main   -DFOREGROUND
           ├─  751 keystone-main   -DFOREGROUND
           ├─  752 keystone-main   -DFOREGROUND
           ├─  810 keystone-main   -DFOREGROUND
           ├─  811 keystone-main   -DFOREGROUND
           ├─  833 keystone-main   -DFOREGROUND
           ├─  839 keystone-main   -DFOREGROUND
           ├─  864 keystone-main   -DFOREGROUND
           ├─  867 keystone-main   -DFOREGROUND
           ├─  868 keystone-main   -DFOREGROUND
           ├─  892 keystone-main   -DFOREGROUND
           ├─  995 keystone-main   -DFOREGROUND
           ├─ 1022 keystone-main   -DFOREGROUND
           ├─ 1044 keystone-main   -DFOREGROUND
           ├─ 1129 keystone-main   -DFOREGROUND
           ├─ 1345 keystone-main   -DFOREGROUND
           ├─ 1362 keystone-main   -DFOREGROUND
           ├─ 1415 /usr/sbin/httpd -DFOREGROUND
           ├─ 1416 /usr/sbin/httpd -DFOREGROUND
           ├─ 1417 /usr/sbin/httpd -DFOREGROUND
           ├─ 1449 /usr/sbin/httpd -DFOREGROUND
           ├─ 1466 /usr/sbin/httpd -DFOREGROUND
           ├─ 1467 /usr/sbin/httpd -DFOREGROUND
           ├─ 1468 /usr/sbin/httpd -DFOREGROUND
           ├─ 1469 /usr/sbin/httpd -DFOREGROUND
           ├─ 1470 /usr/sbin/httpd -DFOREGROUND
           ├─ 1523 /usr/sbin/httpd -DFOREGROUND
           ├─ 1637 /usr/sbin/httpd -DFOREGROUND
           ├─47891 /usr/sbin/httpd -DFOREGROUND
           ├─47893 /usr/sbin/httpd -DFOREGROUND
           ├─47894 /usr/sbin/httpd -DFOREGROUND
           ├─47895 /usr/sbin/httpd -DFOREGROUND
           ├─47896 /usr/sbin/httpd -DFOREGROUND
           ├─47897 /usr/sbin/httpd -DFOREGROUND
           ├─47898 /usr/sbin/httpd -DFOREGROUND
           ├─47899 /usr/sbin/httpd -DFOREGROUND
           ├─47900 /usr/sbin/httpd -DFOREGROUND
           ├─47901 /usr/sbin/httpd -DFOREGROUND
           ├─47902 /usr/sbin/httpd -DFOREGROUND
           ├─47903 /usr/sbin/httpd -DFOREGROUND
           ├─47904 /usr/sbin/httpd -DFOREGROUND
           ├─47905 /usr/sbin/httpd -DFOREGROUND
           ├─47906 /usr/sbin/httpd -DFOREGROUND
           ├─47907 /usr/sbin/httpd -DFOREGROUND
           ├─47908 /usr/sbin/httpd -DFOREGROUND
           ├─47909 /usr/sbin/httpd -DFOREGROUND
           ├─47910 /usr/sbin/httpd -DFOREGROUND
           ├─47911 /usr/sbin/httpd -DFOREGROUND
           ├─47912 /usr/sbin/httpd -DFOREGROUND
           ├─47913 /usr/sbin/httpd -DFOREGROUND
           ├─47914 /usr/sbin/httpd -DFOREGROUND
           ├─47915 /usr/sbin/httpd -DFOREGROUND
           ├─47916 /usr/sbin/httpd -DFOREGROUND
           ├─47917 /usr/sbin/httpd -DFOREGROUND
           ├─47918 /usr/sbin/httpd -DFOREGROUND
           ├─47919 /usr/sbin/httpd -DFOREGROUND
           ├─47920 /usr/sbin/httpd -DFOREGROUND
           ├─47921 /usr/sbin/httpd -DFOREGROUND
           ├─47922 /usr/sbin/httpd -DFOREGROUND
           ├─47923 /usr/sbin/httpd -DFOREGROUND
           ├─47924 /usr/sbin/httpd -DFOREGROUND
           ├─47951 /usr/sbin/httpd -DFOREGROUND
           ├─47992 /usr/sbin/httpd -DFOREGROUND
           ├─48046 /usr/sbin/httpd -DFOREGROUND
           ├─48062 /usr/sbin/httpd -DFOREGROUND
           ├─48063 /usr/sbin/httpd -DFOREGROUND
           ├─48064 /usr/sbin/httpd -DFOREGROUND
           ├─48093 /usr/sbin/httpd -DFOREGROUND
           ├─48141 /usr/sbin/httpd -DFOREGROUND
           ├─48166 /usr/sbin/httpd -DFOREGROUND
           ├─48167 /usr/sbin/httpd -DFOREGROUND
           ├─48196 /usr/sbin/httpd -DFOREGROUND
           ├─48219 /usr/sbin/httpd -DFOREGROUND
           ├─48550 /usr/sbin/httpd -DFOREGROUND
           ├─48620 /usr/sbin/httpd -DFOREGROUND
           ├─48645 /usr/sbin/httpd -DFOREGROUND
           ├─48656 /usr/sbin/httpd -DFOREGROUND
           ├─48673 /usr/sbin/httpd -DFOREGROUND
           ├─48707 keystone-admin  -DFOREGROUND
           ├─48727 keystone-admin  -DFOREGROUND
           ├─48730 keystone-admin  -DFOREGROUND
           ├─48860 keystone-admin  -DFOREGROUND
           ├─48886 keystone-admin  -DFOREGROUND
           ├─48887 keystone-admin  -DFOREGROUND
           ├─48888 keystone-admin  -DFOREGROUND
           ├─48889 keystone-admin  -DFOREGROUND
           ├─48890 keystone-admin  -DFOREGROUND
           ├─48891 keystone-admin  -DFOREGROUND
           ├─48893 keystone-admin  -DFOREGROUND
           ├─48896 keystone-admin  -DFOREGROUND
           ├─48897 keystone-admin  -DFOREGROUND
           ├─48917 keystone-admin  -DFOREGROUND
           ├─48940 keystone-admin  -DFOREGROUND
           ├─48949 keystone-admin  -DFOREGROUND
           ├─48952 keystone-admin  -DFOREGROUND
           ├─48955 keystone-admin  -DFOREGROUND
           ├─49134 keystone-admin  -DFOREGROUND
           └─49135 keystone-admin  -DFOREGROUND

========= Can someone suggest as to what is causing this??

nova list not working

I have installed a mitaka setup openstack with compute and controller on the same node. Whenever i try to execute any nova command line utilities i am getting the below error.

====

[root@localhost ~(keystone_admin)]# nova list
ERROR (AttributeError): 'unicode' object has no attribute 'get'
[root@localhost ~(keystone_admin)]#

===== When i tried to use --debug option , i am seeing that this http request is returning me a 404 error message.

=====

DEBUG (session:342) REQ: curl -g -i -X GET http://10.1.10.22:8774/v2/83ac35d687fe49fba704dac8c78d4392 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}759868f2d8125f6e8148fbeba69957ba417c408c"
INFO (connectionpool:214) Starting new HTTP connection (1): 10.1.10.22
DEBUG (connectionpool:401) "GET /v2/83ac35d687fe49fba704dac8c78d4392 HTTP/1.1" 404 112
DEBUG (session:371) RESP: [404] Content-Length: 112 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-a8140655-a1b5-442c-aae6-3f0595af1f4f Date: Wed, 16 Nov 2016 15:36:03 GMT Connection: keep-alive
RESP BODY: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}

==========

My nova services and httpd server (which runs the keystone is up and running)

[root@localhost ~(keystone_admin)]# openstack-service status nova
MainPID=2541 Id=openstack-nova-api.service ActiveState=active
MainPID=2452 Id=openstack-nova-cert.service ActiveState=active
MainPID=2485 Id=openstack-nova-compute.service ActiveState=active
MainPID=2462 Id=openstack-nova-conductor.service ActiveState=active
MainPID=2481 Id=openstack-nova-console.service ActiveState=active
MainPID=2483 Id=openstack-nova-consoleauth.service ActiveState=active
MainPID=2398 Id=openstack-nova-novncproxy.service ActiveState=active
MainPID=2477 Id=openstack-nova-scheduler.service ActiveState=active
MainPID=2409 Id=openstack-nova-xvpvncproxy.service ActiveState=active

[root@localhost ~(keystone_admin)]#

[root@localhost ~(keystone_admin)]# systemctl status httpd
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
  Drop-In: /usr/lib/systemd/system/httpd.service.d
           └─openstack-dashboard.conf
   Active: active (running) since Wed 2016-11-16 21:03:57 IST; 8min ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 47682 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 18549 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
  Process: 47807 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force (code=exited, status=0/SUCCESS)
  Process: 47793 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear (code=exited, status=0/SUCCESS)
 Main PID: 47891 (httpd)
   Status: "Total requests: 435; Current requests/sec: 0.8; Current traffic: 921 B/sec"
   CGroup: /system.slice/httpd.service
           ├─  324 keystone-admin  -DFOREGROUND
           ├─  341 keystone-admin  -DFOREGROUND
           ├─  342 keystone-admin  -DFOREGROUND
           ├─  392 keystone-admin  -DFOREGROUND
           ├─  575 keystone-main   -DFOREGROUND
           ├─  576 keystone-main   -DFOREGROUND
           ├─  603 keystone-main   -DFOREGROUND
           ├─  604 keystone-main   -DFOREGROUND
           ├─  608 keystone-main   -DFOREGROUND
           ├─  667 keystone-main   -DFOREGROUND
           ├─  692 keystone-main   -DFOREGROUND
           ├─  713 keystone-main   -DFOREGROUND
           ├─  751 keystone-main   -DFOREGROUND
           ├─  752 keystone-main   -DFOREGROUND
           ├─  810 keystone-main   -DFOREGROUND
           ├─  811 keystone-main   -DFOREGROUND
           ├─  833 keystone-main   -DFOREGROUND
           ├─  839 keystone-main   -DFOREGROUND
           ├─  864 keystone-main   -DFOREGROUND
           ├─  867 keystone-main   -DFOREGROUND
           ├─  868 keystone-main   -DFOREGROUND
           ├─  892 keystone-main   -DFOREGROUND
           ├─  995 keystone-main   -DFOREGROUND
           ├─ 1022 keystone-main   -DFOREGROUND
           ├─ 1044 keystone-main   -DFOREGROUND
           ├─ 1129 keystone-main   -DFOREGROUND
           ├─ 1345 keystone-main   -DFOREGROUND
           ├─ 1362 keystone-main   -DFOREGROUND
           ├─ 1415 /usr/sbin/httpd -DFOREGROUND
           ├─ 1416 /usr/sbin/httpd -DFOREGROUND
           ├─ 1417 /usr/sbin/httpd -DFOREGROUND
           ├─ 1449 /usr/sbin/httpd -DFOREGROUND
           ├─ 1466 /usr/sbin/httpd -DFOREGROUND
           ├─ 1467 /usr/sbin/httpd -DFOREGROUND
           ├─ 1468 /usr/sbin/httpd -DFOREGROUND
           ├─ 1469 /usr/sbin/httpd -DFOREGROUND
           ├─ 1470 /usr/sbin/httpd -DFOREGROUND
           ├─ 1523 /usr/sbin/httpd -DFOREGROUND
           ├─ 1637 /usr/sbin/httpd -DFOREGROUND
           ├─47891 /usr/sbin/httpd -DFOREGROUND
           ├─47893 /usr/sbin/httpd -DFOREGROUND
           ├─47894 /usr/sbin/httpd -DFOREGROUND
           ├─47895 /usr/sbin/httpd -DFOREGROUND
           ├─47896 /usr/sbin/httpd -DFOREGROUND
           ├─47897 /usr/sbin/httpd -DFOREGROUND
           ├─47898 /usr/sbin/httpd -DFOREGROUND
           ├─47899 /usr/sbin/httpd -DFOREGROUND
           ├─47900 /usr/sbin/httpd -DFOREGROUND
           ├─47901 /usr/sbin/httpd -DFOREGROUND
           ├─47902 /usr/sbin/httpd -DFOREGROUND
           ├─47903 /usr/sbin/httpd -DFOREGROUND
           ├─47904 /usr/sbin/httpd -DFOREGROUND
           ├─47905 /usr/sbin/httpd -DFOREGROUND
           ├─47906 /usr/sbin/httpd -DFOREGROUND
           ├─47907 /usr/sbin/httpd -DFOREGROUND
           ├─47908 /usr/sbin/httpd -DFOREGROUND
           ├─47909 /usr/sbin/httpd -DFOREGROUND
           ├─47910 /usr/sbin/httpd -DFOREGROUND
           ├─47911 /usr/sbin/httpd -DFOREGROUND
           ├─47912 /usr/sbin/httpd -DFOREGROUND
           ├─47913 /usr/sbin/httpd -DFOREGROUND
           ├─47914 /usr/sbin/httpd -DFOREGROUND
           ├─47915 /usr/sbin/httpd -DFOREGROUND
           ├─47916 /usr/sbin/httpd -DFOREGROUND
           ├─47917 /usr/sbin/httpd -DFOREGROUND
           ├─47918 /usr/sbin/httpd -DFOREGROUND
           ├─47919 /usr/sbin/httpd -DFOREGROUND
           ├─47920 /usr/sbin/httpd -DFOREGROUND
           ├─47921 /usr/sbin/httpd -DFOREGROUND
           ├─47922 /usr/sbin/httpd -DFOREGROUND
           ├─47923 /usr/sbin/httpd -DFOREGROUND
           ├─47924 /usr/sbin/httpd -DFOREGROUND
           ├─47951 /usr/sbin/httpd -DFOREGROUND
           ├─47992 /usr/sbin/httpd -DFOREGROUND
           ├─48046 /usr/sbin/httpd -DFOREGROUND
           ├─48062 /usr/sbin/httpd -DFOREGROUND
           ├─48063 /usr/sbin/httpd -DFOREGROUND
           ├─48064 /usr/sbin/httpd -DFOREGROUND
           ├─48093 /usr/sbin/httpd -DFOREGROUND
           ├─48141 /usr/sbin/httpd -DFOREGROUND
           ├─48166 /usr/sbin/httpd -DFOREGROUND
           ├─48167 /usr/sbin/httpd -DFOREGROUND
           ├─48196 /usr/sbin/httpd -DFOREGROUND
           ├─48219 /usr/sbin/httpd -DFOREGROUND
           ├─48550 /usr/sbin/httpd -DFOREGROUND
           ├─48620 /usr/sbin/httpd -DFOREGROUND
           ├─48645 /usr/sbin/httpd -DFOREGROUND
           ├─48656 /usr/sbin/httpd -DFOREGROUND
           ├─48673 /usr/sbin/httpd -DFOREGROUND
           ├─48707 keystone-admin  -DFOREGROUND
           ├─48727 keystone-admin  -DFOREGROUND
           ├─48730 keystone-admin  -DFOREGROUND
           ├─48860 keystone-admin  -DFOREGROUND
           ├─48886 keystone-admin  -DFOREGROUND
           ├─48887 keystone-admin  -DFOREGROUND
           ├─48888 keystone-admin  -DFOREGROUND
           ├─48889 keystone-admin  -DFOREGROUND
           ├─48890 keystone-admin  -DFOREGROUND
           ├─48891 keystone-admin  -DFOREGROUND
           ├─48893 keystone-admin  -DFOREGROUND
           ├─48896 keystone-admin  -DFOREGROUND
           ├─48897 keystone-admin  -DFOREGROUND
           ├─48917 keystone-admin  -DFOREGROUND
           ├─48940 keystone-admin  -DFOREGROUND
           ├─48949 keystone-admin  -DFOREGROUND
           ├─48952 keystone-admin  -DFOREGROUND
           ├─48955 keystone-admin  -DFOREGROUND
           ├─49134 keystone-admin  -DFOREGROUND
           └─49135 keystone-admin  -DFOREGROUND

========= EDIT 1:

I am using uuid as the token provider backend and using v2 for the keystone. There is something interesting that i noted: When i do a nova --debug service-list

Here are some of the curl request and response that i see:

DEBUG (session:342) REQ: curl -g -i -X GET http://10.1.10.22:5000/v2.0 -H "Accept: application/json" -H "User-Agent: nova keystoneauth1/2.15.0 python-requests/2.11.1 CPython/2.7.5"
INFO (connectionpool:214) Starting new HTTP connection (1): 10.1.10.22
DEBUG (connectionpool:401) "GET /v2.0 HTTP/1.1" 200 226
DEBUG (session:371) RESP: [200] Date: Sat, 19 Nov 2016 13:01:30 GMT Server: Apache/2.4.6 (CentOS) Vary: X-Auth-Token,Accept-Encoding x-openstack-request-id: req-49954e23-3440-402e-935e-369e16fe513c Content-Encoding: gzip Content-Length: 226 Connection: close Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.1.10.22:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG (v2:63) Making authentication request to http://10.1.10.22:5000/v2.0/tokens
INFO (connectionpool:249) Resetting dropped connection: 10.1.10.22
DEBUG (connectionpool:401) "POST /v2.0/tokens HTTP/1.1" 200 1291
DEBUG (session:342) REQ: curl -g -i -X GET http://10.1.10.22:8774/v2/83ac35d687fe49fba704dac8c78d4392 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}3859d9dfb3c6021559e43df32050a406fd501903"
INFO (connectionpool:214) Starting new HTTP connection (1): 10.1.10.22
DEBUG (connectionpool:401) "GET /v2/83ac35d687fe49fba704dac8c78d4392 HTTP/1.1" 404 112
DEBUG (session:371) RESP: [404] Content-Length: 112 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-9676b4f8-94bb-49d3-a27b-b3ec52228df8 Date: Sat, 19 Nov 2016 13:01:30 GMT Connection: keep-alive
RESP BODY: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}

I noted that this get request actually gives me a 404 error. "GET /v2/83ac35d687fe49fba704dac8c78d4392 HTTP/1.1"

*And then i added a debug option in the openstack --debug host list, which perhaps is a newer command line interface

and see the curl requests and responses, even though it is through the same keystone i.e. v2 and not v3*

REQ: curl -g -i -X GET http://10.1.10.22:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-openstackclient keystoneauth1/2.15.0 python-requests/2.11.1 CPython/2.7.5"
Starting new HTTP connection (1): 10.1.10.22
"GET /v2.0 HTTP/1.1" 200 226
RESP: [200] Date: Sat, 19 Nov 2016 13:09:08 GMT Server: Apache/2.4.6 (CentOS) Vary: X-Auth-Token,Accept-Encoding x-openstack-request-id: req-1a726712-66ff-47cc-becb-5e2a6f3f2da3 Content-Encoding: gzip Content-Length: 226 Connection: close Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.1.10.22:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

Making authentication request to http://10.1.10.22:5000/v2.0/tokens
Resetting dropped connection: 10.1.10.22
"POST /v2.0/tokens HTTP/1.1" 200 1292
run(Namespace(columns=[], formatter='table', max_width=0, noindent=False, quote_mode='nonnumeric', zone=None))
Instantiating compute client for VAPI Version Major: 2, Minor: 0
Making authentication request to http://10.1.10.22:5000/v2.0/tokens
Resetting dropped connection: 10.1.10.22
"POST /v2.0/tokens HTTP/1.1" 200 1294
REQ: curl -g -i -X GET http://10.1.10.22:8774/v2/83ac35d687fe49fba704dac8c78d4392/os-hosts -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}39e7f3a9af5deb0696cc6b8b7b88811e61eb5057"
Starting new HTTP connection (1): 10.1.10.22
"GET /v2/83ac35d687fe49fba704dac8c78d4392/os-hosts HTTP/1.1" 200 504
RESP: [200] Content-Length: 504 Content-Type: application/json X-Compute-Request-Id: req-73675a99-632c-4981-8f32-9cbb0e2ed114 Date: Sat, 19 Nov 2016 13:09:10 GMT Connection: keep-alive
RESP BODY: {"hosts": [{"zone": "internal", "host_name": "localhost.localdomain", "service": "cert"}, {"zone": "internal", "host_name": "localhost.localdomain", "service": "consoleauth"}, {"zone": "internal", "host_name": "localhost.localdomain", "service": "scheduler"}, {"zone": "internal", "host_name": "localhost.localdomain", "service": "conductor"}, {"zone": "nova", "host_name": "localhost.localdomain", "service": "compute"}, {"zone": "internal", "host_name": "localhost.localdomain", "service": "console"}]}

Notice that this gives "GET /v2/83ac35d687fe49fba704dac8c78d4392/os-hosts" a proper response.


Can someone suggest as to what is causing this??this?? I have tried upgrading the nova client as well, but that has not helped either.

Thanks, Gaurav