Support nova filter customization in the charm

Bug #1387073 reported by Kaya LIU
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nova-cloud-controller (Juju Charms Collection)
Fix Released
High
Felipe Reyes

Bug Description

Current the scheduler_default_filters is fixed in the nova.conf template.

It's required to add one configuration item to define the default filters per request.

Related branches

James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
importance: Undecided → Wishlist
status: New → Triaged
Lirim (lirim-osmani)
Changed in nova-cloud-controller (Juju Charms Collection):
assignee: nobody → Lirim (lirim-osmani)
status: Triaged → In Progress
tags: added: canonical-bootstack
Revision history for this message
Edward Hope-Morley (hopem) wrote :

The nova-cloud-controller charm has a 'config-flags' config option that allows users to override any settings in the [DEFAULT] section of nova.conf. It is, therefore, already possible to override the scheduler_default_filters settings with whatever values you want.

Revision history for this message
Chris Johnston (cjohnston) wrote :

You can see on L34 & L67 of the paste the duplicated lines:

http://paste.ubuntu.com/12201661/

Revision history for this message
Antonio Rosales (arosales) wrote :

Talking with ChrisJ on this bug one of the issues is the config option "scheduler_default_filters" is set at (for icehouse)

http://bazaar.launchpad.net/~openstack-charmers/charms/trusty/nova-cloud-controller/trunk/view/head:/templates/icehouse/nova.conf#L34
scheduler_default_filters = RetryFilter,AvailabilityZoneFilter,CoreFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter

AIUI, when ChrisJ then does a set config on "scheduler_default_filters" the option is then duplicated in the nova.conf which can leads to issues with the correct setting being picked up and confusion to users.

ChrisJ is going to post the output of the duplicate setting once set-config is issued.

-thanks,
Antonio

James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
milestone: none → 15.10
assignee: Lirim (lirim-osmani) → nobody
status: In Progress → Triaged
importance: Wishlist → High
tags: added: sts
Felipe Reyes (freyes)
Changed in nova-cloud-controller (Juju Charms Collection):
assignee: nobody → Felipe Reyes (freyes)
Felipe Reyes (freyes)
Changed in nova-cloud-controller (Juju Charms Collection):
status: Triaged → In Progress
Changed in nova-cloud-controller (Juju Charms Collection):
status: In Progress → Fix Committed
Felipe Reyes (freyes)
tags: added: backport-potential
James Page (james-page)
Changed in nova-cloud-controller (Juju Charms Collection):
status: Fix Committed → Fix Released
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.