Re: [Openstack] Accessing Nova DB from the Compute Host

2012-12-06 Thread Razique Mahroua
Check this Trinathhttps://bugs.launchpad.net/keystone/+bug/860885Regards, Razique Mahroua-Nuage Corazique.mahr...@gmail.comTel: +33 9 72 37 94 15 Le 5 déc. 2012 à 12:08, Razique Mahroua razique.mahr...@gmail.com a écrit :HI Trinath,just add the right credentials into your .bashrc or any file the

[Openstack] Accessing Nova DB from the Compute Host

2012-12-05 Thread Trinath Somanchi
Hi- Is there any way with out using the nova-client from the compute host, to access the nova database? I tried, using the /nova/db/api.py and /nova/db/sqlalchemy/api.py class definitions for accessing the database but failed to get the data. I get this error for the sample def. i have

Re: [Openstack] Accessing Nova DB from the Compute Host

2012-12-05 Thread Razique Mahroua
HI Trinath,just add the right credentials into your .bashrc or any file the system user can source :export SERVICE_TOKEN=admin export OS_TENANT_NAME=adminexport OS_USERNAME=adminexport OS_PASSWORD=openstackexport OS_AUTH_URL=http://$keystone-IP:5000/v2.0/export

Re: [Openstack] Accessing Nova DB from the Compute Host

2012-12-05 Thread Trinath Somanchi
Hi- I have added the correct credentials with respect to my setup. But still the same error exists. Kindly help me resolve the issue. - Trinath On Wed, Dec 5, 2012 at 4:38 PM, Razique Mahroua razique.mahr...@gmail.comwrote: HI Trinath, just add the right credentials into your .bashrc or

Re: [Openstack] Accessing Nova DB from the Compute Host

2012-12-05 Thread Mohammed Naser
Hi there! You need to make sure that you load the settings as if you don't load them, SQLAlchemy will try to read the default path (which it seems like it's doing). You can take a look at this script which interacts with the database