Hi Daniel thanks for your feedback. After reading up a little more http://docs.openstack.org/openstack-ops/content/scaling.html#segragation_methods I now understand your original suggestion.
I believe that if the operator associates the aggregate directly to the flavor As you suggested that yes this will cover my use case too as the tenant is selecting availability zones Not host aggregates. Sorry I had misconstrued the relationship between availability zones and host aggregates. I believed that there was a one to one mapping ,so when you select an availability zone you were Selecting the host aggregate directly. Regards Sean. > -----Original Message----- > From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Wednesday, December 03, 2014 1:38 PM > To: Mooney, Sean K > Cc: OpenStack Development Mailing List (not for usage questions) > Subject: Re: [openstack-dev] [nova] [libvirt] enabling per node > filtering of mempage sizes > > On Wed, Dec 03, 2014 at 01:28:36PM +0000, Mooney, Sean K wrote: > > Hi > > > > Unfortunately a flavor + aggregate is not enough for our use case as > > it is still > possible for the tenant to misconfigure a vm. > > > > The edge case not covered by flavor + aggregate that we are trying > > to prevent > is as follows. > > > > The operator creates an aggregate containing the nodes that require > > all VMs > to use large pages. > > The operator creates flavors with and without memory backing specified. > > > > The tenant selects the aggregate containing nodes that only supports > hugepages and a flavor that requires small or any. > > Or > > The tenant selects a flavor that requires small or any and does not > > select an > aggregate. > > The tenant isn't responsible for selecting the aggregate. The operator > should be associating the aggregate directly to the flavour. So the > tenant merely has to select the right flavour. > > Regards, > Daniel > -- > |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| > |: http://libvirt.org -o- http://virt-manager.org :| > |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| > |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| > > _______________________________________________ > OpenStack-dev mailing list > OpenStackfirstname.lastname@example.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev _______________________________________________ OpenStack-dev mailing list OpenStackemail@example.com http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev