← Back to team overview

openstack team mailing list archive

resizing instance fails

 

Hi all,

when I try to resize a running instance, I get this error:
Is there any way to solve it?


2012-12-03 14:38:25 ERROR nova.compute.manager
[req-3e393b4e-d0ed-430f-b0cc-53a9167e6666 afef cep4cma] [instance:
d3dba21b-3877-4da3-a2ab-8128f8515573] VHD coalesce attempts exceeded (5),
giving up.... Setting instance vm_state to ERROR
2012-12-03 14:38:25 DEBUG nova.manager [-] Running periodic task
SchedulerManager._expire_reservations from (pid=19093) periodic_tasks
/opt/stack/nova/nova/manager.py:171
2012-12-03 14:38:25 DEBUG nova.openstack.common.lockutils
[req-3e393b4e-d0ed-430f-b0cc-53a9167e6666 afef cep4cma] Got semaphore
"compute_resources" for method "update_usage"... from (pid=19070) inner
/opt/stack/nova/nova/openstack/common/lockutils.py:185
2012-12-03 14:38:26 DEBUG nova.openstack.common.rpc.amqp [-] received
{u'_context_roles': [], u'_context_request_id':
u'req-9cc1eaf2-4773-4db0-b4d7-d80e4cf306eb', u'_context_quota_class': None,
u'_context_project_name': None, u'_context_service_catalog': None,
u'_context_user_name': None, u'_context_auth_token': '<SANITIZED>',
u'args': {u'service_name': u'compute', u'host': u'computeDomU03',
u'capabilities': {u'host_name-description': u'Default install of
XenServer', u'disk_available': 230087983104, u'host_hostname':
u'compute09', u'supported_instances': [[u'x86_64', u'xapi', u'xen'],
[u'x86_32p', u'xapi', u'xen'], [u'x86_32', u'xapi', u'hvm'], [u'x86_32p',
u'xapi', u'hvm'], [u'x86_64', u'xapi', u'hvm']], u'host_memory_overhead':
106897408, u'enabled': u'true', u'host_ip': u'10.0.1.19',
u'host_capabilities': [u'xen-3.0-x86_64', u'xen-3.0-x86_32p',
u'hvm-3.0-x86_32', u'hvm-3.0-x86_32p', u'hvm-3.0-x86_64'], u'host_uuid':
u'03433673-d30c-4f8e-94cc-43d53f9c2207', u'host_memory_free': 5261139968,
u'disk_total': 242124587008, u'host_ip_address': u'10.0.1.166',
u'hypervisor_hostname': u'compute09', u'host_memory_total': 8589463552,
u'host_memory_free_computed': 5178503168, u'disk_used': 12036603904,
u'host_other-config': {u'agent_start_time': u'1353496206.', u'boot_time':
u'1353496188.', u'no_local_storage': u'true'}, u'host_name-label':
u'compute09', u'host_cpu_info': {u'physical_features':
u'00000000-00000000-00000000-00000000', u'modelname': u'Dual-Core AMD
Opteron(tm) Processor 2216 HE', u'vendor': u'AuthenticAMD', u'features':
u'00000000-00000000-00000000-00000000', u'family': 15, u'maskable': u'no',
u'cpu_count': 4, u'flags': u'fpu de tsc msr pae cx8 apic cmov pat clflush
mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good
nopl extd_apicid pni cx16 hypervisor lahf_lm cmp_legacy extapic
cr8_legacy', u'stepping': 2, u'model': 65, u'features_after_reboot':
u'00000000-00000000-00000000-00000000', u'speed': u'2394.010'}}},
u'_context_instance_lock_checked': False, u'_context_is_admin': True,
u'version': u'2.0', u'_context_project_id': None, u'_context_timestamp':
u'2012-12-03T14:38:26.342811', u'_context_read_deleted': u'no',
u'_context_user_id': None, u'method': u'update_service_capabilities',
u'_context_remote_address': None} from (pid=19093) _safe_log
/opt/stack/nova/nova/openstack/common/rpc/common.py:195
2012-12-03 14:38:26 DEBUG nova.openstack.common.rpc.amqp [-] unpacked
context: {'project_name': None, 'user_id': None, 'roles': [], 'timestamp':
u'2012-12-03T14:38:26.342811', 'auth_token': '<SANITIZED>',
'remote_address': None, 'quota_class': None, 'is_admin': True,
'service_catalog': None, 'request_id':
u'req-9cc1eaf2-4773-4db0-b4d7-d80e4cf306eb', 'instance_lock_checked':
False, 'project_id': None, 'user_name': None, 'read_deleted': u'no'} from
(pid=19093) _safe_log
/opt/stack/nova/nova/openstack/common/rpc/common.py:195
2012-12-03 14:38:26 DEBUG nova.scheduler.host_manager
[req-9cc1eaf2-4773-4db0-b4d7-d80e4cf306eb None None] Received compute
service update from (u'computeDomU03', u'compute09'). from (pid=19093)
update_service_capabilities
/opt/stack/nova/nova/scheduler/host_manager.py:340
2012-12-03 14:38:26 DEBUG nova.openstack.common.lockutils
[req-3e393b4e-d0ed-430f-b0cc-53a9167e6666 afef cep4cma] Got semaphore
"compute_resources" for method "update_usage"... from (pid=19070) inner
/opt/stack/nova/nova/openstack/common/lockutils.py:185
2012-12-03 14:38:26 ERROR nova.openstack.common.rpc.amqp [-] Exception
during message handling
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp Traceback (most
recent call last):
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 276, in
_process_data
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     rval =
self.proxy.dispatch(ctxt, version, method, **args)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/openstack/common/rpc/dispatcher.py", line 145, in
dispatch
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     return
getattr(proxyobj, method)(ctxt, **kwargs)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/exception.py", line 115, in wrapped
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     temp_level,
payload)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/exception.py", line 90, in wrapped
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     return
f(*args, **kw)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 191, in decorated_function
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     pass
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 177, in decorated_function
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     return
function(self, context, *args, **kwargs)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 218, in decorated_function
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp
kwargs['instance']['uuid'], e, sys.exc_info())
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 206, in decorated_function
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     return
function(self, context, *args, **kwargs)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 1905, in resize_instance
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp
network_info=network_info)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 35, in __exit__
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp
self.gen.throw(type, value, traceback)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/compute/manager.py", line 3203, in
_error_out_instance_on_exception
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp
self._set_instance_error_state(context, instance_uuid)
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     self.gen.next()
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp   File
"/opt/stack/nova/nova/openstack/common/excutils.py", line 49, in
save_and_reraise_exception
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp     raise type_,
value, tb
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp TypeError:
exceptions must be old-style classes or derived from BaseException, not
NoneType
2012-12-03 14:38:26 TRACE nova.openstack.common.rpc.amqp


Thank you,
Afef

Follow ups