Ticket #1076 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

bcfg2-info buildall fails when a host contains the string '-f'

Reported by: Owned by: desai
Priority: major Milestone: Bcfg2 1.2.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Cc:



Traceback (most recent call last):

File "/usr/sbin/bcfg2-info", line 468, in <module>


File "/usr/sbin/bcfg2-info", line 437, in Run

self.onecmd(" ".join(args))

File "/usr/lib/python2.6/", line 219, in onecmd

return func(arg)

File "/usr/sbin/bcfg2-info", line 266, in do_buildall

self.do_build("%s %s/%s.xml" % (client, args, client))

File "/usr/sbin/bcfg2-info", line 192, in do_build


ValueError?: list.remove(x): x not in list

This due to the search for the command line option '-f' on the string containing client host names.

Attached patch fixes.


bcfg2-info.patch (592 bytes) - added by 11 years ago.

Change History

Changed 11 years ago by

comment:1 Changed 11 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from Bcfg2 1.3.0 Release to Bcfg2 1.2.0 Release

Applied in dcfc8525df6e7ffda75f55691dd67d2544c24347. Thanks again for the patch!

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


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.