Scheduling does not work with a hybid cloud

Bug #1523503 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Gary Kotton
Liberty
Fix Released
High
Gary Kotton

Bug Description

The glance image metadata 'hypervisor_type' and 'hypervisor_version_requires' are not honored. The reason is that these are replaced by img_hv_type and img_hv_requested_version
So the scheduler will not take these into account. This break scheduling ina hybrid cloud

Gary Kotton (garyk)
tags: added: liberty-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/254206

Changed in nova:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Gary Kotton (garyk)
Changed in nova:
importance: Undecided → Critical
summary: - Scheuling does not with a hybid cloud
+ Scheduling does not with a hybid cloud
summary: - Scheduling does not with a hybid cloud
+ Scheduling does not work with a hybid cloud
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by garyk (<email address hidden>) on branch: master
Review: https://review.openstack.org/254206
Reason: Fixed by https://github.com/openstack/nova/commit/e792d50efadb36437e82381f4c84d738cee25dfd

Revision history for this message
Gary Kotton (garyk) wrote :

This has been addressed by patch https://github.com/openstack/nova/commit/e792d50efadb36437e82381f4c84d738cee25dfd but the stable/liberty code is broken

Revision history for this message
John Garbutt (johngarbutt) wrote :

This does not affect all users, it only affects users running a hybrid cloud using the legacy image property names. As such, reducing this from critical to high.

Changed in nova:
importance: Critical → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/254856

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

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

commit f33dfa0647f0cd289bce19f7c06b3d0a88070a92
Author: Gary Kotton <email address hidden>
Date: Mon Dec 7 05:48:37 2015 -0800

    Scheduler: honor the glance metadata for hypervisor details

    The scheduler would not honor the glance image metadata for
    'hypervisor_type' and 'hypervisor_version_requires'. This was due
    to the fact that this was not part if the image_meta object.

    Change-Id: I03742cc9330814e2758184d8189a5be93a2b978b
    Closes-bug: #1523503

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/255092

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

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

commit db8d7472635335eb8c563f51e9e2de9d9b7b0b1a
Author: Matt Riedemann <email address hidden>
Date: Tue Dec 8 07:41:20 2015 -0800

    Add hv testing for ImageMetaProps._legacy_property_map

    Change I03742cc9330814e2758184d8189a5be93a2b978b added the
    'hypervisor_type' to the _legacy_property_map. This makes sure that
    change is tested.

    Also adds test coverage for 'hypervisor_version_requires'.

    Related-Bug: #1523503

    Change-Id: I3738785a4f119e361be0d6aaf3649ad375c471c8

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

Reviewed: https://review.openstack.org/255092
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=29f70e7e0686b9e4509e65778747fa82187087f2
Submitter: Jenkins
Branch: stable/liberty

commit 29f70e7e0686b9e4509e65778747fa82187087f2
Author: Gary Kotton <email address hidden>
Date: Mon Dec 7 05:48:37 2015 -0800

    Scheduler: honor the glance metadata for hypervisor details

    The scheduler would not honor the glance image metadata for
    'hypervisor_type' and 'hypervisor_version_requires'. This was due
    to the fact that this was not part if the image_meta object.

    Change-Id: I03742cc9330814e2758184d8189a5be93a2b978b
    Closes-bug: #1523503
    (cherry picked from commit f33dfa0647f0cd289bce19f7c06b3d0a88070a92)

Changed in nova:
milestone: none → mitaka-2
Matt Riedemann (mriedem)
tags: added: in-stable-liberty scheduler
removed: liberty-backport-potential
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.