From 28b69b8468cfdcf3a2a389cdf295833b35cef393 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 8 Feb 2012 22:03:19 +0100 Subject: [PATCH] document dependency problem Signed-off-by: Nico Schottelius --- ...012-02-08.explorer-depends-on-another-type | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 doc/dev/logs/2012-02-08.explorer-depends-on-another-type diff --git a/doc/dev/logs/2012-02-08.explorer-depends-on-another-type b/doc/dev/logs/2012-02-08.explorer-depends-on-another-type new file mode 100644 index 00000000..c76626d5 --- /dev/null +++ b/doc/dev/logs/2012-02-08.explorer-depends-on-another-type @@ -0,0 +1,36 @@ +If a type explorer depends on a command that will be generated by another type, +the operation fails, as can be seen below. + +This may be a corner case, but is hapenning with __package_pip and +__python_virtualenv. + +[19:10] brief:cdist% ./bin/cdist config -v loch +INFO: loch: Running global explorers +INFO: loch: Running initial manifest /home/users/nico/privat/firmen/local.ch/vcs/cdist/conf/manifest +INFO: loch: Running object manifests and type explorers +INFO: loch: Running manifest and explorers for __git/root/shinken +INFO: loch: Running manifest and explorers for __package_pip/pyro +/var/lib/cdist/conf/type/__package_pip/explorer/state: line 38: /root/shinken_virtualenv/bin/pip: No such file or directory +INFO: loch: Running manifest and explorers for __python_virtualenv/root/shinken_virtualenv +INFO: loch: Running manifest and explorers for __directory/pyro +INFO: loch: Running manifest and explorers for __directory/root/shinken +INFO: loch: Running manifest and explorers for __directory/root/shinken_virtualenv +INFO: loch: Running manifest and explorers for __package/git +INFO: loch: Running manifest and explorers for __package/python-virtualenv +INFO: loch: Running manifest and explorers for __package_pacman/git +INFO: loch: Running manifest and explorers for __package_pacman/python-virtualenv +INFO: loch: Generating and executing code +INFO: loch: Generating and executing code for __package_pacman/git +INFO: loch: Generating and executing code for __package/git +INFO: loch: Generating and executing code for __directory/root/shinken +INFO: loch: Generating and executing code for __git/root/shinken +fatal: write error: No space left on device +fatal: index-pack failed +ERROR: loch: Code that raised the error: +git clone --quiet "git://github.com/naparuba/shinken.git" "/root/shinken" + +ERROR: Remote script execution failed: ssh -o User=root -q loch /bin/sh -e /var/lib/cdist/object/__git/root/shinken/.cdist/code-remote +WARNING: Failed to deploy to the following hosts: loch +INFO: Total processing time for 1 host(s): 340.62370681762695 +[19:17] brief:cdist% ./bin/cdist config -v loch +