Public bug reported: 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" ** Affects: horizon Importance: Undecided Assignee: Mayank (mayank0107) Status: New ** Tags: vmware ** Attachment added: "Horizon snapshot" https://bugs.launchpad.net/bugs/1340167/+attachment/4149553/+files/Capture.JPG ** Changed in: horizon Assignee: (unassigned) => Mayank (mayank0107) ** Summary changed: - VMware: Horizon message for PAUSE instance is misleading + VMware: Horizon reports incorrect message for PAUSE instance -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1340167 Title: VMware: Horizon reports incorrect message for PAUSE instance Status in OpenStack Dashboard (Horizon): New 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp