instance groups and groupaffinityfilters

Bug #1306889 reported by Arun Thulasi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

Hello All,

[This is more of a question than a bug]

I am running Fedora20/IceHouse/RDO. I have been using the GroupAntiAffinityFilter to implement some affinity/anti-affinity rules. I have GroupAntiAffinityFilter set in nova.conf for my filters and I start my instances with the name of the group as a hint.

nova boot --flavor 1 --image <image-id> --hint group=test tstvm1.

Since the last couple of days, I have been getting failures with the error that "instance group test could not be found". My current version of nova client does not seem to have an option to set up instance groups nor could I find any documentation from the most recent guide. Has anyone hit this issue or been able to workaround this?

Looking through the stack, it appears that the failure happens since there is no group. However, should nova be creating an instance group if one is not available already?

[Edit 1] Just found the nova developer's reference which talks about GroupAffinityFilter deprecated in favor of ServerGroupAffinityFilter. It also talks about creation of a Server Group, but I could not find any other information on creating a Server Group. The code rightfully check for the value give next to "group" in nova boot to see if there is a group. But should there either be a group creation if not available, or documentation around how to create server groups?

Arun Thulasi (arunuke)
description: updated
Revision history for this message
Gary Kotton (garyk) wrote :
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.