openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06315
Re: openstack nova-comoute boot instance error (diablo)
-
To:
darkfower <atkisc@xxxxxxxxx>
-
From:
Pádraig Brady <P@xxxxxxxxxxxxxx>
-
Date:
Sat, 24 Dec 2011 13:54:01 +0000
-
Cc:
openstack@xxxxxxxxxxxxxxxxxxx
-
In-reply-to:
<CAKXnYyGAZ_pV+2raQJOWgGG-m=YC0xzp-5R0DjvM7HxBNT+S4g@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0
On 12/24/2011 03:47 AM, darkfower wrote:
> hi,everybody:
>
> when i new create a kvm instance , error as flollow:
>
>
> 2011-12-24 11:45:17,937 INFO nova.virt.libvirt_conn [-] Instance instance-00000001 spawned successfully.
> 2011-12-24 11:45:18,126 ERROR nova.exception [-] DB exception wrapped.
> (nova.exception): TRACE: Traceback (most recent call last):
> (nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 78, in _wrap
> (nova.exception): TRACE: return f(*args, **kwargs)
> (nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1359, in flush
> (nova.exception): TRACE: self._flush(objects)
> (nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 1447, in _flush
> (nova.exception): TRACE: raise
> (nova.exception): TRACE: TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
> (nova.exception): TRACE:
> 2011-12-24 11:45:18,140 WARNING nova.compute.manager [-] Error during power_state sync: exceptions must be old-style classes or derived from BaseException, not NoneType
I've seen this due to greenthread clearing the exception,
thus None is reraised, rather than the original exception.
nova.utils.save_and_reraise_exception() was created to avoid this,
so perhaps there is a missing use of this?
cheers,
Pádraig.
Follow ups
References