From 24ae4c4bcdc22125fa47db13b5dbd1459ef4f6cc Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Tue, 27 Feb 2018 11:47:15 +0000 Subject: [PATCH] Update placement aggregates spec to clarify generation handling This adds a paragraph to the placement-aggregate-generation spec to clarify that in older microversions, the generation of the resource provider will not be updated. We considered updating it whatever the microversion but it turns out that there's extant code relying on the old behavior. blueprint placement-aggregate-generation Change-Id: I41e06d4bddf2ad5d12de99d19118ded96159cdd2 Co-Authored-By: Eric Fried --- specs/rocky/approved/placement-aggregate-generation.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specs/rocky/approved/placement-aggregate-generation.rst b/specs/rocky/approved/placement-aggregate-generation.rst index 239cefc20..9e6d7aa3e 100644 --- a/specs/rocky/approved/placement-aggregate-generation.rst +++ b/specs/rocky/approved/placement-aggregate-generation.rst @@ -61,6 +61,12 @@ rejected with a ``409 Conflict`` response. Details of representation changes can be found below. +When requests are made at an older microversion, thus not including the +generation in the request, the generation of the resource provider will *not* +be updated in the database. This is because there is existing code in Nova +which currently relies on the generation not being updated. If Nova has it +then there could easily be code elsewhere. + Alternatives ------------