← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1579124] Re: Instance mapping doesn't strictly load cell_mapping on save.

 

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

commit 649774ea8f489a8d0386dd419aca4be98689e2ac
Author: Mark Doffman <mjdoffma@xxxxxxxxxx>
Date:   Fri May 6 10:47:19 2016 -0500

    Instance mapping save, properly load cell mapping
    
    Properly load the cell mapping on instance mapping 'save'.
    Not loading it within the '_save_to_db' method means that it is
    lazy loaded out of a db session, making it impossible to update
    the cell mapping attribute.
    
    Closes-Bug: #1579124
    
    Change-Id: I04be5aaa63b6950d2ca57d82eeb120f99f8b0ffe


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1579124

Title:
  Instance mapping doesn't strictly load cell_mapping on save.

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  On '_create_in_db' the instance mapping object loads the cell mapping
  attribute to ensure that a lazy-load is not attempted later outside of
  a db session. The equivalent load of cell_mapping for '_save_in_db' is
  missing. It is not possible to update a cell mapping because of this.

  See 'nova/objects/instance_mapping.py'

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1579124/+subscriptions


References