forked from ungleich-public/cdist
irrrrrrgs, ugly output
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
cba202186e
commit
c64ab97f2a
1 changed files with 43 additions and 0 deletions
43
doc/dev/logs/2011-10-15.ugly-output-on-breaking-explorer
Normal file
43
doc/dev/logs/2011-10-15.ugly-output-on-breaking-explorer
Normal file
|
@ -0,0 +1,43 @@
|
|||
[0:15] brief:cdist% ./bin/cdist config -c ~/p/cdist-nutzung -v ikq04.ethz.ch
|
||||
INFO: ikq04.ethz.ch: Running global explorers
|
||||
INFO: Running initial manifest /home/users/nico/p/cdist-nutzung/conf/manifest
|
||||
INFO: ikq04.ethz.ch: Running object manifests and type explorers
|
||||
/var/lib/cdist/conf/type/__file/explorer/.exists.swp: 1: Syntax error: ")" unexpected
|
||||
Traceback (most recent call last):
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/exec/remote.py", line 147, in run_script
|
||||
return subprocess.check_output(command).decode()
|
||||
File "/usr/lib/python3.2/subprocess.py", line 518, in check_output
|
||||
raise CalledProcessError(retcode, cmd, output=output)
|
||||
subprocess.CalledProcessError: Command '['ssh', '-o', 'User=root', '-q', 'ikq04.ethz.ch', '__explorer=/var/lib/cdist/conf/explorer', '__object_fq=__file/etc/cdist-configured/.cdist', '__target_host=ikq04.ethz.ch', '__object_id=etc/cdist-configured', '__type_explorer=/var/lib/cdist/conf/type/__file/explorer', '__object=/var/lib/cdist/object/__file/etc/cdist-configured/.cdist', '/bin/sh', '-e', '/var/lib/cdist/conf/type/__file/explorer/.exists.swp']' returned non-zero exit status 2
|
||||
|
||||
During handling of the above exception, another exception occurred:
|
||||
|
||||
Traceback (most recent call last):
|
||||
File "./bin/cdist", line 161, in <module>
|
||||
commandline()
|
||||
File "./bin/cdist", line 103, in commandline
|
||||
args.func(args)
|
||||
File "./bin/cdist", line 106, in config
|
||||
configinstall(args, mode=cdist.config.Config)
|
||||
File "./bin/cdist", line 133, in configinstall
|
||||
c.deploy_and_cleanup()
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/config_install.py", line 71, in deploy_and_cleanup
|
||||
self.deploy_to()
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/config_install.py", line 65, in deploy_to
|
||||
self.stage_prepare()
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/config_install.py", line 94, in stage_prepare
|
||||
self.object_prepare(cdist_object)
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/config_install.py", line 122, in object_prepare
|
||||
self.run_type_explorers(cdist_object)
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/config_install.py", line 115, in run_type_explorers
|
||||
output = self.explorer.run_type_explorer(explorer, cdist_object)
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/core/explorer.py", line 135, in run_type_explorer
|
||||
return self.remote.run_script(script, env=env, return_output=True)
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/exec/remote.py", line 151, in run_script
|
||||
script_content = self.run(["cat", script], return_output=True)
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/exec/remote.py", line 97, in run
|
||||
return self.run_command(cmd, env=env, return_output=return_output)
|
||||
File "/home/users/nico/oeffentlich/rechner/projekte/cdist/lib/cdist/exec/remote.py", line 117, in run_command
|
||||
return subprocess.check_output(command).decode()
|
||||
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb6 in position 17: invalid start byte
|
||||
|
Loading…
Reference in a new issue