← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1647370] [NEW] Resource tracker doesn't free resources on confirm resize

 

Public bug reported:

Description
===========

If the audit hasn’t been triggered and confirm resize is executed, the resources aren't dropped because the itype stored in the self.tracked_migrations correspond to new flavor.
    
But if the audit got executed, it correspond to the old flavor, and resources gets dropped properly.

Steps to reproduce
==================

1) Resize a guest
2) Confirm the resize before the periodic audit gets triggered

Expected result
===============

The guest's resources corresponding to the initial flavor should had
been freed.

Actual result
=============

The guest's resources corresponding to the initial flavor aren't freed.

Environment
===========

commit e83a3572344f9be39930ea9ead83a1f9b94ac7fe
Author: Timofey Durakov <tdurakov@xxxxxxxxxxxx>
Date:   Thu Dec 1 11:58:18 2016 +0300

    Fix for live-migration job
    
    Commit 9293ac0 to devstack-plugin-ceph altered
    CEPH_LOOPBACK_DISK_SIZE_DEFAULT variable initialization
    This fix added source for setting this variable in correct way.
    
    Closes-Bug: #1646418
    
    Change-Id: I84c3b78c53cfa283e9bcb7cf4b70ec6c95044e9c

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1647370

Title:
  Resource tracker doesn't free resources on confirm resize

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========

  If the audit hasn’t been triggered and confirm resize is executed, the resources aren't dropped because the itype stored in the self.tracked_migrations correspond to new flavor.
      
  But if the audit got executed, it correspond to the old flavor, and resources gets dropped properly.

  Steps to reproduce
  ==================

  1) Resize a guest
  2) Confirm the resize before the periodic audit gets triggered

  Expected result
  ===============

  The guest's resources corresponding to the initial flavor should had
  been freed.

  Actual result
  =============

  The guest's resources corresponding to the initial flavor aren't
  freed.

  Environment
  ===========

  commit e83a3572344f9be39930ea9ead83a1f9b94ac7fe
  Author: Timofey Durakov <tdurakov@xxxxxxxxxxxx>
  Date:   Thu Dec 1 11:58:18 2016 +0300

      Fix for live-migration job
      
      Commit 9293ac0 to devstack-plugin-ceph altered
      CEPH_LOOPBACK_DISK_SIZE_DEFAULT variable initialization
      This fix added source for setting this variable in correct way.
      
      Closes-Bug: #1646418
      
      Change-Id: I84c3b78c53cfa283e9bcb7cf4b70ec6c95044e9c

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


Follow ups