vmware: nova aggregate-remove-host not implemented for vcdriver

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

Bug Description

2013-09-24 12:47:26.451 ERROR nova.openstack.common.rpc.amqp [req-bc4f19ae-4597-4ead-858a-e126b4ef7c50 admin demo] Exception during message handling
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp **args)
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 90, in wrapped
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp payload)
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 73, in wrapped
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp return f(self, context, *args, **kw)
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 5012, in remove_aggregate_host
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp slave_info=slave_info)
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/driver.py", line 926, in remove_from_aggregate
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp raise NotImplementedError()
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp NotImplementedError
2013-09-24 12:47:26.451 TRACE nova.openstack.common.rpc.amqp

Tags: vmware
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → icehouse-1
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/48326

Changed in nova:
assignee: nobody → Gary Kotton (garyk)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/48326
Committed: http://github.com/openstack/nova/commit/93695e60ec6136688fe5ca2d6d8494dcfd71eb22
Submitter: Jenkins
Branch: master

commit 93695e60ec6136688fe5ca2d6d8494dcfd71eb22
Author: Gary Kotton <email address hidden>
Date: Wed Sep 25 11:58:17 2013 -0700

    Host aggregate configuration throws exception

    If the virtualization driver did not implement the host
    aggregate support functions (add_to_aggregate,
    remove_from_aggregate and undo_aggregate_operation) then an
    exception is thrown when a host aggregate was created/deleted.
    Configuration of the host aggregates breaks tempest tests when
    the underlying driver does not have these methods implemented.

    The only driver that actually uses this is the Xen driver.
    The solution enables all drivers to support this without
    having to add in specific code. More specifically, the compute
    manager will not raise NotImplementedError.

    Closes-Bug: 1229912
    Closes-Bug: 1229911

    Change-Id: Iee69e45d94047742b6a499a139bac96ad9dd971f

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → 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.