← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1340167] Re: VMware: Horizon reports incorrect message for PAUSE instance

 

This wishlist bug has been open a year without any activity. I'm going
to move it to "Opinion / Wishlist", which is an easily-obtainable queue
of older requests that have come on.

In case you want to work on that, consider writing a blueprints [1] and
spec [2]. I'll recommend to read [3] if not yet done. The effort to
implement the requested feature is then driven only by the blueprint
(and spec).

NOTE:
The need for a "discover capabilites" API got discussed during the Newton summit [4] (but without a clear path forward IIUC).

References:
[1] https://blueprints.launchpad.net/nova/
[2] https://github.com/openstack/nova-specs
[3] https://wiki.openstack.org/wiki/Blueprints
[4] https://etherpad.openstack.org/p/newton-discovery

** Changed in: nova
       Status: Confirmed => Opinion

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1340167

Title:
  VMware: Horizon reports incorrect message for PAUSE instance

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in OpenStack Compute (nova):
  Opinion

Bug description:
  When I pause an instance hosted on VMware cluster, it shows 
  SUCCESS: Paused Instance: <instance_name>; 
  in horizon portal and nothing happens (instance does not go to Pause state)

  In nova-compute log it shows: pause not supported for vmwareapi

  2014-07-10 06:53:37.212 ERROR oslo.messaging.rpc.dispatcher [req-f8159224-a1e2-4271-84d8-eea2edeaaee1 admin demo] Exception during message handling: pause not supported for vmwareapi
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/exception.py", line 88, in wrapped
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     payload)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/exception.py", line 71, in wrapped
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 285, in decorated_function
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     pass
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 271, in decorated_function
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 335, in decorated_function
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     function(self, context, *args, **kwargs)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 313, in decorated_function
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     kwargs['instance'], e, sys.exc_info())
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/openstack/common/excutils.py", line 82, in __exit__
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 301, in decorated_function
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/compute/manager.py", line 3680, in pause_instance
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     self.driver.pause(instance)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 678, in pause
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     _vmops.pause(instance)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/nova/nova/virt/vmwareapi/vmops.py", line 938, in pause
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher     raise NotImplementedError(msg)
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher NotImplementedError: pause not supported for vmwareapi
  2014-07-10 06:53:37.212 TRACE oslo.messaging.rpc.dispatcher
  2014-07-10 06:53:37.214 ERROR oslo.messaging._drivers.common [req-f8159224-a1e2-4271-84d8-eea2edeaaee1 admin demo] Returning exception pause not supported for vmwareapi to caller

  
  This information is quite misleading for the user.
  The message should come as "Pause not supported for vmwareapi"

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1340167/+subscriptions


References