• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#126 2021-11-20 15:41:38 +00:00
Missing initial manifest returns into traceback

Created by: telmich

Solved:

[13:32] manager:cdist% git describe 
4.8.0-35-gbc94c01c
[13:32] manager:cdist% cdist config -bj6 -p4 router1.place6.ungleich.ch router2.place6.ungleich.ch…
ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:36 +00:00
"label empty or too long" error

Created by: telmich

This also happens without -j:

[13:49] manager:~% cdist config -c ~/vcs/ungleich-dot-cdist/ -vvp10 black{1..3}.place6.ungleich.ch…

ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:35 +00:00
"label empty or too long" error

Created by: darko-poljak

@telmich And without -p ?

ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:33 +00:00
"label empty or too long" error

Created by: darko-poljak

@telmich And can you post whole output when running with -S (disable saving output stream)? Does this happend if you specify only one host?

ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:32 +00:00
"label empty or too long" error

Created by: telmich

Not reproducible with one host only.

ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:31 +00:00
"label empty or too long" error

Created by: darko-poljak

@telmich And with multiple hosts but not jobs nor parallel mode? (without -p and without -j).

ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:29 +00:00
"label empty or too long" error

Created by: darko-poljak

@telmich

$ echo '' 
ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:28 +00:00
"label empty or too long" error

Created by: darko-poljak

@telmich Is this wanted behavior?

ERROR: server1..4.place6.ungleich.ch: Error resolving target addresses for host 'server1..4.place6.ungleich.ch': encoding with…
ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:27 +00:00
"label empty or too long" error

Created by: telmich

@darko-poljak no - you are missing shell expansion here: server{1..4} is in curly brackets and is being expanded by shell

ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:25 +00:00
"label empty or too long" error

Created by: darko-poljak

@telmich But you were running: [13:48] manager:~% cdist config -c ~/vcs/ungleich-dot-cdist/ -vvp10 -bj6 black{1..3}.place6.ungleich.ch server{1..4,6}.place6.ungleich.ch…

ungleich-gitea commented on issue ungleich-public/cdist#125 2021-11-20 15:41:24 +00:00
"label empty or too long" error

Created by: telmich

+5 points for you! You are absolutely right and the proposed solution is right as well! Please merge!

ungleich-gitea commented on issue ungleich-public/cdist#123 2021-11-20 15:41:22 +00:00
Dynamic Inventory Support

Created by: telmich

Nothing is stopping you from using cdist config $(tool_that_outputs_names)

ungleich-gitea commented on issue ungleich-public/cdist#122 2021-11-20 15:41:21 +00:00
Make ifconfig optional

Created by: darko-poljak

@telmich Is /var/lib/cdist/conf/explorer/ifconfig global explorer from cdist distribution? Because I don't see that explorer in conf/explorer.

ungleich-gitea commented on issue ungleich-public/cdist#122 2021-11-20 15:41:19 +00:00
Make ifconfig optional

Created by: telmich

@darko-poljak it's part of global explorers, as my rgrep confirms:

./interfaces:23:# If your OS is not supported please provide a ifconfig output
./interfaces:32:if !…
ungleich-gitea commented on issue ungleich-public/cdist#122 2021-11-20 15:41:18 +00:00
Make ifconfig optional

Created by: darko-poljak

@telmich What is weird to me is this part of Command failed line: /bin/sh -e /var/lib/cdist/conf/explorer/ifconfig. Like there is ifconfig explorer from somewhere,…

ungleich-gitea commented on issue ungleich-public/cdist#122 2021-11-20 15:41:17 +00:00
Make ifconfig optional

Created by: darko-poljak

@telmich Ah yes. This explorer is from dot-cdist repo. There is ifconfig global explorer with ifconfig -a content. So this is not related to this cdist :)

ungleich-gitea commented on issue ungleich-public/cdist#121 2021-11-20 15:41:15 +00:00
Broken link to website.

Created by: darko-poljak

Should be resolved now.

ungleich-gitea commented on issue ungleich-public/cdist#120 2021-11-20 15:41:14 +00:00
#632 introduced NameError: name 'cdist_object' is not defined

Created by: darko-poljak

@asteven Aaaahhh! I would just remove try and except parts, do you agree?

ungleich-gitea commented on issue ungleich-public/cdist#120 2021-11-20 15:41:13 +00:00
#632 introduced NameError: name 'cdist_object' is not defined

Created by: asteven

Yes, agree. If we would want to explicitly handle any errors it should be done at a higher level. But in this case I would just remove try/except as it wasn't there before…

ungleich-gitea commented on issue ungleich-public/cdist#119 2021-11-20 15:41:11 +00:00
Cdist site has expired SSL certificate

Created by: darko-poljak

We have hit letsencrypt rate limit. So I have disabled this site from renewal and we have to wait until the rate limit expires after a week. Then we shall see if there is…