The first error is probably triggered because the Mysql user you created for 
Cinder doesn't have write permissions on the cinder db.

The second error is because you passed the "logs" argument (string) to the 
"cinder-manage db sync" command which can only accept an integer (for example 
3, if version would be 3).

George



-----Original Message-----
From: Frans Thamura [mailto:fr...@meruvian.org] 
Sent: Friday, July 11, 2014 12:36 PM
To: openstack@lists.openstack.org
Subject: [Openstack] Cinder.conf setting

hi all

in cinder configuration from installlation guide there is a database setting

and when I try cinder-manage db sync got this error

cinder-manage db sync
2014-07-11 23:32:29.907 10032 CRITICAL cinder [-] OperationalError:
(OperationalError) attempt to write a readonly database u'\nCREATE
TABLE migrate_version (\n\trepository_id VARCHAR(250) NOT NULL,
\n\trepository_path TEXT, \n\tversion INTEGER, \n\tPRIMARY KEY
(repository_id)\n)\n\n' ()

meruvian@mervbare:~$ cinder-manage db sync logs
2014-07-11 23:33:40.205 10069 CRITICAL cinder [-] Error: version
should be an integer

anyone know, is this bugs?

F

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to