AggregateImagePropertiesIsolation configuration doesn't work

Solution In Progress - Updated -

Issue

  • AggregateImagePropertiesIsolation custom properties do not work
  • AggregateImagePropertiesIsolation configuration doesn't work for windows instance

Enabled nova filters:

# grep -i imageprop /etc/nova/nova.conf
default_filters=AggregateInstanceExtraSpecsFilter,RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,AggregateCoreFilter,AggregateImagePropertiesIsolation,DifferentHostFilter,SameHostFilter
enabled_filters=AggregateInstanceExtraSpecsFilter,RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,AggregateCoreFilter,AggregateImagePropertiesIsolation,DifferentHostFilter,SameHostFilter

aggregate_image_properties_isolation settings:

# grep -i image_prop /etc/nova/nova.conf
aggregate_image_properties_isolation_namespace = licencereq
aggregate_image_properties_isolation_separator = .

Used aggregate

# openstack aggregate show 3
+-------------------+---------------------------------------+
| Field             | Value                                 |
+-------------------+---------------------------------------+
| availability_zone | AZ1                                   |
| created_at        | 2018-04-05T11:43:23.000000            |
| deleted           | False                                 |
| deleted_at        | None                                  |
| hosts             | [u'compute01.localdomain']            |
| id                | 3                                     |
| name              | wintest                               |
| properties        | licencereq.os='win'                   |
| updated_at        | None                                  |
+-------------------+---------------------------------------+

Environment

  • Red Hat OpenStack 9 and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In