-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- I have the latest version of sake
- I have searched through the existing issues
Info
-
OS
- Linux
-
Shell
- Zsh
- Version:
Version: 0.12.1
Commit: ada7097
Date: 2022-10-16T06:28:36Z
Problem / Steps to reproduce
I have some VMs running under libvirt, which are normally accessible via their host name, but sake can't resolve them. Resolution does work in other tools (ping, pyinfra, ansible, ssh, etc) so I don't think it's a general configuration error.
servers:
localhost:
host: 0.0.0.0
local: true
vm:
host: host1vm
tasks:
ping:
desc: Pong
cmd: echo "pong"λ sake run ping --all
Unreachable Hosts
server | host | user | port | error
--------+---------+------+------+---------------------------------------------------------------
vm | host1vm | soup | 22 | dial tcp: lookup host1vm on 127.0.0.53:53: server misbehaving
λ ping host1vm
PING host1vm (192.168.122.244) 56(84) bytes of data.
64 bytes from 192.168.122.244 (192.168.122.244): icmp_seq=1 ttl=64 time=0.141 ms
^C64 bytes from 192.168.122.244: icmp_seq=2 ttl=64 time=0.132 msYou can use https://github.com/rktjmp/virt-up to bring up named hosts, but it does require some setup.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working