Modify

Ticket #486 (closed defect: fixed)

Opened 16 years ago

Last modified 16 years ago

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

comment:1 Changed 16 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

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.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.