__file using unsupported mv option -T #333

Closed
opened 2022-04-16 10:36:17 +00:00 by nico · 0 comments
Owner
INFO: [31218]: vpn-18515529.ungleich.ch: Processing __file/etc/wireguard/wg0.conf
ERROR: [29710]: vpn-18515529.ungleich.ch: ssh -o User=root -o ControlPath=/tmp/tmpshtzx_ae/s -o ControlMaster=auto -o ControlPersist=2h vpn-18515529.ungleich.ch /bin/sh -c ' export __object=/var/lib/cdist/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle;  export __object_id=etc/wireguard/wg0.conf;/bin/sh -e /var/lib/cdist/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle/code-remote': ['ssh', '-o', 'User=root', '-o', 'ControlPath=/tmp/tmpshtzx_ae/s', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=2h', 'vpn-18515529.ungleich.ch', "/bin/sh -c ' export __object=/var/lib/cdist/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle;  export __object_id=etc/wireguard/wg0.conf;/bin/sh -e /var/lib/cdist/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle/code-remote'"]

Error processing object '__file/etc/wireguard/wg0.conf'
=======================================================
name: __file/etc/wireguard/wg0.conf
path: /tmp/tmpxoai0dcu/e70f9c55b02308c6d8ed9b33142e0a61/data/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle
source: /tmp/tmpxoai0dcu/e70f9c55b02308c6d8ed9b33142e0a61/data/conf/type/__ungleich_wireguard/manifest
type: /home/nico/vcs/cdist-workdir/cdist/cdist/conf/type/__file

code-remote:stderr
------------------
mv: unrecognized option: T
BusyBox v1.33.0 () multi-call binary.

Usage: mv [-fin] SOURCE DEST
or: mv [-fin] SOURCE... DIRECTORY

Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY

	-f	Don't prompt before overwriting
	-i	Interactive, prompt before overwrite
	-n	Don't overwrite an existing file


VERBOSE: [29710]: config: Total processing time for 1 host(s): 19.48012089729309
ERROR: cdist: Failed to configure the following hosts: vpn-18515529.ungleich.ch
[12:35] nb3:cdist-workdir% ( cd cdist; git describe )
6.9.8-51-g8b915b15

cc @steven

``` INFO: [31218]: vpn-18515529.ungleich.ch: Processing __file/etc/wireguard/wg0.conf ERROR: [29710]: vpn-18515529.ungleich.ch: ssh -o User=root -o ControlPath=/tmp/tmpshtzx_ae/s -o ControlMaster=auto -o ControlPersist=2h vpn-18515529.ungleich.ch /bin/sh -c ' export __object=/var/lib/cdist/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle; export __object_id=etc/wireguard/wg0.conf;/bin/sh -e /var/lib/cdist/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle/code-remote': ['ssh', '-o', 'User=root', '-o', 'ControlPath=/tmp/tmpshtzx_ae/s', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=2h', 'vpn-18515529.ungleich.ch', "/bin/sh -c ' export __object=/var/lib/cdist/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle; export __object_id=etc/wireguard/wg0.conf;/bin/sh -e /var/lib/cdist/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle/code-remote'"] Error processing object '__file/etc/wireguard/wg0.conf' ======================================================= name: __file/etc/wireguard/wg0.conf path: /tmp/tmpxoai0dcu/e70f9c55b02308c6d8ed9b33142e0a61/data/object/__file/etc/wireguard/wg0.conf/.cdist-ey1i8lle source: /tmp/tmpxoai0dcu/e70f9c55b02308c6d8ed9b33142e0a61/data/conf/type/__ungleich_wireguard/manifest type: /home/nico/vcs/cdist-workdir/cdist/cdist/conf/type/__file code-remote:stderr ------------------ mv: unrecognized option: T BusyBox v1.33.0 () multi-call binary. Usage: mv [-fin] SOURCE DEST or: mv [-fin] SOURCE... DIRECTORY Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY -f Don't prompt before overwriting -i Interactive, prompt before overwrite -n Don't overwrite an existing file VERBOSE: [29710]: config: Total processing time for 1 host(s): 19.48012089729309 ERROR: cdist: Failed to configure the following hosts: vpn-18515529.ungleich.ch [12:35] nb3:cdist-workdir% ( cd cdist; git describe ) 6.9.8-51-g8b915b15 ``` cc @steven
nico changed title from __file using unsupported mv option to __file using unsupported mv option -T 2022-04-16 10:38:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#333
No description provided.