Installing a new consul-client via cdist result in an error #176

Closed
opened 2021-11-20 15:20:48 +00:00 by ungleich-gitea · 1 comment

Created by: thekleine

@asteven I found a bug in stage file type. May this is of interest for you.

control% cdist config -vp -i manifest/consul staticweb.ungleich.ch
INFO: cdist: version 3.1.12-15-g330cb95
INFO: staticweb.ungleich.ch: Running global explorers
INFO: staticweb.ungleich.ch: Running initial manifest manifest/consul
INFO: staticweb.ungleich.ch: Running manifest and explorers for __ungleich_consul2/
INFO: staticweb.ungleich.ch: Running manifest and explorers for __consul_agent/
INFO: staticweb.ungleich.ch: Running manifest and explorers for __consul/
INFO: staticweb.ungleich.ch: Running manifest and explorers for __staged_file/usr/local/bin/consul
INFO: staticweb.ungleich.ch: Generating code for __staged_file/usr/local/bin/consul
INFO: staticweb.ungleich.ch: Executing code for __staged_file/usr/local/bin/consul
/tmp/tmpgsn9oebp/object/__staged_file/usr/local/bin/consul/.cdist/code-local: 4: [: 4294967295 0: unexpected operator
/tmp/tmpgsn9oebp/object/__staged_file/usr/local/bin/consul/.cdist/code-local: 14: /tmp/tmpgsn9oebp/object/__staged_file/usr/local/bin/consul/.cdist/code-local: unzip: not found
ERROR: staticweb.ungleich.ch: Command failed: /bin/sh -e /tmp/tmpgsn9oebp/object/__staged_file/usr/local/bin/consul/.cdist/code-local
INFO: cdist: Total processing time for 1 host(s): 7.104748010635376
ERROR: cdist: Failed to configure the following hosts: staticweb.ungleich.ch

*Created by: thekleine* @asteven I found a bug in stage file type. May this is of interest for you. control% cdist config -vp -i manifest/consul staticweb.ungleich.ch INFO: cdist: version 3.1.12-15-g330cb95 INFO: staticweb.ungleich.ch: Running global explorers INFO: staticweb.ungleich.ch: Running initial manifest manifest/consul INFO: staticweb.ungleich.ch: Running manifest and explorers for __ungleich_consul2/ INFO: staticweb.ungleich.ch: Running manifest and explorers for __consul_agent/ INFO: staticweb.ungleich.ch: Running manifest and explorers for __consul/ INFO: staticweb.ungleich.ch: Running manifest and explorers for __staged_file/usr/local/bin/consul INFO: staticweb.ungleich.ch: Generating code for __staged_file/usr/local/bin/consul INFO: staticweb.ungleich.ch: Executing code for __staged_file/usr/local/bin/consul /tmp/tmpgsn9oebp/object/__staged_file/usr/local/bin/consul/.cdist/code-local: 4: [: 4294967295 0: unexpected operator /tmp/tmpgsn9oebp/object/__staged_file/usr/local/bin/consul/.cdist/code-local: 14: /tmp/tmpgsn9oebp/object/__staged_file/usr/local/bin/consul/.cdist/code-local: unzip: not found ERROR: staticweb.ungleich.ch: Command failed: /bin/sh -e /tmp/tmpgsn9oebp/object/__staged_file/usr/local/bin/consul/.cdist/code-local INFO: cdist: Total processing time for 1 host(s): 7.104748010635376 ERROR: cdist: Failed to configure the following hosts: staticweb.ungleich.ch
Author
Owner

Created by: telmich

Fixed some time ago

*Created by: telmich* Fixed some time ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ungleich-public/cdist#176
No description provided.