[Openstack] Quantum Database and RPC error

2012-11-21 Thread Trinath Somanchi
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Quantum Database and RPC error

2012-11-21 Thread gong yong sheng

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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Quantum Database and RPC error

2012-11-21 Thread Trinath Somanchi
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 gong...@linux.vnet.ibm.com
 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@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp





-- 
Regards,
--
Trinath Somanchi,
+91 9866 235 130
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp