Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INCORRECT ZONE:
- [root@openstack-controller-node01 ~]# cinder --debug service-list
- 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"
- 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
- 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"}]}}
- DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.64.2.23:35357/v2.0/tokens
- DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.64.2.23:8776/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
- DEBUG:keystoneclient.session:RESP: [200] date: Mon, 11 Jan 2016 20:29:01 GMT content-length: 292 content-type: application/json connection: keep-alive
- 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"}]}]}
- DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.64.2.23:35357/v2.0/tokens
- 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"
- 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
- 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}]}
- +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
- | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
- +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
- | cinder-scheduler | openstack-controller-node01 | Uncharted Software Toronto | enabled | up | 2016-01-11T20:28:56.000000 | - |
- | cinder-volume | openstack-compute-node01 | nova | enabled | down | 2015-07-14T13:36:38.000000 | - |
- | cinder-volume | openstack-compute-node02 | nova | enabled | down | 2015-07-14T13:32:24.000000 | - |
- | cinder-volume | openstack-compute-node03 | nova | enabled | down | 2015-07-14T13:36:37.000000 | - |
- | cinder-volume | volumes | Uncharted Software Toronto | enabled | down | 2015-12-15T16:52:02.000000 | - |
- | cinder-volume | volumes@elasticsearch | nova | enabled | up | 2016-01-11T20:29:00.000000 | - |
- | cinder-volume | volumes@standard | nova | enabled | up | 2016-01-11T20:29:00.000000 | - |
- +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
- CORRECT ZONE:
- [root@openstack-controller-node01 ~]# cinder --debug service-list
- 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"
- 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
- 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"}]}}
- DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.64.2.23:35357/v2.0/tokens
- DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.64.2.23:8776/ -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
- DEBUG:keystoneclient.session:RESP: [200] date: Mon, 11 Jan 2016 20:31:09 GMT content-length: 292 content-type: application/json connection: keep-alive
- 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"}]}]}
- DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.64.2.23:35357/v2.0/tokens
- 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"
- 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
- 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}]}
- +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
- | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
- +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
- | cinder-scheduler | openstack-controller-node01 | Uncharted Software Toronto | enabled | up | 2016-01-11T20:31:06.000000 | - |
- | cinder-volume | openstack-compute-node01 | nova | enabled | down | 2015-07-14T13:36:38.000000 | - |
- | cinder-volume | openstack-compute-node02 | nova | enabled | down | 2015-07-14T13:32:24.000000 | - |
- | cinder-volume | openstack-compute-node03 | nova | enabled | down | 2015-07-14T13:36:37.000000 | - |
- | cinder-volume | volumes | Uncharted Software Toronto | enabled | down | 2015-12-15T16:52:02.000000 | - |
- | cinder-volume | volumes@elasticsearch | Uncharted Software Toronto | enabled | up | 2016-01-11T20:31:09.000000 | - |
- | cinder-volume | volumes@standard | Uncharted Software Toronto | enabled | up | 2016-01-11T20:31:07.000000 | - |
- +------------------+-----------------------------+----------------------------+---------+-------+----------------------------+-----------------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement