Yes, i can verify the behaviour on my multinode env.
[root@indctrtg01 ~]# curl -g -i -X GET http://indctrtg01:8776/v2/37f71a6f300d4191a77bc135de496ef4/os-hosts -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: gAAAAABZlDVy2rs_hrEGC5krT9wFZNMPDZboxBRHFehP4Kb7pfX1z2fGggQx7ed0rBmTPjEyWL2kwFXbOjlNgr6TJYXsczFrpO90yIiHcfQqjVRkEkNJLmRTMeiTIYr4-fo1Bsq5XYD3t1kZm7nI2QG-T2RfM_OLDVGzpWrfvrb2ELCw-EqnaIQ" HTTP/1.1 200 OK X-Compute-Request-Id: req-c60baf15-6ff1-492e-850d-cdb9e8de821b Content-Type: application/json Content-Length: 780 X-Openstack-Request-Id: req-c60baf15-6ff1-492e-850d-cdb9e8de821b Date: Wed, 16 Aug 2017 12:11:59 GMT
{"hosts": [{"service-status": "available", "service": "cinder-scheduler", "zone": "nova", "service-state": "enabled", "host_name": "indctrtg01", "last-update": "2017-08-16T12:11:50.000000"}, {"service-status": "unavailable", "service": "cinder-volume", "zone": "nova", "service-state": "enabled", "host_name": "WIN-GN8FHSVQRAQ@myWindowsiSCSIBackend", "last-update": "2017-08-16T19:08:38.000000"}, {"service-status": "unavailable", "service": "cinder-volume", "zone": "nova", "service-state": "enabled", "host_name": "WIN-SVGBAT9OOD9@myWindowsiSCSIBackend", "last-update": "2017-08-17T12:10:52.000000"}, {"service-status": "available", "service": "cinder-backup", "zone": "nova", "service-state": "enabled", "host_name": "indctrtg01", "last-update": "2017-08-16T12:11:50.000000"}]}[root@indctrtg01 ~]# [root@indctrtg01 ~]# [root@indctrtg01 ~]#
GET host not running cinder-volume service. (cinder-scheduler service running on this host). 404 strange.
[root@indctrtg01 ~]# curl -g -i -X GET http://indctrtg01:8776/v2/37f71a6f300d4191a77bc135de496ef4/os-hosts/indctrtg01 -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: gAAAAABZlDVy2rs_hrEGC5krT9wFZNMPDZboxBRHFehP4Kb7pfX1z2fGggQx7ed0rBmTPjEyWL2kwFXbOjlNgr6TJYXsczFrpO90yIiHcfQqjVRkEkNJLmRTMeiTIYr4-fo1Bsq5XYD3t1kZm7nI2QG-T2RfM_OLDVGzpWrfvrb2ELCw-EqnaIQ" HTTP/1.1 404 Not Found Content-Length: 106 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-4024b61a-01ac-40e5-b3b4-2ccb36714ed5 X-Openstack-Request-Id: req-4024b61a-01ac-40e5-b3b4-2ccb36714ed5 Date: Wed, 16 Aug 2017 12:12:50 GMT
{"itemNotFound": {"message": "Service cinder-volume could not be found on host indctrtg01.", "code": 404}}[root@indctrtg01 ~]#
GET host running cinder-volume service. SUCCESS
[root@indctrtg01 ~]# curl -g -i -X GET http://indctrtg01:8776/v2/37f71a6f300d4191a77bc135de496ef4/os-hosts/WIN-GN8FHSVQRAQ@myWindowsiSCSIBackend -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: gAAAAABZlDVy2rs_hrEGC5krT9wFZNMPDZboxBRHFehP4Kb7pfX1z2fGggQx7ed0rBmTPjEyWL2kwFXbOjlNgr6TJYXsczFrpO90yIiHcfQqjVRkEkNJLmRTMeiTIYr4-fo1Bsq5XYD3t1kZm7nI2QG-T2RfM_OLDVGzpWrfvrb2ELCw-EqnaIQ" HTTP/1.1 200 OK X-Compute-Request-Id: req-3b0533d3-b0f8-4660-8e04-3b59ef09478b Content-Type: application/json Content-Length: 397 X-Openstack-Request-Id: req-3b0533d3-b0f8-4660-8e04-3b59ef09478b Date: Wed, 16 Aug 2017 12:13:51 GMT
{"host": [{"resource": {"volume_count": "5", "total_volume_gb": "6", "total_snapshot_gb": "0", "project": "(total)", "host": "WIN-GN8FHSVQRAQ@myWindowsiSCSIBackend", "snapshot_count": "0"}}, {"resource": {"volume_count": "6", "total_volume_gb": "7", "total_snapshot_gb": "0", "project": "37f71a6f300d4191a77bc135de496ef4", "host": "WIN-GN8FHSVQRAQ@myWindowsiSCSIBackend", "snapshot_count": "0"}}]}[root@indctrtg01 ~]#
Yes, i can verify the behaviour on my multinode env.
[root@indctrtg01 ~]# curl -g -i -X GET http:// indctrtg01: 8776/v2/ 37f71a6f300d419 1a77bc135de496e f4/os-hosts -H "User-Agent: python- cinderclient" -H "Accept: application/json" -H "X-Auth-Token: gAAAAABZlDVy2rs _hrEGC5krT9wFZN MPDZboxBRHFehP4 Kb7pfX1z2fGggQx 7ed0rBmTPjEyWL2 kwFXbOjlNgr6TJY XsczFrpO90yIiHc fQqjVRkEkNJLmRT MeiTIYr4- fo1Bsq5XYD3t1kZ m7nI2QG- T2RfM_OLDVGzpWr fvrb2ELCw- EqnaIQ" Request- Id: req-c60baf15- 6ff1-492e- 850d-cdb9e8de82 1b Request- Id: req-c60baf15- 6ff1-492e- 850d-cdb9e8de82 1b
HTTP/1.1 200 OK
X-Compute-
Content-Type: application/json
Content-Length: 780
X-Openstack-
Date: Wed, 16 Aug 2017 12:11:59 GMT
{"hosts": [{"service-status": "available", "service": "cinder-scheduler", "zone": "nova", "service-state": "enabled", "host_name": "indctrtg01", "last-update": "2017-08- 16T12:11: 50.000000" }, {"service-status": "unavailable", "service": "cinder-volume", "zone": "nova", "service-state": "enabled", "host_name": "WIN-GN8FHSVQRA Q@myWindowsiSCS IBackend" , "last-update": "2017-08- 16T19:08: 38.000000" }, {"service-status": "unavailable", "service": "cinder-volume", "zone": "nova", "service-state": "enabled", "host_name": "WIN-SVGBAT9OOD 9@myWindowsiSCS IBackend" , "last-update": "2017-08- 17T12:10: 52.000000" }, {"service-status": "available", "service": "cinder-backup", "zone": "nova", "service-state": "enabled", "host_name": "indctrtg01", "last-update": "2017-08- 16T12:11: 50.000000" }]}[root@ indctrtg01 ~]#
[root@indctrtg01 ~]#
[root@indctrtg01 ~]#
GET host not running cinder-volume service. (cinder-scheduler service running on this host). 404 strange.
[root@indctrtg01 ~]# curl -g -i -X GET http:// indctrtg01: 8776/v2/ 37f71a6f300d419 1a77bc135de496e f4/os-hosts/ indctrtg01 -H "User-Agent: python- cinderclient" -H "Accept: application/json" -H "X-Auth-Token: gAAAAABZlDVy2rs _hrEGC5krT9wFZN MPDZboxBRHFehP4 Kb7pfX1z2fGggQx 7ed0rBmTPjEyWL2 kwFXbOjlNgr6TJY XsczFrpO90yIiHc fQqjVRkEkNJLmRT MeiTIYr4- fo1Bsq5XYD3t1kZ m7nI2QG- T2RfM_OLDVGzpWr fvrb2ELCw- EqnaIQ" Request- Id: req-4024b61a- 01ac-40e5- b3b4-2ccb36714e d5 Request- Id: req-4024b61a- 01ac-40e5- b3b4-2ccb36714e d5
HTTP/1.1 404 Not Found
Content-Length: 106
Content-Type: application/json; charset=UTF-8
X-Compute-
X-Openstack-
Date: Wed, 16 Aug 2017 12:12:50 GMT
{"itemNotFound": {"message": "Service cinder-volume could not be found on host indctrtg01.", "code": 404}}[root@ indctrtg01 ~]#
GET host running cinder-volume service. SUCCESS
[root@indctrtg01 ~]# curl -g -i -X GET http:// indctrtg01: 8776/v2/ 37f71a6f300d419 1a77bc135de496e f4/os-hosts/ WIN-GN8FHSVQRAQ @myWindowsiSCSI Backend -H "User-Agent: python- cinderclient" -H "Accept: application/json" -H "X-Auth-Token: gAAAAABZlDVy2rs _hrEGC5krT9wFZN MPDZboxBRHFehP4 Kb7pfX1z2fGggQx 7ed0rBmTPjEyWL2 kwFXbOjlNgr6TJY XsczFrpO90yIiHc fQqjVRkEkNJLmRT MeiTIYr4- fo1Bsq5XYD3t1kZ m7nI2QG- T2RfM_OLDVGzpWr fvrb2ELCw- EqnaIQ" Request- Id: req-3b0533d3- b0f8-4660- 8e04-3b59ef0947 8b Request- Id: req-3b0533d3- b0f8-4660- 8e04-3b59ef0947 8b
HTTP/1.1 200 OK
X-Compute-
Content-Type: application/json
Content-Length: 397
X-Openstack-
Date: Wed, 16 Aug 2017 12:13:51 GMT
{"host": [{"resource": {"volume_count": "5", "total_volume_gb": "6", "total_ snapshot_ gb": "0", "project": "(total)", "host": "WIN-GN8FHSVQRA Q@myWindowsiSCS IBackend" , "snapshot_count": "0"}}, {"resource": {"volume_count": "6", "total_volume_gb": "7", "total_ snapshot_ gb": "0", "project": "37f71a6f300d41 91a77bc135de496 ef4", "host": "WIN-GN8FHSVQRA Q@myWindowsiSCS IBackend" , "snapshot_count": "0"}}]} [root@indctrtg0 1 ~]#