2011-12-21 00:46:43 |
Joe Gordon |
bug |
|
|
added bug |
2011-12-21 00:48:03 |
Joe Gordon |
nova: assignee |
|
Joe Gordon (joe-gordon0) |
|
2011-12-21 00:48:23 |
Joe Gordon |
nova: status |
New |
In Progress |
|
2011-12-21 00:49:41 |
Joe Gordon |
description |
running euca-describe-instances after launching and destroying a lot of images causes nova-api to throw an error:
"Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed"
This error is similar to Bug #785816 and Bug #815957
2011-12-20 13:07:33,881 ERROR nova.api [69c94d83-24fc-403c-b550-ac528ac80414 nova project_503] Unexpected error raised: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed
(nova.api): TRACE: Traceback (most recent call last):(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/__init__.py", line 348, in __call__
(nova.api): TRACE: result = api_request.invoke(context)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/apirequest.py", line 78, in invoke
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1152, in describe_instances
(nova.api): TRACE: instance_id=instance_id)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1161, in _format_describe_instances
(nova.api): TRACE: return {'reservationSet': self._format_instances(context, **kwargs)}
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1266, in _format_instances(nova.api): TRACE: if fixed['network'] and use_v6:
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/db/sqlalchemy/models.py", line 76, in __getitem__(nova.api): TRACE: return getattr(self, key)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 163, in __get__
(nova.api): TRACE: instance_dict(instance))
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 383, in get
(nova.api): TRACE: value = callable_(passive=passive)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 595, in __call__
(nova.api): TRACE: (mapperutil.state_str(state), self.key)(nova.api): TRACE: DetachedInstanceError: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed(nova.api): TRACE: |
running euca-describe-instances (against the latest stable/diablo) after launching and destroying a lot of images causes nova-api to throw an error:
"Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed"
This error is similar to Bug #785816 and Bug #815957
2011-12-20 13:07:33,881 ERROR nova.api [69c94d83-24fc-403c-b550-ac528ac80414 nova project_503] Unexpected error raised: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed
(nova.api): TRACE: Traceback (most recent call last):(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/__init__.py", line 348, in __call__
(nova.api): TRACE: result = api_request.invoke(context)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/apirequest.py", line 78, in invoke
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1152, in describe_instances
(nova.api): TRACE: instance_id=instance_id)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1161, in _format_describe_instances
(nova.api): TRACE: return {'reservationSet': self._format_instances(context, **kwargs)}
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1266, in _format_instances(nova.api): TRACE: if fixed['network'] and use_v6:
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/db/sqlalchemy/models.py", line 76, in __getitem__(nova.api): TRACE: return getattr(self, key)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 163, in __get__
(nova.api): TRACE: instance_dict(instance))
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 383, in get
(nova.api): TRACE: value = callable_(passive=passive)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 595, in __call__
(nova.api): TRACE: (mapperutil.state_str(state), self.key)(nova.api): TRACE: DetachedInstanceError: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed(nova.api): TRACE: |
|
2011-12-21 00:50:19 |
Joe Gordon |
description |
running euca-describe-instances (against the latest stable/diablo) after launching and destroying a lot of images causes nova-api to throw an error:
"Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed"
This error is similar to Bug #785816 and Bug #815957
2011-12-20 13:07:33,881 ERROR nova.api [69c94d83-24fc-403c-b550-ac528ac80414 nova project_503] Unexpected error raised: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed
(nova.api): TRACE: Traceback (most recent call last):(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/__init__.py", line 348, in __call__
(nova.api): TRACE: result = api_request.invoke(context)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/apirequest.py", line 78, in invoke
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1152, in describe_instances
(nova.api): TRACE: instance_id=instance_id)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1161, in _format_describe_instances
(nova.api): TRACE: return {'reservationSet': self._format_instances(context, **kwargs)}
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1266, in _format_instances(nova.api): TRACE: if fixed['network'] and use_v6:
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/db/sqlalchemy/models.py", line 76, in __getitem__(nova.api): TRACE: return getattr(self, key)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 163, in __get__
(nova.api): TRACE: instance_dict(instance))
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 383, in get
(nova.api): TRACE: value = callable_(passive=passive)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 595, in __call__
(nova.api): TRACE: (mapperutil.state_str(state), self.key)(nova.api): TRACE: DetachedInstanceError: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed(nova.api): TRACE: |
running euca-describe-instances (against the latest stable/diablo d3f32f742c1622f2d8b4b6fc5f42b04ea5da5664) after launching and destroying a lot of images causes nova-api to throw an error:
"Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed"
This error is similar to Bug #785816 and Bug #815957
2011-12-20 13:07:33,881 ERROR nova.api [69c94d83-24fc-403c-b550-ac528ac80414 nova project_503] Unexpected error raised: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed
(nova.api): TRACE: Traceback (most recent call last):(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/__init__.py", line 348, in __call__
(nova.api): TRACE: result = api_request.invoke(context)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/apirequest.py", line 78, in invoke
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1152, in describe_instances
(nova.api): TRACE: instance_id=instance_id)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1161, in _format_describe_instances
(nova.api): TRACE: return {'reservationSet': self._format_instances(context, **kwargs)}
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1266, in _format_instances(nova.api): TRACE: if fixed['network'] and use_v6:
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/db/sqlalchemy/models.py", line 76, in __getitem__(nova.api): TRACE: return getattr(self, key)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 163, in __get__
(nova.api): TRACE: instance_dict(instance))
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 383, in get
(nova.api): TRACE: value = callable_(passive=passive)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 595, in __call__
(nova.api): TRACE: (mapperutil.state_str(state), self.key)(nova.api): TRACE: DetachedInstanceError: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed(nova.api): TRACE: |
|
2011-12-21 21:03:22 |
Joe Gordon |
description |
running euca-describe-instances (against the latest stable/diablo d3f32f742c1622f2d8b4b6fc5f42b04ea5da5664) after launching and destroying a lot of images causes nova-api to throw an error:
"Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed"
This error is similar to Bug #785816 and Bug #815957
2011-12-20 13:07:33,881 ERROR nova.api [69c94d83-24fc-403c-b550-ac528ac80414 nova project_503] Unexpected error raised: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed
(nova.api): TRACE: Traceback (most recent call last):(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/__init__.py", line 348, in __call__
(nova.api): TRACE: result = api_request.invoke(context)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/apirequest.py", line 78, in invoke
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1152, in describe_instances
(nova.api): TRACE: instance_id=instance_id)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1161, in _format_describe_instances
(nova.api): TRACE: return {'reservationSet': self._format_instances(context, **kwargs)}
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1266, in _format_instances(nova.api): TRACE: if fixed['network'] and use_v6:
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/db/sqlalchemy/models.py", line 76, in __getitem__(nova.api): TRACE: return getattr(self, key)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 163, in __get__
(nova.api): TRACE: instance_dict(instance))
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 383, in get
(nova.api): TRACE: value = callable_(passive=passive)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 595, in __call__
(nova.api): TRACE: (mapperutil.state_str(state), self.key)(nova.api): TRACE: DetachedInstanceError: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed(nova.api): TRACE: |
Test Environment:
Nova stable/diablo (d3f32f742c1622f2d8b4b6fc5f42b04ea5da5664) on 2 machines. Launch 20 VMs (in parallel) at a time take them down and launch another 20.
Error:
When run euca-describe-instances during and after the VM launch process it occasionally says
# euca-describe-instances
UnknownError: An unknown error has occurred. Please try your request again.
"Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed"
This error is similar to Bug #785816 and Bug #815957
StackTrace (from nova-api.log)
2011-12-20 13:07:33,881 ERROR nova.api [69c94d83-24fc-403c-b550-ac528ac80414 nova project_503] Unexpected error raised: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed
(nova.api): TRACE: Traceback (most recent call last):(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/__init__.py", line 348, in __call__
(nova.api): TRACE: result = api_request.invoke(context)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/apirequest.py", line 78, in invoke
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1152, in describe_instances
(nova.api): TRACE: instance_id=instance_id)(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1161, in _format_describe_instances
(nova.api): TRACE: return {'reservationSet': self._format_instances(context, **kwargs)}
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1266, in _format_instances(nova.api): TRACE: if fixed['network'] and use_v6:
(nova.api): TRACE: File "/usr/local/lib/python2.7/dist-packages/nova/db/sqlalchemy/models.py", line 76, in __getitem__(nova.api): TRACE: return getattr(self, key)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 163, in __get__
(nova.api): TRACE: instance_dict(instance))
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py", line 383, in get
(nova.api): TRACE: value = callable_(passive=passive)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/strategies.py", line 595, in __call__
(nova.api): TRACE: (mapperutil.state_str(state), self.key)(nova.api): TRACE: DetachedInstanceError: Parent instance <FixedIp at 0x5dd6390> is not bound to a Session; lazy load operation of attribute 'network' cannot proceed(nova.api): TRACE: |
|
2011-12-22 02:46:56 |
Joe Gordon |
nova: status |
In Progress |
Incomplete |
|
2012-01-19 23:46:30 |
Joe Gordon |
nova: assignee |
Joe Gordon (joe-gordon0) |
|
|
2012-01-28 12:10:39 |
Lionel Porcheron |
bug |
|
|
added subscriber Lionel Porcheron |
2012-03-15 16:43:45 |
Thierry Carrez |
nova: importance |
Undecided |
High |
|
2012-03-16 10:45:31 |
Thierry Carrez |
nova: importance |
High |
Undecided |
|
2012-03-16 10:45:31 |
Thierry Carrez |
nova: status |
Incomplete |
Invalid |
|
2012-03-16 10:45:41 |
Thierry Carrez |
nominated for series |
|
nova/diablo |
|
2012-03-16 10:45:41 |
Thierry Carrez |
bug task added |
|
nova/diablo |
|
2014-09-15 15:37:12 |
Sean Dague |
bug task deleted |
nova/diablo |
|
|