Version: 2.0.1-6
Followup-For: Bug #621477

I have installed a fresh debian sid (on a VM vmware player) install to
test convirt 2.0.1-6 and after apt-get install convirt all ok.

When i start the daemon i have error on the log file paster.log:

------>
/usr/lib/pymodules/python2.6/tw/core/view.py:223: DeprecationWarning:
object.__new__() takes no parameters
  obj = object.__new__(cls, *args, **kw)
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/python2.6/dist-packages/paste/script/command.py", line
84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.6/dist-packages/paste/script/command.py", line
123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.6/dist-packages/paste/script/command.py", line
218, in run
    result = self.command()
  File "/usr/lib/python2.6/dist-packages/paste/script/serve.py", line
276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/python2.6/dist-packages/paste/script/serve.py", line
313, in loadapp
    **kw)
  File "/usr/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line
247, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line
272, in loadobj
    return context.create()
  File "/usr/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line
710, in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.6/dist-packages/paste/deploy/loadwsgi.py", line
146, in invoke
    return fix_call(context.object, context.global_conf,
**context.local_conf)
  File "/usr/lib/python2.6/dist-packages/paste/deploy/util.py", line 56,
in fix_call
    val = callable(*args, **kw)
  File
"/usr/share/convirt/src/convirt/web/convirt/convirt/config/middleware.py",
line 46, in make_app
    setup_deployment()
  File
"/usr/share/convirt/src/convirt/web/convirt/convirt/core/utils/utils.py", line
2029, in setup_deployment
    deps=DBSession.query(Deployment).all()
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/orm/query.py", line
1611, in all
    return list(self)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/orm/query.py", line
1721, in __iter__
    return self._execute_and_instances(context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/orm/query.py", line
1726, in _execute_and_instances
    mapper=self._mapper_zero_or_none())
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/orm/session.py",
line 724, in execute
    clause, params or {})
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1191, in execute
    params)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1271, in _execute_clauseelement
    return self.__execute_context(context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1302, in __execute_context
    context.parameters[0], context=context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1401, in _cursor_execute
    context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/base.py",
line 1394, in _cursor_execute
    context)
  File "/usr/lib/python2.6/dist-packages/sqlalchemy/engine/default.py",
line 299, in do_execute
    cursor.execute(statement, parameters)
  File "/usr/lib/pymodules/python2.6/MySQLdb/cursors.py", line 166, in
execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 35,
in defaulterrorhandler
    raise errorclass, errorvalue
sqlalchemy.exc.ProgrammingError: (ProgrammingError) (1146, "Table
'convirt.deployment' doesn't exist") 'SELECT deployment.deployment_id AS
deployment_deployment_id, deployment.version AS deployment_version,
deployment.max_sp AS deployment_max_sp, deployment.max_server AS
deployment_max_server, deployment.max_vm AS deployment_max_vm,
deployment.max_tg AS deployment_max_tg, deployment.max_template AS
deployment_max_template, deployment.update_checked_date AS
deployment_update_checked_date \nFROM deployment' ()
Removing PID file /var/run/convirt/paster.pid
<------------




The mysql db "convirt" don't contain any table.

During installation i have followed instructions using dbconfig.

Best regards and thank you for your work.
Mirko






-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages convirt depends on:
ii  dbconfig-common             1.8.47       common framework for
packaging dat
ii  debconf [debconf-2.0]       1.5.40       Debian configuration
management sy
ii  dnsmasq                     2.57-1       A small caching DNS proxy
and DHCP
ii  expect                      5.44.1.15-4  A program that can automate
intera
ii  libjs-jquery                1.6.2-1      JavaScript library for
dynamic web
ii  libjs-mochikit              1.4.2-3      JavaScript library inspired
by Pyt
ii  libmysqlclient-dev          5.1.58-1     MySQL database development
files
ii  libxenstore3.0              4.1.1-1      Xenstore communications
library fo
ii  python                      2.6.7-1      interactive high-level
object-orie
ii  python-babel                0.9.6-1      tools for
internationalizing Pytho
ii  python-beaker               1.5.4-4      cache and session library
ii  python-mysqldb              1.2.2-10+b3  A Python interface to MySQL
ii  python-paramiko             1.7.7.1-1    Make ssh v2 connections
with Pytho
ii  python-paste                1.7.5.1-2    tools for using a Web
Server Gatew
ii  python-setuptools           0.6.16-1     Python Distutils
Enhancements (set
ii  python-support              1.0.14       automated rebuilding
support for P
ii  python-turbogears2          2.0.3-2      Python web application
framework
ii  python-zope.sqlalchemy      0.4-7        Minimal Zope/SQLAlchemy
transactio
ii  socat                       1.7.1.3-1.1  multipurpose relay for
bidirection
ii  ssh                         1:5.8p1-4    secure shell client and
server (me
ii  uml-utilities               20070815-1.1 User-mode Linux (utility
programs)
ii  wget                        1.12-3.1     retrieves files from the web

Versions of packages convirt recommends:
ii  mysql-client-5.1 [mysql-clien 5.1.58-1   MySQL database client binaries
ii  mysql-server                  5.1.58-1   MySQL database server
(metapackage
ii  mysql-server-5.1 [mysql-serve 5.1.58-1   MySQL database server
binaries and

convirt suggests no packages.

-- Configuration Files:
/etc/convirt/development.ini changed:
[DEFAULT]
debug = false
email_to = monitor...@dom.it
smtp_server = localhost
error_email_from = conv...@dom.it
email_from = conv...@dom.it
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 8081
[app:main]
use = egg:convirt
full_stack = true
lang = it
cache_dir=/var/run/convirt/data
server_protocol=http
beaker.session.key = convirt
beaker.session.secret = somesecret
node_ports_cache_clear_time = 30
image_store=/var/lib/convirt/image_store
storage_script=%(here)s/../../../../storage/scripts
nw_script=%(here)s/../../../../nw/scripts
common_script=%(here)s/../../../../common/scripts
check_updates_on_startup = True
paramiko_log_file = paramiko.log
gnome_vfs_enabled = False
html_browser = /usr/bin/yelp
log_file = convirt.log
enable_log = True
enable_paramiko_log = False
http_proxy =
default_ssh_port = 22
default_computed_options = ['arch', 'arch_libdir', 'device_model']
use_3_0_api = True
appliance_store=/var/lib/convirt/appliance_store
snapshots_dir=/var/lib/convirt/snapshots
updates_file=/var/lib/convirt/updates/updates.xml
user_config=/var/lib/convirt/user_config
exec_path = $PATH:/usr/sbin/
convirt_cache_dir=/var/run/convirt/data
log_dir = /var/log/convirt
snapshot_file_ext = .snapshot.xm
vm_disk_types=['file','tap:aio','tap:qcow','tap:vmdk']
ADVANCED_PRIVILEGES=False
GRANULAR_USER_MODEL=False
NODE_LIST_LIMIT=50
CUSTOM_SEARCH_LIMIT=200
RECOVER_TIME = 1440
vnc_host=localhost
vnc_port=6900:6999
vnc_user=root
vnc_password=
vnc_applet_param_height=0
vnc_applet_param_width=0
vnc_applet_param_new_window=Yes
vnc_applet_param_show_controls=Yes
vnc_applet_param_encoding=Hextile
vnc_applet_param_restricted_colors=No
vnc_applet_param_offer_relogin=No
ssh_file=/var/lib/convirt/identity/cms_id_rsa
start_time=30
shutdown_time=30
pause_time=10
unpause_time=10
reboot_time=60
kill_time=10
migrate_time=120
TASKPANEREFRESH=5
PAGEREFRESHINTERVAL=5
UPDATE_DISK_SIZE_INTERVAL=60
MAX_CACHE_SIZE=200
CACHE_TIME=5
use_bash_timeout=True
bash_default_timeout = 60
template_timeout=300
template_timeout=300
max_ping_servers=2
max_ping_workers=2
completion_time=2
services.execution.num_threads = 30
services.core.max_wait = 2
services.task.max_sleep = 20
vnc=vncviewer $IP:$PORT
tight_vnc=vncviewer $IP:$PORT
sqlalchemy.url=mysql://root:MyPwd@localhost:3306/convirt?charset=utf8
sqlalchemy.echo = false
sqlalchemy.echo_pool = false
sqlalchemy.pool_recycle = 3600
sqlalchemy.pool_size = 10
sqlalchemy.max_overflow = 30
templating.mako.reloadfromdisk = true
purge_hr_data = 60
purge_day_data = 365
purge_week_data = 365
purge_month_data = 365
purge_raw_data = 365
task_results_purge_interval=180
TaskPaneLimit=7
task_panel_row_limit=200
notifications_row_limit=200
VM_CONF_DIR=/var/lib/convirt/vm_configs
hash_dir=/var/lib/convirt/hash_dir
set debug = false
[loggers]
keys = root, convirt, sqlalchemy, auth, tgi18n
[handlers]
keys = console, rotating, paster
[formatters]
keys = generic, convirt
[logger_root]
level = WARN
handlers = paster
formatter = generic
[logger_tgi18n]
level = WARN
handlers = rotating
qualname = tg.i18n
[logger_convirt]
level = DEBUG
handlers = rotating
qualname = convirt
[logger_sqlalchemy]
level = WARN
handlers = rotating
qualname = sqlalchemy.engine
[logger_auth]
level = WARN
handlers = rotating
qualname = auth
[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = NOTSET
formatter = generic
[handler_rotating]
class = handlers.RotatingFileHandler
args = ('/var/log/convirt/convirt.log','a', 1000000, 5)
formatter = convirt
[handler_paster]
class = handlers.RotatingFileHandler
args = ('/var/log/convirt/paster.log', 'a', 1000000, 5)
level = NOTSET
formatter = generic
[formatter_generic]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s]
[%(filename)s]:%(lineno)d %(message)s
datefmt = %Y-%m-%d %H:%M:%S
[formatter_convirt]
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s]
[%(filename)s]:%(lineno)d %(message)s
datefmt = %Y-%m-%d %H:%M:%S

/etc/default/convirt changed:
START_DAEMON="YES"


-- debconf information:
  convirt/password-confirm: (password omitted)
  convirt/mysql/app-pass: (password omitted)
  convirt/mysql/admin-pass: (password omitted)
  convirt/app-password-confirm: (password omitted)
  convirt/dbconfig-remove:
  convirt/upgrade-backup: true
  convirt/internal/reconfiguring: false
  convirt/mysql/method: unix socket
  convirt/passwords-do-not-match:
  convirt/purge: false
  convirt/dbconfig-upgrade: true
  convirt/database-type: mysql
  convirt/internal/skip-preseed: false
  convirt/upgrade-error: abort
  convirt/missing-db-package-error: abort
  convirt/dbconfig-reinstall: false
  convirt/remote/port:
  convirt/db/dbname: convirt
  convirt/mysql/admin-user: root
  convirt/remote/host:
  convirt/db/app-user: convirt
  convirt/remove-error: abort
* convirt/dbconfig-install: true
  convirt/remote/newhost:
  convirt/install-error: abort
                                                                    




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to