← Back to team overview

openstack team mailing list archive

Issue with OpenStack installation on Ubuntu 12.04 LTS

 

Hi,
         I am trying to setup Openstack in a single node architecture for
evaluation. I am following the Openstack installation Guide for Ubuntu
12.04 LTS. I am getting the following error when trying to setup tenants,
users and roles manually.

OS: Ubuntu 12.04 LTS
Model: Single node (For trying out OpenStack)

Error-1:
~$ keystone --debug tenant-create --name demo --description "Default Tenant"
REQ: curl -i http://localhost:35357/v2.0/tenants -X POST -H "User-Agent:
python-keystoneclient" -H "Content-Type: application/json" -H
"X-Auth-Token: 012345SECRET99TOKEN012345"
REQ BODY: {"tenant": {"enabled": true, "name": "demo", "description":
"Default Tenant"}}

RESP: [500] {'date': 'Wed, 05 Jun 2013 09:06:35 GMT', 'content-type':
'application/json', 'content-length': '401', 'vary': 'X-Auth-Token'}
RESP BODY: {"error": {"message": "An unexpected error prevented the server
from fulfilling your request. (ProgrammingError) (1146, \"Table
'keystone.project' doesn't exist\") 'INSERT INTO project (id, name,
domain_id, description, enabled, extra) VALUES (%s, %s, %s, %s, %s, %s)'
('9b7781a3a27c4ecaae86e0766999498c', 'demo', 'default', 'Default Tenant',
1, '{}')", "code": 500, "title": "Internal Server Error"}}

Request returned failure status: 500
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(ProgrammingError) (1146, \"Table 'keystone.project' doesn't exist\")
'INSERT INTO project (id, name, domain_id, description, enabled, extra)
VALUES (%s, %s, %s, %s, %s, %s)' ('9b7781a3a27c4ecaae86e0766999498c',
'demo', 'default', 'Default Tenant', 1, '{}')", "code": 500, "title":
"Internal Server Error"}}. (HTTP 500)

Error-2:
~$ keystone user-list
Unable to communicate with identity service: {"error": {"message": "An
unexpected error prevented the server from fulfilling your request.
(ProgrammingError) (1146, \"Table 'keystone.user' doesn't exist\") 'SELECT
user.id AS user_id, user.name AS user_name, user.domain_id AS
user_domain_id, user.password AS user_password, user.enabled AS
user_enabled, user.extra AS user_extra \\nFROM user' ()", "code": 500,
"title": "Internal Server Error"}}. (HTTP 500)

I am stuck here, any help or hint is greatly appreciated.

Thanks
Sreejith