Bug 1710634

Summary: [OSP 16][RFE][Deployment] Support for image type filter
Product: Red Hat OpenStack Reporter: Dan Smith <dasmith>
Component: openstack-tripleo-heat-templatesAssignee: Piotr Kopec <pkopec>
Status: CLOSED ERRATA QA Contact: Gurenko Alex <agurenko>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.0 (Train)CC: ccopello, dasmith, egallen, eglynn, gregraka, jhakimra, jschluet, kchamart, lmarsh, lyarwood, mbooth, mburns, mschuppe, nwolf, owalsh, pkopec, sbauza, sclewis, scohen, sgordon, vromanso
Target Milestone: betaKeywords: FutureFeature, TechPreview, Triaged, ZStream
Target Release: 16.0 (Train on RHEL 8.1)Flags: nwolf: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-nova-15.4.1-0.20191126042922.b1bb388.el8ost openstack-tripleo-heat-templates-11.3.1-0.20191126041653.414d4d9.el8ost Doc Type: Technology Preview
Doc Text:
In Red Hat OpenStack Platform 16.0, a technology preview has been added to the Orchestration service (heat). A new parameter, `NovaSchedulerQueryImageType,` has been added that controls the Compute service (nova) placement and scheduler components query placement for image type (scheduler/query_placement_for_image_type_support). When set to true (the default), `NovaSchedulerQueryImageType` excludes compute nodes that do not support the disk format of the image used in a boot request. For example, the libvirt driver uses Red Hat Ceph Storage as an ephemeral back end, and does not support qcow2 images (without an expensive conversion step). In this case, enabling `NovaSchedulerQueryImageType` ensures that the scheduler does not send requests to boot a qcow2 image to compute nodes that use Red Hat Ceph Storage.
Story Points: ---
Clone Of:
: 1782220 1793596 (view as bug list) Environment:
Last Closed: 2020-02-06 14:40:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1782220, 1793596    

Description Dan Smith 2019-05-15 22:47:49 UTC
This was merged in Train:

https://blueprints.launchpad.net/nova/+spec/request-filter-image-types

We need to be able to enable it in director (probably by default) and it needs some easy QE:

Set up a deployment with Ceph and ideally one compute node without ceph, force_raw_images=False. Boot qemu image instances and make sure placement and scheduler are always choosing the non-ceph one. Also use osc-placement to validate that QCOW2 is present on non-ceph nodes, and absent on ceph ones.

Comment 19 errata-xmlrpc 2020-02-06 14:40:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:0283