Advertisement
Guest User

Untitled

a guest
Jan 11th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.29 KB | None | 0 0
  1. INCORRECT ZONE:
  2.  
  3. [root@openstack-controller-node01 ~]# cinder --debug service-list
  4. DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.64.2.23:35357/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
  5. DEBUG:keystoneclient.session:RESP: [200] content-length: 337 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Mon, 11 Jan 2016 20:29:01 GMT content-type: application/json x-openstack-request-id: req-4a931caa-f2d3-4850-b587-765f33cfa8c2
  6. 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.64.2.23:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
  7.  
  8. DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.64.2.23:35357/v2.0/tokens
  9. DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.64.2.23:8776/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
  10. DEBUG:keystoneclient.session:RESP: [200] date: Mon, 11 Jan 2016 20:29:01 GMT content-length: 292 content-type: application/json connection: keep-alive
  11. RESP BODY: {"versions": [{"status": "SUPPORTED", "updated": "2014-06-28T12:20:21Z", "id": "v1.0", "links": [{"href": "http://10.64.2.23:8776/v1/", "rel": "self"}]}, {"status": "CURRENT", "updated": "2012-11-21T11:33:21Z", "id": "v2.0", "links": [{"href": "http://10.64.2.23:8776/v2/", "rel": "self"}]}]}
  12.  
  13. DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.64.2.23:35357/v2.0/tokens
  14. DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.64.2.23:8776/v1/98cc999f110f483aaf67a38a876d1b76/os-services -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  15. DEBUG:keystoneclient.session:RESP: [200] content-length: 1346 x-compute-request-id: req-a5dcfd79-a0b4-4d85-a150-758425dc99ad connection: keep-alive date: Mon, 11 Jan 2016 20:29:02 GMT content-type: application/json x-openstack-request-id: req-a5dcfd79-a0b4-4d85-a150-758425dc99ad
  16. RESP BODY: {"services": [{"status": "enabled", "binary": "cinder-volume", "zone": "nova", "state": "down", "updated_at": "2015-07-14T13:36:37.000000", "host": "openstack-compute-node03", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-scheduler", "zone": "Uncharted Software Toronto", "state": "up", "updated_at": "2016-01-11T20:28:56.000000", "host": "openstack-controller-node01", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "nova", "state": "down", "updated_at": "2015-07-14T13:32:24.000000", "host": "openstack-compute-node02", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "nova", "state": "down", "updated_at": "2015-07-14T13:36:38.000000", "host": "openstack-compute-node01", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "Uncharted Software Toronto", "state": "down", "updated_at": "2015-12-15T16:52:02.000000", "host": "volumes", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "nova", "state": "up", "updated_at": "2016-01-11T20:29:00.000000", "host": "volumes@standard", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "nova", "state": "up", "updated_at": "2016-01-11T20:29:00.000000", "host": "volumes@elasticsearch", "disabled_reason": null}]}
  17.  
  18. +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
  19. | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
  20. +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
  21. | cinder-scheduler | openstack-controller-node01 | Uncharted Software Toronto | enabled | up | 2016-01-11T20:28:56.000000 | - |
  22. | cinder-volume | openstack-compute-node01 | nova | enabled | down | 2015-07-14T13:36:38.000000 | - |
  23. | cinder-volume | openstack-compute-node02 | nova | enabled | down | 2015-07-14T13:32:24.000000 | - |
  24. | cinder-volume | openstack-compute-node03 | nova | enabled | down | 2015-07-14T13:36:37.000000 | - |
  25. | cinder-volume | volumes | Uncharted Software Toronto | enabled | down | 2015-12-15T16:52:02.000000 | - |
  26. | cinder-volume | volumes@elasticsearch | nova | enabled | up | 2016-01-11T20:29:00.000000 | - |
  27. | cinder-volume | volumes@standard | nova | enabled | up | 2016-01-11T20:29:00.000000 | - |
  28. +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
  29.  
  30. CORRECT ZONE:
  31.  
  32. [root@openstack-controller-node01 ~]# cinder --debug service-list
  33. DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.64.2.23:35357/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
  34. DEBUG:keystoneclient.session:RESP: [200] content-length: 337 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Mon, 11 Jan 2016 20:31:08 GMT content-type: application/json x-openstack-request-id: req-8cdbed97-e031-4fe4-99c7-d09d027a5d8c
  35. 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.64.2.23:35357/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
  36.  
  37. DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.64.2.23:35357/v2.0/tokens
  38. DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.64.2.23:8776/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
  39. DEBUG:keystoneclient.session:RESP: [200] date: Mon, 11 Jan 2016 20:31:09 GMT content-length: 292 content-type: application/json connection: keep-alive
  40. RESP BODY: {"versions": [{"status": "SUPPORTED", "updated": "2014-06-28T12:20:21Z", "id": "v1.0", "links": [{"href": "http://10.64.2.23:8776/v1/", "rel": "self"}]}, {"status": "CURRENT", "updated": "2012-11-21T11:33:21Z", "id": "v2.0", "links": [{"href": "http://10.64.2.23:8776/v2/", "rel": "self"}]}]}
  41.  
  42. DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.64.2.23:35357/v2.0/tokens
  43. DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.64.2.23:8776/v1/98cc999f110f483aaf67a38a876d1b76/os-services -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  44. DEBUG:keystoneclient.session:RESP: [200] content-length: 1390 x-compute-request-id: req-0d5ab529-66c4-40d8-89d1-8bfd245a963c connection: keep-alive date: Mon, 11 Jan 2016 20:31:09 GMT content-type: application/json x-openstack-request-id: req-0d5ab529-66c4-40d8-89d1-8bfd245a963c
  45. RESP BODY: {"services": [{"status": "enabled", "binary": "cinder-volume", "zone": "nova", "state": "down", "updated_at": "2015-07-14T13:36:37.000000", "host": "openstack-compute-node03", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-scheduler", "zone": "Uncharted Software Toronto", "state": "up", "updated_at": "2016-01-11T20:31:06.000000", "host": "openstack-controller-node01", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "nova", "state": "down", "updated_at": "2015-07-14T13:32:24.000000", "host": "openstack-compute-node02", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "nova", "state": "down", "updated_at": "2015-07-14T13:36:38.000000", "host": "openstack-compute-node01", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "Uncharted Software Toronto", "state": "down", "updated_at": "2015-12-15T16:52:02.000000", "host": "volumes", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "Uncharted Software Toronto", "state": "up", "updated_at": "2016-01-11T20:31:07.000000", "host": "volumes@standard", "disabled_reason": null}, {"status": "enabled", "binary": "cinder-volume", "zone": "Uncharted Software Toronto", "state": "up", "updated_at": "2016-01-11T20:31:09.000000", "host": "volumes@elasticsearch", "disabled_reason": null}]}
  46.  
  47. +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
  48. | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
  49. +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
  50. | cinder-scheduler | openstack-controller-node01 | Uncharted Software Toronto | enabled | up | 2016-01-11T20:31:06.000000 | - |
  51. | cinder-volume | openstack-compute-node01 | nova | enabled | down | 2015-07-14T13:36:38.000000 | - |
  52. | cinder-volume | openstack-compute-node02 | nova | enabled | down | 2015-07-14T13:32:24.000000 | - |
  53. | cinder-volume | openstack-compute-node03 | nova | enabled | down | 2015-07-14T13:36:37.000000 | - |
  54. | cinder-volume | volumes | Uncharted Software Toronto | enabled | down | 2015-12-15T16:52:02.000000 | - |
  55. | cinder-volume | volumes@elasticsearch | Uncharted Software Toronto | enabled | up | 2016-01-11T20:31:09.000000 | - |
  56. | cinder-volume | volumes@standard | Uncharted Software Toronto | enabled | up | 2016-01-11T20:31:07.000000 | - |
  57. +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement