nova hypervisor-list shows down

asked 2018-02-13 21:40:13 -0600

anonymous user

Anonymous

we have a new setup deployed and I found nova-schedule reports no available hosts, and hypervisor-list shows down. But I could not figure out what might be the cause. I tried to restart nova-compute and the issue persist. I found error messages during the above test. I’m wondering why nova-compute appears down here?

nova-common                            2:12.0.1-0ubuntu1~cloud0.1contrail   46

nova hypervisor-list: down

root@controller:/var/log# nova --debug hypervisor-list
DEBUG (session:198) REQ: curl -g -i -X GET http://192.168.15.192:5000/v2.0/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:205) Starting new HTTP connection (1): 192.168.15.192
DEBUG (connectionpool:385) "GET /v2.0/ HTTP/1.1" 200 340
DEBUG (session:215) RESP: [200] Content-Length: 340 Vary: X-Auth-Token X-Distribution: Ubuntu Connection: keep-alive Date: Fri, 09 Feb 2018 20:19:00 GMT Content-Type: application/json X-Openstack-Request-Id: req-f4226725-309c-48fe-afd2-4f56b1229e70
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://192.168.15.192:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}

DEBUG (v2:86) Making authentication request to http://192.168.15.192:5000/v2.0/tokens
DEBUG (connectionpool:385) "POST /v2.0/tokens HTTP/1.1" 200 3598
DEBUG (session:198) REQ: curl -g -i -X GET http://192.168.15.192:8774/v1.1/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}464b0577aef57014880c82e8f7c853c4123ae297"
INFO (connectionpool:205) Starting new HTTP connection (1): 192.168.15.192
DEBUG (connectionpool:385) "GET /v1.1/ HTTP/1.1" 200 381
2018-02-09 15:19:01.213 193781 INFO nova.osapi_compute.wsgi.server [req-3dfbe105-6ec1-4b0e-bca4-268b016aa3ba 95bf0fce1d884b7f93386b3ad850f29c c8160e007e7446168e968ee63bfa850e - - -] 192.168.15.192 "GET /v1.1/ HTTP/1.1" status: 200 len: 578 time: 0.2799881
DEBUG (session:215) RESP: [200] Date: Fri, 09 Feb 2018 20:19:01 GMT Connection: keep-alive Content-Type: application/json Content-Length: 381 X-Compute-Request-Id: req-3dfbe105-6ec1-4b0e-bca4-268b016aa3ba
RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://192.168.15.192:8774/v1.1/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}

DEBUG (session:198) REQ: curl -g -i -X GET http://192.168.15.192:8774/v1.1/c8160e007e7446168e968ee63bfa850e/os-hypervisors -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}464b0577aef57014880c82e8f7c853c4123ae297"
DEBUG (connectionpool:385) "GET /v1.1/c8160e007e7446168e968ee63bfa850e/os-hypervisors HTTP/1.1" 200 185
2018-02-09 15:19:01.483 193781 INFO nova.osapi_compute.wsgi.server [req-84b5e03c-bc20-4717-8208-18fc6107f85e 95bf0fce1d884b7f93386b3ad850f29c c8160e007e7446168e968ee63bfa850e - - -] 192.168.15.192 "GET /v1.1/c8160e007e7446168e968ee63bfa850e/os-hypervisors HTTP/1.1" status: 200 len: 382 time: 0.0459030
DEBUG (session:215) RESP: [200] Date: Fri, 09 Feb 2018 20:19:01 GMT Connection: keep-alive Content-Type: application/json Content-Length: 185 X-Compute-Request-Id: req-84b5e03c-bc20-4717-8208-18fc6107f85e
RESP BODY: {"hypervisors": [{"status": "enabled", "state": "down", "id": 1, "hypervisor_hostname": "compute1"}, {"status": "enabled", "state": "down", "id": 2, "hypervisor_hostname": "compute2"}]}

+----+---------------------+-------+---------+
| ID | Hypervisor hostname | State | Status  |
+----+---------------------+-------+---------+
| 1  | compute1            | down  | enabled |
| 2 ...
(more)
edit retag flag offensive close merge delete