Custom Query (894 matches)
Results (7 - 9 of 894)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#549 | desai | [email protected]… | fixed | utf8 strings in ConfigFile elements causes them to fail |
Description |
I've tried using both Cfg and TGenshi to do this, so I think it's generalizable to ConfigFiles? in general, but drop any of äöüÄÖÜ (utf8 c3a4 c3b6 c3bc c384 c396 c39c c39f, at least) into a config file and it will barf: Unexpected failure in BindStructure: ConfigFile /etc/apache2/sites-include/phpmy faq Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 268, in BindStructure self.Bind(entry, metadata) File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 298, in Bind return glist[0].Entries[entry.tag][entry.get('name')](entry, metadata) File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Plugin.py", line 564, in bind_entry return aspec[0].bind_entry(entry, metadata) File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Plugins/TGenshi.py", line 45, in bind_entry entry.text = stream.render('text') File "etree.pyx", line 845, in etree._Element.text.__set__ File "apihelpers.pxi", line 279, in etree._setNodeText File "apihelpers.pxi", line 497, in etree._utf8 AssertionError: All strings must be Unicode or ASCII |
|||
#921 | desai | https://www.google.com/accounts/o8/id?id=AItOawl5-bwrxN_3riwrFWHgfESsuK8Bn6HsQ2M | fixed | use ipython in bcfg2-info debug mode |
Description |
Here is a patch that tries to load ipython when interactive debug is started. If ipython is not installed, it falls back to the standard shell. Sol wanted bpython. The code for that will be something like: from bpython import cli cli.main(args=[]) He'll need to look up what argument main() needs to include locals(). If bpython also gets added, then there will need to be a way to specify which is preferred. I originally thought it could try ipython and fallback to bpython and then fallback to python, but that wouldn't be fair to Sol. So, I will leave the UI design decision for someone else. |
|||
#946 | desai | Joe Digilio <[email protected]…> | fixed | upstart network-interface services always fail |
Description |
Bcfg2 is unable to check the status of *network-interface services because they need a parameter passed. Right now, the client does this: > /usr/sbin/service network-interface status < status: Unknown parameter: INTERFACE It needs INTERFACE=<iface> passed to it: /usr/sbin/service network-interface status INTERFACE=eth0 network-interface (eth0) start/running Note, this also affects: bridge-network-interface, iscsi-network-interface, and possibly others. |