Ask Your Question
0

error in Populate the Image Service database [closed]

asked 2015-05-31 23:48:40 -0500

Ams70 gravatar image

updated 2015-06-01 04:01:29 -0500

SGPJ gravatar image

Hi in want to install openstack by guide for ubuntu 14.04. in the step of install and configure of glance service when i run:

su -s /bin/sh -c "glance-manage db_sync" glance

the output has be shown like:

2015-06-01 08:05:20.690 3779 CRITICAL glance [-] OperationalError: (OperationalError) (1049, "Unknown database 'glance'") None None
.

. .

2015-06-01 08:05:20.690 3779 TRACE glance     super(Connection, self).__init__(*args, **kwargs2)
2015-06-01 08:05:20.690 3779 TRACE glance OperationalError: (OperationalError) (1049, "Unknown database 'glance'") None None
2015-06-01 08:05:20.690 3779 TRACE glance

please help me how can i solve this problem.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Ams70
close date 2015-06-09 06:23:47.000882

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-01 07:44:27 -0500

pawankkamboj gravatar image

Create glance database first and also create user and give grant to access glance db. thn run db_sync command

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-31 23:48:40 -0500

Seen: 321 times

Last updated: Jun 01 '15