Some Tempest tests fail due to missing filter "ServerGroupAffinityFilter" in nova.conf

Bug #1389701 reported by Yaroslav Lobankov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
Timur Nurlygayanov
5.1.x
Fix Released
Medium
Timur Nurlygayanov
6.0.x
Fix Released
Medium
Timur Nurlygayanov

Bug Description

ENVIRONMENT:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.0"
  api: "1.0"
  build_number: "76"
  build_id: "2014-11-04_21-28-16"
  astute_sha: "c72dac7b31646fbedbfc56a2a87676c6d5713fcf"
  fuellib_sha: "ba0b3010647dfdd675d88bdfe20dfbed3134f52f"
  ostf_sha: "9c6fadca272427bb933bc459e14bb1bad7f614aa"
  nailgun_sha: "35946b1f225c984f11915ba8e985584160f0b129"
  fuelmain_sha: "d498d9153494b412cc75900ab8a1f4e18bc26c13"

[1] tempest.api.compute.servers.test_create_server.ServersTestJSON.test_create_server_with_scheduler_hint_group
[2]tempest.api.compute.servers.test_create_server.ServersTestManualDisk.test_create_server_with_scheduler_hint_group

Tests [1] and [2] fail with the exception:

BuildErrorException: Server 201089e2-1aa7-43a6-b7a5-4723a18b4761 failed to build and is in ERROR status
Details: {u'message': u'No valid host was found. ServerGroupAffinityFilter not configured', u'code': 500, u'created': u'2014-10-31T14:14:55Z'}

BuildErrorException: Server 414365ec-85fa-40c3-bf85-141bcdb2927d failed to build and is in ERROR status
Details: {u'message': u'No valid host was found. ServerGroupAffinityFilter not configured', u'code': 500, u'created': u'2014-10-31T14:15:27Z'

In order to fix these errors I added ServerGroupAffinityFilter to list of filters in /etc/nova/nova.conf.

scheduler_default_filters=DifferentHostFilter,RetryFilter,AvailabilityZoneFilter,RamFilter,CoreFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAffinityFilter

tags: added: scale
summary: Some Tempest tests fail due to missing filter
- "ServerGroupAffinityFilter" in Nova
+ "ServerGroupAffinityFilter" in nova.conf
Changed in mos:
assignee: nobody → Sergey Galkin (sgalkin)
importance: Undecided → Critical
milestone: none → 5.1.1
Revision history for this message
Sergey Galkin (sgalkin) wrote :

Timur and what should I do about this?

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

The puppet manifests we use for deploying of Nova hard code the list of filters to be used and ServerGroupAffinityFilter is apparently not on that list. We'll take a look at that and talk to fuel-library team.

tags: added: nova
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :
Revision history for this message
Alexander Gubanov (ogubanov) wrote :

I verified it on mos 5.1.1 and 6.0 - fixed
Proof: http://pastebin.com/fWhUJc8w

tags: added: tempest
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.