Error starting ConVirt

Bug #965645 reported by bootlog
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
convirt (Ubuntu)
Invalid
Undecided
Unassigned
Precise
Invalid
Undecided
Unassigned
python-repoze.what-plugins (Debian)
Fix Released
Unknown
python-repoze.what-plugins (Ubuntu)
Fix Released
Medium
Unassigned
Precise
Fix Released
Medium
Unassigned

Bug Description

System: Fresh install of Ubuntu 12.04 "precise"
Package: convirt
Version: 2.0.1-6

Trying to start convirt:

/etc/init.d/convirt start
 * Starting Convirt
PID file is /var/run/convirt/paster.pid
No virtualenv found, will try to use TG2 installed in the system
Log file: /var/log/convirt/paster.log

Using /var/lib/convirt/identity/cms_id_rsa
Agent pid 1249
Identity added: /var/lib/convirt/identity/cms_id_rsa (/var/lib/convirt/identity/cms_id_rsa)
ssh key added to agent.
Starting ConVirt using virtualenv :
Default character encoding is utf-8
Error starting ConVirt. Please consult /var/log/convirt/paster.log for more details.

Revision history for this message
bootlog (bootmaps) wrote :
Revision history for this message
Jd (jd-jedi) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "possible compat fix" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
bootlog (bootmaps) wrote :

   * The fix works indeed, but it just helps to unveil the next issue:

sqlalchemy.exc.OperationalError: (OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: NO)") None None

   * This can be "solved" by giving the root password in development.ini, but the next issue is awaiting:

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' ()

Revision history for this message
Jd (jd-jedi) wrote :

You need to run the setup_convirt again. (It might have failed the first time because of above mentioned error).
Or
you are getting this, when you try on a fresh install as well.

Revision history for this message
Micah Gersten (micahg) wrote :

Since we have a patch for python-repoze.what-plugins, I'm marking this as triaged.

Changed in python-repoze.what-plugins (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Micah Gersten (micahg) wrote :

Reporter, could you please tell us if Comment #6 by Jd helped?

Changed in convirt (Ubuntu):
status: New → Incomplete
tags: added: regression-release
tags: removed: regression-release
Changed in python-repoze.what-plugins (Debian):
status: Unknown → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

is that anything that needs sponsoring there?

Changed in python-repoze.what-plugins (Ubuntu Precise):
importance: Medium → Low
importance: Low → Medium
Revision history for this message
Chris Halse Rogers (raof) wrote :

I've removed the ubuntu-sponsors subscription from this bug; it's not clear what is being requested to be sponsored.

If it's the debdiff that mvo posted, please just add a comment to that effect and re-subscribe sponsors.

Revision history for this message
Logan Rosen (logan) wrote :

The original issue (with the sqlalchemy.exceptions -> sqlalchemy.exc name change) was fixed in 20090531-2ubuntu1, which is available from Precise onward. The second issue (with the SQL query) should be in a separate bug if it's still a problem.

Changed in convirt (Ubuntu):
status: Incomplete → Invalid
Changed in convirt (Ubuntu Precise):
status: Incomplete → Invalid
Changed in python-repoze.what-plugins (Ubuntu):
status: Triaged → Fix Released
Changed in python-repoze.what-plugins (Ubuntu Precise):
status: Triaged → Fix Released
Changed in python-repoze.what-plugins (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.