Fake compute driver cannot deploy image with hypervisor_type attribute

Bug #1260771 reported by Cedric Brandily
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Cedric Brandily

Bug Description

The fake compute driver does not provide the attribute supported_instances to ImagePropertiesFilter scheduler filter.
So ImagePropertiesFilter refuses to deploy images with hypervisor_type=fake property on fake computes.

Consequently, fake computes can not be used in multi hypervisor_types deployments because in this case hypervisor_type property on image is mandatory to avoid mixing one hypervisor_type image with another hypervisor_type compute.

Changed in nova:
assignee: nobody → Cedric Brandily (cbrandily)
Changed in nova:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Cedric Brandily (cbrandily) wrote :

Associated code review is here: https://review.openstack.org/62024

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/62024
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=bdecc8d2339e3e0dd87c7258244ac8568b5b965e
Submitter: Jenkins
Branch: master

commit bdecc8d2339e3e0dd87c7258244ac8568b5b965e
Author: Cedric Brandily <email address hidden>
Date: Fri Dec 13 17:03:19 2013 +0100

    Define "supported_instances" for fake compute

    Allow fake computes to deploy images with hypervisor_type
    defined and set to "fake" and by extension to be used in
    multi hypervisor_type deployments.
    Mixing fake and "real" computes on the same OpenStack
    deployment allows to create many fake instances and some
    working instances for testing applications on top of
    OpenStack (ie: fake instances for stress tests, working
    ones for functional tests).

    Closes-bug: #1260771
    Change-Id: Idc337c4a7ed024f236ca2b60d91e2c30f7d54536

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-3
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-3 → 2014.1
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.