← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1709946] [NEW] ServersAdminTestJSON.test_create_server_with_scheduling_hint randomly fails SameHostFilter in cells v1 job

 

Public bug reported:

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.

** Affects: nova
     Importance: Low
         Status: Confirmed


** Tags: cellsv1 same-host

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1709946

Title:
  ServersAdminTestJSON.test_create_server_with_scheduling_hint randomly
  fails SameHostFilter in cells v1 job

Status in OpenStack Compute (nova):
  Confirmed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1709946/+subscriptions


Follow ups