Adds code to the util.ensure_consumer() method that updates the
consumer's project and user foreign key identifiers when a user supplies
a different external project or user identifier in the paylod of PUT
/allocations/{consumer_uuid} or POST /allocations.
Reviewed: https:/ /review. openstack. org/581139 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=4f9a7da5819 b4cc2c181506c68 2a092caff40fb3
Committed: https:/
Submitter: Zuul
Branch: master
commit 4f9a7da5819b4cc 2c181506c682a09 2caff40fb3
Author: Jay Pipes <email address hidden>
Date: Mon Jul 9 17:26:52 2018 -0400
update project/user for consumer in allocation
Adds code to the util.ensure_ consumer( ) method that updates the s/{consumer_ uuid} or POST /allocations.
consumer's project and user foreign key identifiers when a user supplies
a different external project or user identifier in the paylod of PUT
/allocation
Change-Id: I9368ad2280551f fa9a011d3a30c4b 45861305455
Closes-bug: #1779717
Related-Bug: #1781008