Modify ↓
Ticket #365 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
See #368.