bcfg2-server crashed with Fault in critical_error()

Bug #421308 reported by Frode Egeland
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bcfg2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: bcfg2

I got a crash report on startup, so decided to restart the bcfg2-server, would it be because of deprecated module use?:

$ sudo /etc/init.d/bcfg2-server restart
Stopping Configuration Management Server: * bcfg2-server
Starting Configuration Management Server: /usr/lib/python2.6/dist-packages/Bcfg2/Client/Tools/__init__.py:12: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
  import os, popen2, stat, sys, Bcfg2.Client.XML, time
/usr/lib/python2.6/dist-packages/Bcfg2/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/usr/lib/python2.6/dist-packages/Bcfg2/tlslite/mathtls.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
 * bcfg2-server

$ ps -ef |grep bcfg
root 3232 1 0 11:09 ? 00:00:00 /usr/bin/python /usr/sbin/bcfg2-server -D /var/run/bcfg2-server.pid

This is on Karmic alpha4 on AMD64.

bcfg2-server:
  Installed: 0.9.6-0ubuntu2
  Candidate: 0.9.6-0ubuntu2
  Version table:
 *** 0.9.6-0ubuntu2 0
        500 http://ftp.iinet.net.au karmic/universe Packages
        100 /var/lib/dpkg/status

ProblemType: Crash
Architecture: amd64
Date: Sun Aug 30 11:09:54 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/sbin/bcfg2-server
InterpreterPath: /usr/bin/python2.6
Package: bcfg2-server 0.9.6-0ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/bcfg2-server -D /var/run/bcfg2-server.pid
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.28-15.49-generic
PythonArgs: ['/usr/sbin/bcfg2-server', '-D', '/var/run/bcfg2-server.pid']
SourcePackage: bcfg2
Title: bcfg2-server crashed with Fault in critical_error()
Uname: Linux 2.6.28-15-generic x86_64
UserGroups:

Revision history for this message
Frode Egeland (egeland) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Sol Jerome (solj) wrote :

This release was out well before this version of Python was in use. I would recommend upgrading to the 1.0 release candidate by adding the Bcfg2 PPA (https://launchpad.net/~bcfg2/+archive/ppa). This release has been tested on karmic.

Revision history for this message
Sol Jerome (solj) wrote :

The 1.0.0 release is out now. We are tracking current packages on the bcfg2 launchpad page (https://launchpad.net/~bcfg2). I have tried both server and client on karmic and they both work.

Changed in bcfg2 (Ubuntu):
status: New → Fix Released
Revision history for this message
Fabián Rodríguez (magicfab) wrote :

Ubuntu 9.10 will be EOL within a month. The best course of action here would be to either use the PPA, then/or upgrade to Ubuntu 11.04 when it's out as it will have the bcfg2 version that has the fix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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