Modify

Ticket #38 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

Client traceback

Reported by: lueningh@… Owned by: desai
Priority: major Milestone:
Component: bcfg2-client Version:
Keywords: Cc:

Description

My 0.8.0 client did this to me today (on sles9, but I suspect it could happen anywhere):

> /sbin/chkconfig --list running-kernel
< running-kernel: unknown service

Failure in VerifyEntry
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Bcfg2/Client/Toolset.py", line 208, in VerifyEntry
    self.states[entry] = method(entry)
  File "/usr/lib/python2.3/site-packages/Bcfg2/Client/Redhat.py", line 48, in VerifyService
    onlevels = [level.split(':')[0] for level in srvdata[1:] if level.split(':')[1] == 'on']
IndexError: list index out of range

Attachments

Change History

comment:1 Changed 13 years ago by desai

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

I added a grep to remove those broken lines. This is fixed in [b6e39a35b883e23992086c8086dbcdc8746484dd] (SVN r1814)

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.