http://logs.openstack.org/10/488510/33/gate/gate-tempest-dsvm-cells-ubuntu-xenial/5b1240f/console.html#_2017-08-10_16_13_05_368008
http://logs.openstack.org/10/488510/33/gate/gate-tempest-dsvm-cells-ubuntu-xenial/5b1240f/logs/screen-n-sch.txt.gz#_Aug_10_15_20_12_743452
Aug 10 15:20:12.743452 ubuntu-xenial-infracloud-vanilla-10374272 nova-scheduler[18597]: INFO nova.filters [None req-3faa8b1f-4186-405f-b308-9f65c36657ef tempest-ServersAdminTestJSON-339468122 tempest-ServersAdminTestJSON-339468122] Filter SameHostFilter returned 0 hosts
This is the server create request using the same_host scheduler hint:
2017-08-10 16:13:05.372164 | 2017-08-10 15:20:12,433 27140 INFO [tempest.lib.common.rest_client] Request (ServersAdminTestJSON:test_create_server_with_scheduling_hint): 202 POST http://15.184.65.159/compute/v2.1/servers 0.590s
2017-08-10 16:13:05.372286 | 2017-08-10 15:20:12,434 27140 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
2017-08-10 16:13:05.372461 | Body: {"server": {"flavorRef": "42", "name": "tempest-ServersAdminTestJSON-server-1290239585", "imageRef": "6e666a3a-86f9-42a1-aaff-de1e0aea4d92"}, "os:scheduler_hints": {"same_host": "39ffdbdb-0c34-42bd-b45e-900a9b36b309"}}
2017-08-10 16:13:05.372818 | Response - Headers: {u'content-length': '384', u'location': 'http://15.184.65.159/compute/v2.1/servers/9498ca79-452b-48a4-84d5-0e597208be33', u'x-openstack-request-id': 'req-3faa8b1f-4186-405f-b308-9f65c36657ef', u'server': 'Apache/2.4.18 (Ubuntu)', u'x-openstack-nova-api-version': '2.1', u'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', u'date': 'Thu, 10 Aug 2017 15:20:11 GMT', u'connection': 'close', 'content-location': 'http://15.184.65.159/compute/v2.1/servers', u'content-type': 'application/json', u'x-compute-request-id': 'req-3faa8b1f-4186-405f-b308-9f65c36657ef', u'openstack-api-version': 'compute 2.1', 'status': '202'}
This is probably a latent cells v1 bug where timing is off getting information from the computes to the scheduler so we fail the SameHostFilter check.
http:// logstash. openstack. org/#dashboard/ file/logstash. json?query= message% 3A%5C%22Filter% 20SameHostFilte r%20returned% 200%20hosts% 5C%22%20AND% 20message% 3A%5C%22Servers AdminTestJSON% 5C%22%20AND% 20tags% 3A%5C%22screen- n-sch.txt% 5C%22&from= 7d