VMware: Update flavor-related metadata upon instance resize

Bug #1843265 reported by Ivaylo Mitev
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Ivaylo Mitev

Bug Description

Steps to reproduce
==================
* Create an instance using a certain flavor
* Resize the instance using a different flavor

Expected result
===============
The flavor-related metadata must be updated to represent the newly selected flavor upon resize.

Actual result
=============
The metadata of the corresponding vSphere VM (kept in the notes of the VM) keeps holding the values for the initial flavor.

Environment
===========
1. Exact version of OpenStack you are running.
Queens

2. Which hypervisor did you use?
vSphere 6.5

Tags: vmware
Ivaylo Mitev (imitev)
tags: added: vmware
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/681004

Changed in nova:
assignee: nobody → Ivaylo Mitev (imitev)
status: New → In Progress
Ivaylo Mitev (imitev)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 4141bf63af1ea6664db756be859d0bb845a692b9
Author: Ivaylo Mitev <email address hidden>
Date: Thu Aug 29 04:30:48 2019 -0700

    VMware: Update flavor-related metadata on resize

    Update the flavor-related metadata in the VM Notes in vSphere upon
    instance resize. Otherwise, notes keep holding the previous flavor's
    name and size.

    Change-Id: Ib3c8d15f8073928a47ee860409a999a06acfc1a1
    Closes-Bug: #1843265

Changed in nova:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.