Ask Your Question

CRITICAL error glance. AttributeError: 'NoneType' object has no attribute 'drivername'

asked 2014-07-02 08:29:23 -0500

Daniel Ilie gravatar image

updated 2014-07-07 03:06:27 -0500

Hi guys,

I am trying to configure the Image Service. Well, my knowledges are not very large and I follow this link in order to complete the installation. When I try to create the database tables for the Image Service with su -s /bin/sh -c "glance-manage db_sync" glance I receive the following error: "CRITICAL glance AttributeError: 'NoneType' object has no attribute 'drivername'". I searched an answer and I observed that there are others with this problem too and there is not a solution for this situation so far. I mention that I have the last update for glance project. This is how /var/log/glance/api.log looks like LOG


Later Edit: I didn't know I couldn't share links, my bad

edit retag flag offensive close merge delete


Is there a line like


in /etc/cinder/cinder.conf ?

dachary gravatar imagedachary ( 2014-07-05 05:38:05 -0500 )edit

Hey Daniel, Could you please share your config files and the full api.log file?

flaper87 gravatar imageflaper87 ( 2014-07-07 03:07:56 -0500 )edit

During this installation guide there is no parameters to set, like volume_driver=cinder.volume.drivers. Should I set this prop in my one node instalaltion of OpenStack?

Robert gravatar imageRobert ( 2014-09-17 14:28:42 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-07-08 04:57:04 -0500

Daniel Ilie gravatar image

I found the problem. In configuration files glance-api.conf and glance-registry.conf I wrote connect = instead connection = specifying the location of the database.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2014-07-02 08:29:23 -0500

Seen: 2,332 times

Last updated: Jul 08 '14