Modify ↓
Ticket #486 (closed defect: fixed)
Traceback in DebInit.BundleNotUpdated() during bcfg2 -kdvP in bcfg2 0.9.5pre5
Reported by: | [email protected]… | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 0.9.5 Release |
Component: | bcfg2-client | Version: | |
Keywords: | Cc: | [email protected]… |
Description
I just installed the latest pre and noticed this traceback in a manual run- I've included a bit of the surrounding messages..
Setting state to true for pkg mysql-common Reading package lists... Done Building dependency tree... Done Restarting service mysql > /usr/sbin/invoke-rc.d mysql restart < Stopping MySQL database server: mysqld. < Starting MySQL database server: mysqld. < Checking for corrupt, not cleanly closed and upgrade needing tables.. Stopping service mysql-ndb DebInit.BundleNotUpdated() call failed: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Frame.py", line 249, in Install tool.BundleUpdated(bundle) File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/DebInit.py", line 81, in BundleUpdated rc = self.cmd.run('%s stop' % \ TypeError: not all arguments converted during string formatting Rechecking system inventory > /usr/bin/debsums -as monit < debsums: checksum mismatch monit file /etc/monit/monitrc
The mysql bundle is not complete- right now it just validates the presence of packages, but I'm guessing that a traceback is not something that should be seen even in this case. Below is the bundle:
<Bundle name="mysql" version="2.0" revision="$Revision: 637 $"> <Group name="debian"> <Package name="libmysqlclient15off" /> <Package name="mysql-client-5.0" /> <Package name="mysql-common" /> <Package name="mysql-server-5.0" /> <Service name="mysql" /> <Service name="mysql-ndb" /> <Service name="mysql-ndb-mgm" /> <!-- <ConfigFile name="/etc/mysql/my.cnf" /> --> <!-- <ConfigFile name='/etc/cron.daily/mysqlbackup' /> --> </Group> </Bundle>
.. and the relevant rules literals for these services
... <Service name='mysql' status='on' type='debinit'/> <Service name='mysql-ndb' status='off' type='debinit'/> <Service name='mysql-ndb-mgm' status='off' type='debinit'/> ...
If there's anything else I should include, let me know.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
I think this is now fixed in [3a8c04fa34325f6df7669aca0ba621976ce8b862] (SVN r3806). BTW, i think that you want to set the service type to deb, as opposed to debinit.