glance database creation error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
run "glance-manage db_sync", got msg:
2014-04-15 16:06:18.356 6816 CRITICAL glance [-] AttributeError: 'NoneType' object has no attribute 'drivername'
log file /var/log/
2014-04-15 15:49:47.775 6474 ERROR glance.
Command: None
Exit code: -
Stdout: "Unexpected error while running command.\nCommand: collie\nExit code: 127\nStdout: ''\nStderr: '/bin/sh: 1: collie: not found\\n'"
Stderr: None
2014-04-15 15:49:47.777 6474 WARNING glance.store.base [-] Failed to configure store correctly: Store sheepdog could not be configured correctly. Reason: Error in store configuration: Unexpected error while running command.
Command: None
Exit code: -
Stdout: "Unexpected error while running command.\nCommand: collie\nExit code: 127\nStdout: ''\nStderr: '/bin/sh: 1: collie: not found\\n'"
Stderr: None Disabling add method.
2014-04-15 15:49:47.778 6474 WARNING glance.store [-] Deprecated: glance.
2014-04-15 15:49:47.790 6474 WARNING glance.store [-] Deprecated: glance.
2014-04-15 15:49:47.793 6474 WARNING glance.store.base [-] Failed to configure store correctly: Store gridfs could not be configured correctly. Reason: Missing dependencies: pymongo Disabling add method.
2014-04-15 15:49:47.793 6474 WARNING glance.store [-] Deprecated: glance.
2014-04-15 15:49:47.871 6474 WARNING glance.store.base [-] Failed to configure store correctly: Store cinder could not be configured correctly. Reason: Cinder storage requires a context. Disabling add method.
2014-04-15 15:49:47.872 6474 WARNING glance.store [-] Deprecated: glance.
2014-04-15 15:49:47.878 6474 ERROR glance.
2014-04-15 15:49:47.878 6474 TRACE glance.
2014-04-15 15:49:47.878 6474 TRACE glance.
2014-04-15 15:49:47.880 6474 WARNING glance.store.base [-] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Permission to write in /var/lib/
2014-04-15 15:49:47.886 6474 WARNING glance.store [-] Deprecated: glance.
2014-04-15 15:49:47.967 6474 WARNING glance.store [-] Deprecated: glance.
2014-04-15 15:49:47.970 6474 WARNING glance.store [-] Deprecated: glance.
2014-04-15 15:49:47.977 6474 ERROR glance.
2014-04-15 15:49:47.977 6474 TRACE glance.
2014-04-15 15:49:47.977 6474 TRACE glance.
2014-04-15 15:49:47.983 6474 WARNING glance.store.base [5b7d5afd-
2014-04-15 15:49:48.039 6474 WARNING glance.
2014-04-15 16:03:37.549 6768 CRITICAL glance [-] AttributeError: 'NoneType' object has no attribute 'drivername'
2014-04-15 16:06:18.356 6816 CRITICAL glance [-] AttributeError: 'NoneType' object has no attribute 'drivername'
-------
Built: 2014-04-15T07:04:25 00:00
git SHA: 7da1268a285f603
URL: http://
source File: file:/home/
xml:id: glance-install
Hi,
What are the permissions on /var/lib/ glance/ images ?
ls -l /var/lib/ glance/ images
ls -l /var/lib/glance