Modify

Ticket #365 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

Client says "AssertionError: All strings must be Unicode or ASCII"

Reported by: naapuri Owned by: desai
Priority: minor Milestone: Bcfg2 0.9.0 Release
Component: bcfg2-client Version:
Keywords: Cc:

Description

Despite this error, things seem to work. (Version: svn2701.)

# bcfg2 -q -d -v -n -r all
{'profile': False, 'kevlar': False, 'interactive': False, 'dryrun': True, 'verbose': True, 'paranoid': False, 'drivers': False, 'cache': False, 'remove': 'all', 'server': 'https://x.x.x.x:6789', 'quick': True, 'bundle': False, 'file': False, 'debug': True, 'build': False, 'password': 'xxxx', 'setup': '/etc/bcfg2.conf', 'help': False}
GetProbes completed successfully
GetConfig completed successfully
Reading package lists... Done
Building dependency tree... Done
Reading package lists... Done
Building dependency tree... Done
Loaded tool drivers:
 APT          DebInit      POSIX        PostInstall
Unexpected failure of verification method for entry type ConfigFile
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/__init__.py", line 101, in Inventory
    self.states[entry] = func(entry, self.buildModlist(entry, struct))
  File "/usr/lib/python2.4/site-packages/Bcfg2/Client/Tools/POSIX.py", line 209, in VerifyConfigFile
    entry.set('qtext', udiff + "\nInstall ConfigFile %s: (y/N) " % \
  File "etree.pyx", line 720, in etree._Element.set
  File "apihelpers.pxi", line 160, in etree._setAttributeValue
  File "apihelpers.pxi", line 497, in etree._utf8
AssertionError: All strings must be Unicode or ASCII
ConfigFile /etc/hosts permissions wrong: are 0640 should be 0644

Phase: initial
Correct entries:        524
Incorrect entries:      6
Total managed entries:  530
Unmanaged entries:      3

In dryrun mode: suppressing entry installation for:
...

Attachments

Change History

comment:1 Changed 15 years ago by naapuri

See #368.

comment:2 Changed 15 years ago by desai

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

comment:3 Changed 15 years ago by desai

  • Milestone set to Bcfg2 0.9.0 Release

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.