Custom Query (894 matches)
Results (73 - 75 of 894)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#1007 | solj | rcuza | fixed | bcfg2-repo-validate cannot find schema directory on Mac OS X (10.6) |
Description |
In version 1.2.0.pre1, on Mac OS X (10.6), bcfg2-repo-validate errors out with the following: File "/usr/local/bin/bcfg2-repo-validate", line 27, in <module> os.chdir(schemadir) OSError: [Errno 2] No such file or directory: '/usr/share/bcfg2/schemas' Changing schemadir = "%s/share/bcfg2/schemas" % (prefix) to schemadir = "%s/share/bcfg2/schemas" % ("/Library/Frameworks/Python.framework/Versions/Current") is a workaround, but is not the correct solution. |
|||
#1008 | solj | rcuza | fixed | Logging Traceback When bcfg2-server, bcfg2-lint, and bcfg2-admin are Run |
Description |
Trying to reproduce problems people new to Bcfg2 may encounter. After doing a fresh install of v1.2.0pre2 from the PKG made in the osx directory, I get the following traceback when trying to run bcfg2-server as a regular user or root. With /etc/bcfg2.conf owned by root but readable by everyone: Failed to load Base repository Failed to instantiate plugin Base Failed to load Bundle repository Failed to instantiate plugin Bundler Failed to open directory /var/lib/bcfg2/Cfg/ Unable to add file monitor for groups.xml or clients.xml Failed to instantiate plugin Metadata Failed to load /var/lib/bcfg2/Pkgmgr indices Failed to instantiate plugin Pkgmgr Failed to load /var/lib/bcfg2/Rules indices Failed to instantiate plugin Rules Unexpected instantiation failure for plugin SSHbase Traceback (most recent call last): File "/Library/Python/2.6/site-packages/Bcfg2/Server/Core.py", line 165, in init_plugins self.plugins[plugin] = plug(self, self.datastore) File "/Library/Python/2.6/site-packages/Bcfg2/Server/Plugins/SSHbase.py", line 56, in __init__ ioerr = sys.exc_info()[1] NameError: global name 'sys' is not defined No Metadata Plugin loaded; failed to instantiate Core No Metadata Plugin Traceback (most recent call last): File "/usr/local/bin/bcfg2-server", line 74, in <module> logger.error(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 1047, in error self._log(ERROR, msg, args, **kwargs) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 1129, in _log self.handle(record) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 1139, in handle self.callHandlers(record) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 1176, in callHandlers hdlr.handle(record) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 662, in handle self.emit(record) File "/Library/Python/2.6/site-packages/Bcfg2/Logger.py", line 121, in emit if len(record.msg) > 250: TypeError: object of type 'CoreInitError' has no len() SunCityComputer:~ raulc$ ls /var/lib/bcfg2/Cfg/ ls: /var/lib/bcfg2/Cfg/: No such file or directory When bcfg2.conf doesn't exist, I get the following error: Could not read /etc/bcfg2.conf Expected results: No traceback errors on command line and helpful error message. The existing /etc/bcfg2.conf is as follows: [communication] protocol = xmlrpc/ssl password = babydesaisaysNI # certificate = /etc/bcfg2.key # key = /etc/bcfg2.key [components] bcfg2 = https://localhost:6789 SunCityComputer:~ raulc$ cat /etc/bcfg2-test.conf [communication] protocol = xmlrpc/ssl password = foobat # certificate = /etc/bcfg2.key # key = /etc/bcfg2.key [components] bcfg2 = https://localhost:6789 Also, there is no Bcfg2 repository: $ ls -d /var/lib/bcfg2 ls: /var/lib/bcfg2: No such file or directory Tested on Mac OS X 10.6.7 (python 2.6.1). |
|||
#1013 | solj | https://www.google.com/accounts/o8/id?id=AItOawlP6DRBvIJ7NLpLWILbgzURvGbMtGEyd8U | fixed | Bcfg2 server can't be bound to a specific network interface |
Description |
The bcfg2.conf(5) man page says: COMPONENT OPTIONS Specified in the [components] section. bcfg2 URL of the server. On the server this specifies which interface and port the server listens on. [...] However, the server always listens on all available network interfaces, regardless of this setting. |