[openstack-dev] How to choose proper availablity-zone in Havana version with the same usage realized by JsonFilter in Folsom version?

Sam Morrison sorrison at gmail.com
Sat Nov 9 06:24:25 UTC 2013

On 7 Nov 2013, at 5:10 pm, hzguanqiang at corp.netease.com wrote:

> Hi guys,
> In Folsom version, availability-zone info is stored in compute_nodes db table, and so can be parsed by JsonFilter.
> I can use JsonFilter to choose which(or except which) availability-zones to build my instance.
> But in Havana version, availability-zone info is stored in aggregatemetadata, and so JsonFilter seems can not filter
> the proper availatiliby-zones as the way in Folsom version.
> So Is there any other existed resolution in H version that can satisfy my demand?

You can use the AvailabilityZoneFilter for this.


More information about the OpenStack-dev mailing list