Hypervisor uptime not relevant for VCDriver

Bug #1313375 reported by Sagar Ratnakara Nikam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Sagar Ratnakara Nikam

Bug Description

The uptime feature is not implemented in the VCDriver. Since the VCDriver extends the ESX Driver, the implementation of ESX Driver gets invoked whenever the uptime API is called for a cluster.

The ESX Driver returns this message when the uptime api is invoked.
'Please refer to %s for the uptime' % CONF.vmware.host_ip

This message is not relevant for the VCDriver.

Also the VCenter does not provide uptime for clusters.

Hence the correct implementation for this API is to return
NotImplementedError

Tags: vmware
Changed in nova:
assignee: nobody → Sagar Ratnakara Nikam (sagar-r-nikam)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to nova (master)

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

Changed in nova:
status: New → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/90607
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=94cb04540828d9a3f9186c4e6922baabc784a647
Submitter: Jenkins
Branch: master

commit 94cb04540828d9a3f9186c4e6922baabc784a647
Author: Sagar Ratnakara Nikam <email address hidden>
Date: Sun Apr 27 22:42:06 2014 +0530

    VCDriver - No longer returns uptime due to multiple hosts

    The vCenter cluster will have multiple hosts.
    The cluster does not have a uptime feature.
    Returning uptime of one of the host/longest
    running host, can be misleading to the user.
    Hence raising NotImplementedError
    Closes-Bug:#1313375

    Change-Id: I70e5ab35b8944abd7b874762de2af5b01d6a7313

Changed in nova:
status: In Progress → Fix Committed
Tracy Jones (tjones-i)
Changed in nova:
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-1 → 2014.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.