Bug#621477: Convirt fails to install on debian SID...

2011-07-22 Thread Pancio
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-jquery1.6.2-1  JavaScript library for
dynamic web
ii  libjs-mochikit  

Bug#621477: convirt: fails to install

2011-04-07 Thread Holger Levsen
Package: convirt
Version: 2.0.1-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed your package failed to install. As per 
definition of the release team this makes the package too buggy for a 
release, thus the severity.

From the attached log (scroll to the bottom...):


  The following NEW packages will be installed:
convirt
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 2219 kB of archives.
  After this operation, 11.7 MB of additional disk space will be used.
  Get:1 http://piatti.debian.org/debian/ sid/main convirt amd64 2.0.1-3 [2219 
kB]
  debconf: delaying package configuration, since apt-utils is not installed
  Fetched 2219 kB in 0s (42.5 MB/s)
  Selecting previously deselected package convirt.
  (Reading database ... 14387 files and directories currently installed.)
  Unpacking convirt (from .../convirt_2.0.1-3_amd64.deb) ...
  Setting up convirt (2.0.1-3) ...
  install common functions sourced.
  Generting ssh identity for CMS. /var/lib/convirt/identity/cms_id_rsa
  spawn ssh-keygen -q -t rsa -f /var/lib/convirt/identity/cms_id_rsa
  The system has no more ptys.  Ask your system administrator to create more.
  while executing
  spawn ssh-keygen -q -t rsa -f /var/lib/convirt/identity/cms_id_rsa
  chmod: cannot access `/var/lib/convirt/identity/cms_id_rsa*': No such file 
or directory
  dpkg: error processing convirt (--configure):
   subprocess installed post-installation script returned error exit status 1
  configured to not write apport reports
  Errors were encountered while processing:
   convirt
  E: Sub-process /usr/bin/dpkg returned an error code (1)

Please deal with this gracefully.


cheers,
Holger
Start: 2011-04-06 04:39:55 UTC

Package: convirt
Priority: optional
Section: admin
Installed-Size: 11468
Maintainer: Roland Stigge sti...@antcom.de
Architecture: all
Version: 2.0.1-3
Depends: debconf (= 0.5) | debconf-2.0, python-paramiko, ssh, libxenstore3.0, socat, uml-utilities, dnsmasq, wget, libmysqlclient-dev, expect, python-paste, python-turbogears2, python-mysqldb, python-setuptools, python, python-support (= 0.90.0), dbconfig-common
Recommends: mysql-server, mysql-client
Filename: pool/main/c/convirt/convirt_2.0.1-3_all.deb
Size: 2218796
MD5sum: 1301e04596eb7dd4cabe58b4137e7d5f
SHA1: ebbad6f9ad9fdb1af6fe1b87745c76064a900511
SHA256: 51c7a1b149711dc602326641acf1655993aaaeb2e3dc85ad81e90801b3e3c39e
Description: management system for open source hypervisors and cloud platforms
 Convirt is a management system for open source hypervisors and cloud platforms
 aimed at rapid provisioning, lifecycle automation and private cloud
 management.
 .
 With ConVirt, you configure, monitor and automate your Xen and KVM deployments
 and private clouds from a single at-a-glance dashboard.
Homepage: http://www.convirture.com
Tag: admin::virtualization, role::program

Executing: sudo /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --skip-logrotatefiles-test --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/  convirt
Guessed: debian
0m0.0s INFO: --
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of this logfile.
0m0.0s INFO: FAQ available at http://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: --
0m0.0s INFO: piuparts version 0.40~201104021225 starting up.
0m0.0s INFO: Command line arguments: /org/piuparts.debian.org/sbin/piuparts --warn-symlinks --warn-on-others --skip-logrotatefiles-test --scriptsdir /etc/piuparts/scripts/ --tmpdir /org/piuparts.debian.org/tmp -ad sid -b sid.tar.gz --mirror http://piatti.debian.org/debian/ convirt
0m0.0s INFO: Running on: Linux piatti 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64
0m0.0s DEBUG: Created temporary directory /org/piuparts.debian.org/tmp/tmpaSG9oT
0m0.0s DEBUG: Unpacking sid.tar.gz into /org/piuparts.debian.org/tmp/tmpaSG9oT
0m0.0s DEBUG: Starting command: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpaSG9oT', '-zxf', 'sid.tar.gz']
0m2.1s DEBUG: Command ok: ['tar', '-C', '/org/piuparts.debian.org/tmp/tmpaSG9oT', '-zxf', 'sid.tar.gz']
0m2.1s DEBUG: Created policy-rc.d and chmodded it.
0m2.1s DEBUG: Starting command: ['chroot', '/org/piuparts.debian.org/tmp/tmpaSG9oT', 'apt-get', 'update']
0m10.4s DUMP: 
  Get:1 http://piatti.debian.org sid InRelease [186 kB]
  Ign http://piatti.debian.org sid/main amd64 Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib amd64 Packages/DiffIndex
  Ign http://piatti.debian.org sid/non-free amd64 Packages/DiffIndex
  Ign http://piatti.debian.org sid/contrib TranslationIndex
  Ign http://piatti.debian.org sid/main TranslationIndex
  Ign http://piatti.debian.org sid/non-free TranslationIndex
  Get:2