Comment 3 for bug 1694844

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

Reviewed: https://review.opendev.org/684141
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f212b855835d226189b202001bba97bb8c289179
Submitter: Zuul
Branch: master

commit f212b855835d226189b202001bba97bb8c289179
Author: Matt Riedemann <email address hidden>
Date: Mon Sep 23 17:43:33 2019 -0400

    Add functional tests for [cinder]/cross_az_attach=False

    This adds some simple functional tests for the API validation
    behavior during server create when [cinder]/cross_az_attach=False
    meaning the server being created and any volumes attached to it
    must be in the same AZ.

    As part of this, bug 1694844 is recreated where the server is
    created without an AZ (or default_schedule_zone AZ) which results
    in a 400 response because None != whatever the volume's AZ is
    (which defaults to "nova" in Cinder). This is important for testing
    fixes for that bug later since the API interaction code is pretty
    hairy and unit tests are insufficient for validating a fix.

    Change-Id: I1b724f7ad3e2f6baa9fd865a8e22d87bf909b488
    Related-Bug: #1694844