Yes I had executed keystone_manage db_sync. But looks like the script did not create the required tables.
As to why folsom: The documentation i found was related to folsom. Can you point me to a link for havanna, if you have? On Sun, Nov 17, 2013 at 12:38 PM, Antonio Messina < [email protected]> wrote: > Looks like the database has not been correctly populated with the needed > tables. > > Did you run the command "keystone-manage db_sync" ? > > On a side note: is there any specific reason why you are installing > Folsom instead of Havana? > > .a. > > On Sun, Nov 17, 2013 at 6:47 AM, Krishanu Dhar <[email protected]> > wrote: > > Hi, > > > > I was doing a test deployment on openstack following the link > > " > http://docs.openstack.org/folsom/basic-install/content/basic-install_controller.html > " > > and ran into a keystone client issue. > > > > The issue is; while trying to create a tenant it's failing with a > > keystoneclient.exception. How do i go about fixing this? Unless i get > this > > working i cannot proceed. > > > > > > Pasted below is a snippet form the logs with debug option enabled. > > > > test@folsom-controller:~/devstack$ keystone --debug tenant-create > > --name=admin > > connect: (localhost, 35357) > > send: 'POST /v2.0/tenants HTTP/1.1\r\nHost: > > localhost:35357\r\nContent-Length: 67\r\nx-auth-token: > test\r\ncontent-type: > > application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: > > python-keystoneclient\r\n\r\n{"tenant": {"enabled": true, "name": > "admin", > > "description": null}}' > > reply: 'HTTP/1.1 500 Internal Server Error\r\n' > > header: Vary: X-Auth-Token > > header: Content-Type: application/json > > header: Date: Sun, 17 Nov 2013 05:26:47 GMT > > header: Transfer-Encoding: chunked > > No handlers could be found for logger "keystoneclient.client" > > Traceback (most recent call last): > > File "/usr/bin/keystone", line 9, in <module> > > load_entry_point('python-keystoneclient==0.1.3', 'console_scripts', > > 'keystone')() > > File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line > 410, > > in main > > OpenStackIdentityShell().main(sys.argv[1:]) > > File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line > 354, > > in main > > args.func(self.cs, args) > > File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/shell.py", > line > > 126, in do_tenant_create > > enabled=utils.string_to_bool(args.enabled)) > > File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/tenants.py", > > line 83, in create > > return self._create('/tenants', params, "tenant") > > File "/usr/lib/python2.7/dist-packages/keystoneclient/base.py", line > 82, > > in _create > > resp, body = self.api.post(url, body=body) > > File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line > > 180, in post > > return self._cs_request(url, 'POST', **kwargs) > > File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line > > 161, in _cs_request > > **kwargs) > > File "/usr/lib/python2.7/dist-packages/keystoneclient/client.py", line > > 141, in request > > raise exceptions.from_response(resp, body) > > keystoneclient.exceptions.ClientException: An unexpected error prevented > the > > server from fulfilling your request. (ProgrammingError) (1146, "Table > > 'keystone.tenant' doesn't exist") 'INSERT INTO tenant (id, name, extra) > > VALUES (%s, %s, %s)' ('42419636238a429992254b3419ffa6e7', 'admin', > > '{"enabled": true, "description": null}') (HTTP 500) > > > > krish > > > > -- > > Krishanu > > > > _______________________________________________ > > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > Post to : [email protected] > > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > > > > > -- > [email protected] > [email protected] +41 (0)44 635 42 22 > GC3: Grid Computing Competence Center http://www.gc3.uzh.ch/ > University of Zurich > Winterthurerstrasse 190 > CH-8057 Zurich Switzerland > -- Krishanu
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
