Netboot and backend error on Ubuntu
Verfasst: 07 Jul 2011, 12:33
Hi,
I've installed Opsi 4.0 on Ubuntu 10.04.2, following the steps in the Opsi pdf manual.
Opsi seems to work (i can run the web based configed, i can boot machines using various bootimages), however i get an error, when i want to install Windows XP with Netboot:
Also there is another error i get when i use the command opsi-admin -d method backend_info :
Both errors seems to be related to python configuration, but i can't figure out, what could be the problem.
I've installed Opsi 4.0 on Ubuntu 10.04.2, following the steps in the Opsi pdf manual.
Opsi seems to work (i can run the web based configed, i can boot machines using various bootimages), however i get an error, when i want to install Windows XP with Netboot:
I see the 'charmap' error on the computer where i want to install WinXP. The only option is to press on 'OK' and the install stops after that.[5] [Jul 07 10:16:39] Fetching pcpatch password... (master.py|1206)
[7] [Jul 07 10:16:39] Executing jsonrpc method 'user_getCredentials' on host 10.6.2.11 (JSONRPC.py|104)
[7] [Jul 07 10:16:39] Starting new HTTPS connection (0) to 10.6.2.11:4447 (HTTP.py|493)
[7] [Jul 07 10:16:39] Connection established to: 10.6.2.11 (HTTP.py|496)
[7] [Jul 07 10:16:39] Closing connection: <httplib.HTTPSConnection instance at 0x8c35b6c> (HTTP.py|425)
[7] [Jul 07 10:16:39] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|635)
[7] [Jul 07 10:16:39] Expecting compressed data from server (JSONRPC.py|639)
[6] [Jul 07 10:16:39] Decrypting password... (master.py|1213)
[7] [Jul 07 10:16:39] Executing jsonrpc method 'host_getObjects' on host 10.6.2.11 (JSONRPC.py|104)
[7] [Jul 07 10:16:39] Starting new HTTPS connection (0) to 10.6.2.11:4447 (HTTP.py|493)
[7] [Jul 07 10:16:39] Connection established to: 10.6.2.11 (HTTP.py|496)
[7] [Jul 07 10:16:39] Closing connection: <httplib.HTTPSConnection instance at 0x8c3b3cc> (HTTP.py|425)
[7] [Jul 07 10:16:39] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|635)
[7] [Jul 07 10:16:39] Expecting compressed data from server (JSONRPC.py|639)
[6] [Jul 07 10:16:39] Mounting 'smb://opsi/opsi_depot' to '/mnt/opsi' (Repository.py|1132)
[2] [Jul 07 10:16:40] Traceback: (Logger.py|721)
[2] [Jul 07 10:16:40] line 1284 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|721)
[2] [Jul 07 10:16:40] line 70 in 'getRepository' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Repository.py' (Logger.py|721)
[2] [Jul 07 10:16:40] line 1118 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Repository.py' (Logger.py|721)
[2] [Jul 07 10:16:40] line 1148 in '_mount' in file '/usr/lib/pymodules/python2.6/OPSI/Util/Repository.py' (Logger.py|721)
[2] [Jul 07 10:16:40] ==>>> 'charmap' codec can't encode character u'\u0151' in position 17: character maps to <undefined> (master.py|1429)
[7] [Jul 07 10:16:40] Backend: <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x8a8516c> (master.py|1432)
[7] [Jul 07 10:16:40] ProductId: winxppro (master.py|1433)
Also there is another error i get when i use the command opsi-admin -d method backend_info :
I didn't change anything in the backend config, using the default one.[2] Traceback: (Logger.py|742)
[2] line 1516 in '<module>' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] line 301 in 'main' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] line 669 in 'execute' in file '/usr/bin/opsi-admin' (Logger.py|742)
[2] ==>>> Failed to execute 'method backend_info': 'ascii' codec can't decode byte 0xc3 in position 19: ordinal not in range(128) (opsi-admin|1526)
Both errors seems to be related to python configuration, but i can't figure out, what could be the problem.