Hypervisor uptime is not implemented in VCDriver

Bug #1199946 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

Steps to reproduce:
nova hypervisor-uptime 1

Error:
 ERROR nova.openstack.common.rpc.amqp [req-9b70f9eb-d78d-4c4a-8634-431fdaccc45c admin demo] Exception during message handling
 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 421, in _process_data
 TRACE nova.openstack.common.rpc.amqp **args)
 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
 TRACE nova.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 99, in wrapped
 TRACE nova.openstack.common.rpc.amqp temp_level, payload)
 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/exception.py", line 76, in wrapped
 TRACE nova.openstack.common.rpc.amqp return f(self, context, *args, **kw)
 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/compute/manager.py", line 2880, in get_host_uptime
 TRACE nova.openstack.common.rpc.amqp return self.driver.get_host_uptime(self.host)
 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/driver.py", line 760, in get_host_uptime
 TRACE nova.openstack.common.rpc.amqp raise NotImplementedError()
 TRACE nova.openstack.common.rpc.amqp NotImplementedError

Tags: vmware
Revision history for this message
Gary Kotton (garyk) wrote :

Hi,
Can you please paste your nova.conf file.
Thanks
Gary

Changed in nova:
status: New → Incomplete
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/41058

Changed in nova:
assignee: nobody → Gary Kotton (garyk)
status: Incomplete → In Progress
Gary Kotton (garyk)
Changed in nova:
status: In Progress → Confirmed
Changed in nova:
status: Confirmed → In Progress
Gary Kotton (garyk)
Changed in nova:
importance: Undecided → Medium
milestone: none → havana-3
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → havana-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit cdff8f5cff332de11e44e67c98e84029e0269d30
Author: Gary Kotton <email address hidden>
Date: Fri Aug 9 02:52:04 2013 -0700

    VMware: fix driver support for hypervisor uptime

    This method was previously not implemented and would throw an exception
    with the tempest tests. It will now redirect the administrator to access
    the host to het the uptime.

    Fixes bug 1199946

    Change-Id: I073f50fee6aa76e912753c0754d632ff2adfa287

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: havana-rc1 → 2013.2
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.