nova-status needs to check that placement 1.4 is available for pike

Bug #1669433 reported by Matt Riedemann
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Roman Podoliaka

Bug Description

In Ocata, nova-compute wouldn't start if placement wasn't available, but it didn't check the version so placement from newton will still work with ocata computes. Also, the filter scheduler will fallback to not using placement if the computes aren't all new enough yet, but even once the computes are upgraded if placement is not the latest and microversion 1.4 isn't available, then the filter scheduler will not find any resource providers and it will result in a NoValidHost error.

For Pike, the fallback code for the older computes has been removed from the filter scheduler:

https://review.openstack.org/#/c/436180/

So we're always calling placement from the filter scheduler. However, we don't enforce a minimum version of placement and we need 1.4 for the filter scheduler to work. We should add a check to the "nova-status upgrade check" command to enforce that placement is running with at least the 1.4 microversion (ocata) before upgrading to Pike.

Changed in nova:
assignee: nobody → Roman Podoliaka (rpodolyaka)
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/441881

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit a17851ab0ab1296e587c582523e9421a06e20597
Author: Roman Podoliaka <email address hidden>
Date: Mon Mar 6 12:45:51 2017 +0200

    nova-status: require placement >= 1.4

    Since Ia1a0066dc30025c02553584a077365b28d8ff80e FilterScheduler will
    no longer fall back to not using placement API. We need to require
    version 1.4 to prevent NoValidHost errors.

    Closes-Bug: #1669433

    Change-Id: I6666cb2f558ed1f4e83f21e0317a206b07c25134

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 16.0.0.0b1

This issue was fixed in the openstack/nova 16.0.0.0b1 development milestone.

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.