← Back to team overview

openstack team mailing list archive

Re: Quantum Database and RPC error

 

Hi-


Thanks for the reply.

Which modules populates this Session info into the context.

can u guide me in this regard.


On Wed, Nov 21, 2012 at 6:37 PM, gong yong sheng <gongysh@xxxxxxxxxxxxxxxxxx
> wrote:

>  Hi,
> can u give out more traceback?
> quantum context has a session attribute. It seems this context is not
> quantum context.
>
> On 11/21/2012 07:54 PM, Trinath Somanchi wrote:
>
> Hi-
>
>  With respect to folsom release,
> .
>  What does this sqlalchemy and rpc based error denote.
>
>  File "/usr/lib/python2.7/dist-packages/quantum/db/db_base_plugin_v2.py",
> line 90, in _model_query
>     query = context.session.query(model)
>   File
> "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/common.py",
> line 276, in __getattr__
>     raise AttributeError(key)
>  AttributeError: session
>
>  Please help me understand this error? What might cause this kind of
> exception.
>
>  Thanks in advance
>
>  --
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
> +91 9866 235 130
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130

References