CRITICAL nova [-] 'module' object has no attribute 'cleanup'

asked 2014-07-17 11:07:09 -0500

bgloba gravatar image

updated 2014-07-17 15:27:24 -0500

I'm trying to install Icehouse, 2 nodes architecture on CentOS 6.5. I'm installing compute service nova using packages (following this manual: http://docs.openstack.org/icehouse/install-guide/install/yum/content/nova-controller.html (http://docs.openstack.org/icehouse/in...) ) and after this line:

su -s /bin/sh -c "nova-manage db sync" nova

I got this error:

CRITICAL nova [-] 'module' object has no attribute 'cleanup'

I tried again, word-by-word from manual an I got this:

10261 CRITICAL nova [-] (OperationalError) (1071, 'Specified key was too long; max key length is 767 bytes') '\nCREATE TABLE dns_domains (\n\tcreated_at DATETIME, \n\tupdated_at DATETIME, \n\tdeleted_at DATETIME, \n\tdeleted BOOL, \n\tdomain VARCHAR(512) NOT NULL, \n\tscope VARCHAR(255), \n\tavailability_zone VARCHAR(255), \n\tproject_id VARCHAR(255), \n\tPRIMARY KEY (domain), \n\tCHECK (deleted IN (0, 1)), \n\tFOREIGN KEY(project_id) REFERENCES projects (id)\n)ENGINE=InnoDB\n\n' ()

I have no idea how to fix this problem. Can you help me? Thanks

edit retag flag offensive close merge delete

Comments

Edit the question and add how you're installing nova: packages or packstack or devstack or what? this may be a bug somewhere

smaffulli gravatar imagesmaffulli ( 2014-07-17 15:22:35 -0500 )edit