yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66302
[Bug 1707830] [NEW] resize to smaller flavor failed, but has not error message on dashboard
Public bug reported:
When use resize instance, resize fails for smaller disk in new flavor,
but dashboard has no error message.
Steps to reproduce:
1.) Create instance(using cirros is OK) with a flavor A-1-1-10(1 vcpu, 1024M memory, 10G disk)
2.) Try resize instance to flavor which has smaller root disk B-1-1-1(1 vcpu, 1024M memory, 1G disk)
Expected result:
show error message on dashboard.Something like unable to resize disk down.
Actual result:
No error message showed on dashboard.
Logs:
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server [req-6f03b653-9c79-48fe-b40b-99c99c92687e ff8d89b8eda64c8f9a46548744db65d2 5a7d5cf5df734994bac9ff1d4f475bca - - -] Exception during message handling
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/exception_wrapper.py", line 75, in wrapped
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server function_name, call_dict, binary)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/exception_wrapper.py", line 66, in wrapped
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return f(self, context, *args, **kw)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 188, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server LOG.warning(msg, e, instance=instance)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 157, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/utils.py", line 686, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 145, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server migration.instance_uuid, exc_info=True)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 122, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 216, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server kwargs['instance'], e, sys.exc_info())
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 204, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 3923, in resize_instance
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.instance_events.clear_events_for_instance(instance)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.gen.throw(type, value, traceback)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 6754, in _error_out_instance_on_exception
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server raise error.inner_exception
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server ResizeError: Resize error: Unable to resize disk down.
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server
** Affects: nova
Importance: Undecided
Status: New
--
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/1707830
Title:
resize to smaller flavor failed, but has not error message on
dashboard
Status in OpenStack Compute (nova):
New
Bug description:
When use resize instance, resize fails for smaller disk in new flavor,
but dashboard has no error message.
Steps to reproduce:
1.) Create instance(using cirros is OK) with a flavor A-1-1-10(1 vcpu, 1024M memory, 10G disk)
2.) Try resize instance to flavor which has smaller root disk B-1-1-1(1 vcpu, 1024M memory, 1G disk)
Expected result:
show error message on dashboard.Something like unable to resize disk down.
Actual result:
No error message showed on dashboard.
Logs:
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server [req-6f03b653-9c79-48fe-b40b-99c99c92687e ff8d89b8eda64c8f9a46548744db65d2 5a7d5cf5df734994bac9ff1d4f475bca - - -] Exception during message handling
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/exception_wrapper.py", line 75, in wrapped
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server function_name, call_dict, binary)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/exception_wrapper.py", line 66, in wrapped
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return f(self, context, *args, **kw)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 188, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server LOG.warning(msg, e, instance=instance)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 157, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/utils.py", line 686, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 145, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server migration.instance_uuid, exc_info=True)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 122, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 216, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server kwargs['instance'], e, sys.exc_info())
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.force_reraise()
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server six.reraise(self.type_, self.value, self.tb)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 204, in decorated_function
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server return function(self, context, *args, **kwargs)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 3923, in resize_instance
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.instance_events.clear_events_for_instance(instance)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/usr/lib64/python2.7/contextlib.py", line 35, in __exit__
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server self.gen.throw(type, value, traceback)
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 6754, in _error_out_instance_on_exception
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server raise error.inner_exception
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server ResizeError: Resize error: Unable to resize disk down.
2017-08-01 23:06:41.707 7 ERROR oslo_messaging.rpc.server
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1707830/+subscriptions