VCDriver: Failed to resize instance

Bug #1199954 reported by Sreeram Yerrapragada
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Gary Kotton
Havana
Fix Released
Medium
Gary Kotton
VMwareAPI-Team
Fix Released
Medium
Gary Kotton

Bug Description

Steps to reproduce:
nova resize <UUID> 2

Error:
 ERROR nova.openstack.common.rpc.amqp [req-762f3a87-7642-4bd3-a531-2bcc095ec4a5 demo demo] Exception during message handling
  Traceback (most recent call last):
    File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 421, in _process_data
      **args)
    File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
      result = getattr(proxyobj, method)(ctxt, **kwargs)
    File "/opt/stack/nova/nova/exception.py", line 99, in wrapped
      temp_level, payload)
    File "/opt/stack/nova/nova/exception.py", line 76, in wrapped
      return f(self, context, *args, **kw)
    File "/opt/stack/nova/nova/compute/manager.py", line 218, in decorated_function
      pass
    File "/opt/stack/nova/nova/compute/manager.py", line 204, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 269, in decorated_function
      function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 246, in decorated_function
      e, sys.exc_info())
    File "/opt/stack/nova/nova/compute/manager.py", line 233, in decorated_function
      return function(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/compute/manager.py", line 2633, in resize_instance
      block_device_info)
    File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 410, in migrate_disk_and_power_off
      dest, instance_type)
    File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 893, in migrate_disk_and_power_off
      raise exception.HostNotFound(host=dest)
  HostNotFound:

Tags: vmware
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Gary Kotton (garyk)
Changed in nova:
importance: Wishlist → Medium
milestone: none → havana-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/46231

Changed in nova:
assignee: nobody → Gary Kotton (garyk)
status: Confirmed → In Progress
Changed in openstack-vmwareapi-team:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Gary Kotton (garyk)
tags: added: havana-rc-potential
Changed in nova:
milestone: havana-rc1 → none
Thierry Carrez (ttx)
tags: added: havana-backport-potential
removed: havana-rc-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/46231
Committed: http://github.com/openstack/nova/commit/c586d635387e9baa3c0857afb56d05137fcddd7c
Submitter: Jenkins
Branch: master

commit c586d635387e9baa3c0857afb56d05137fcddd7c
Author: Gary Kotton <email address hidden>
Date: Thu Sep 12 02:23:36 2013 -0700

    VMware: fix VM resize bug

    The following operations would fail due to invalid references, either by name
    or UUID:
        - resize
        - resize-confirm
        - resize-revert

    Closes-bug: #1199954

    Change-Id: I39b804ed3c0c57455547d9ece0ef779cf73a5926

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/55509

Changed in nova:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/havana)

Reviewed: https://review.openstack.org/55509
Committed: http://github.com/openstack/nova/commit/a9caf689067b491ebaf91720ad97f085e2610c81
Submitter: Jenkins
Branch: stable/havana

commit a9caf689067b491ebaf91720ad97f085e2610c81
Author: Gary Kotton <email address hidden>
Date: Thu Sep 12 02:23:36 2013 -0700

    VMware: fix VM resize bug

    The following operations would fail due to invalid references, either by name
    or UUID:
        - resize
        - resize-confirm
        - resize-revert

    Closes-bug: #1199954

    (cherry picked from commit c586d635387e9baa3c0857afb56d05137fcddd7c)

    Conflicts:

     nova/tests/virt/vmwareapi/test_vmwareapi.py

    Change-Id: I39b804ed3c0c57455547d9ece0ef779cf73a5926

tags: added: in-stable-havana
Alan Pevec (apevec)
tags: removed: havana-backport-potential in-stable-havana
Tracy Jones (tjones-i)
Changed in openstack-vmwareapi-team:
status: In Progress → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-1 → 2014.1
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.