Scalarizr Error when creating Role from Non-Scalr server

56 views
Skip to first unread message

Valerie Hendrix

unread,
Mar 22, 2012, 2:52:50 PM3/22/12
to scalr-discuss
Hello Scalr-Discuss Folks,

I get the following error on a Centos 5.7 image when I try to create a
role from an imported server. I have done this before successfully
but now it is not working. Could this be an issue with the current
version of the scalarizr (scalarizr-ec2.noarch 0:0.7.196-1.el5)?


Starting import process...
Don't terminate Scalarizr until Scalr will create the new role
2012-03-22 14:49:32,103 - INFO - scalarizr.config - State: importing
2012-03-22 14:49:32,568 - ERROR - scalarizr - no such table: state
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/scalarizr/__init__.py", line
695, in main
STATE['global.start_after_update'] =
int(bool(STATE['global.version'] and STATE['global.version'] !=
__version__))
File "/usr/lib/python2.6/site-packages/scalarizr/config.py", line
934, in __getitem__
cur.execute("SELECT value FROM state WHERE name = ?", [name])
OperationalError: no such table: state
Exception in thread Thread-1 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in
__bootstrap_inner
File "/usr/lib64/python2.6/threading.py", line 484, in run
File "/usr/lib/python2.6/site-packages/scalarizr/util/log.py", line
186, in _sender
File "/usr/lib64/python2.6/threading.py", line 395, in wait
File "/usr/lib64/python2.6/threading.py", line 254, in wait
<type 'exceptions.TypeError'>: 'NoneType' object is not callable

Marat

unread,
Mar 23, 2012, 5:55:02 AM3/23/12
to scalr-...@googlegroups.com
Please delete file `/etc/scalr/private.d/db.sqlite` and restart Scalarizr
Reply all
Reply to author
Forward
0 new messages