Ticket #409 (closed defect: fixed)

Opened 16 years ago

Last modified 16 years ago

bcfg2-admin compare IOError Traceback

Reported by: Jason Hedden Owned by: desai
Priority: minor Milestone: Bcfg2 0.9.3 Release
Component: bcfg2-server Version:
Keywords: Cc:


When running 'bcfg2-admin compare -r' on an incorrect directory produces the following traceback:

# bcfg2-admin compare -r bcfg2-0.8.7 bcfg2-0.9.2 Entry: Traceback (most recent call last):

File "/usr/sbin/bcfg2-admin", line 487, in ?


File "/usr/sbin/bcfg2-admin", line 223, in do_compare

state = do_compare([oldd + '/' + item, newd + '/' + item])

File "/usr/sbin/bcfg2-admin", line 238, in do_compare

new = lxml.etree.parse(new).getroot()

File "etree.pyx", line 1230, in etree.parse File "etree.pyx", line 157, in etree._parseDocument File "parser.pxi", line 153, in etree.Parser.parseDocFromFile

IOError: Could not open file bcfg2-0.9.2/hostname.domainame.xml


Change History

comment:1 Changed 16 years ago by desai

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

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.