Error: unable to find connection when removing a machine that was init with --ignition-path #24344
Labels
kind/bug
Categorizes issue or PR as related to a bug.
machine
remote
Problem is in podman-remote
stale-issue
Issue Description
If a Podman machine was created using a custom ignition file
podman machine init --igntion-path <path>
, then this error will appear when trying to remove the machine:Steps to reproduce the issue
Steps to reproduce the issue
podman machine init --igntion-path <path> <name>
(FYI this won't work in podman 5.2.4, see Podman Machine VM config does not get created when an Ignition file is provided #23544).podman machine rm <name>
Describe the results you received
The error can present itself in both of these ways:
or
Describe the results you expected
No error
podman info output
host:
arch: arm64
buildahVersion: 1.37.0
cgroupControllers:
cgroupManager: systemd
cgroupVersion: v2
conmon:
package: conmon-2.1.10-1.fc40.aarch64
path: /usr/bin/conmon
version: 'conmon version 2.1.10, commit: '
cpuUtilization:
idlePercent: 91.09
systemPercent: 5.21
userPercent: 3.7
cpus: 5
databaseBackend: sqlite
distribution:
distribution: fedora
variant: coreos
version: "40"
eventLogger: journald
freeLocks: 2048
hostname: localhost.localdomain
idMappings:
gidmap:
host_id: 1000
size: 1
host_id: 100000
size: 1000000
uidmap:
host_id: 501
size: 1
host_id: 100000
size: 1000000
kernel: 6.9.12-200.fc40.aarch64
linkmode: dynamic
logDriver: journald
memFree: 1499160576
memTotal: 2045726720
networkBackend: netavark
networkBackendInfo:
backend: netavark
dns:
package: aardvark-dns-1.12.1-1.20240816112034046522.main.4.g9fe344a.fc40.aarch64
path: /usr/libexec/podman/aardvark-dns
version: aardvark-dns 1.13.0-dev
package: netavark-1.12.1-1.20240816123644637575.main.22.gee98ad6.fc40.aarch64
path: /usr/libexec/podman/netavark
version: netavark 1.13.0-dev
ociRuntime:
name: crun
package: crun-1.16-1.20240813143753154884.main.16.g26c7687.fc40.aarch64
path: /usr/bin/crun
version: |-
crun version UNKNOWN
commit: 158b340ec38e187abee05cbf3f27b40be2b564d0
rundir: /run/user/501/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
os: linux
pasta:
executable: /usr/bin/pasta
package: passt-0^20240726.g57a21d2-1.fc40.aarch64
version: |
pasta 0^20240726.g57a21d2-1.fc40.aarch64-pasta
Copyright Red Hat
GNU General Public License, version 2 or later
https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
remoteSocket:
exists: true
path: /run/user/501/podman/podman.sock
rootlessNetworkCmd: pasta
security:
apparmorEnabled: false
capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
rootless: true
seccompEnabled: true
seccompProfilePath: /usr/share/containers/seccomp.json
selinuxEnabled: true
serviceIsRemote: true
slirp4netns:
executable: /usr/bin/slirp4netns
package: slirp4netns-1.2.2-2.fc40.aarch64
version: |-
slirp4netns version 1.2.2
commit: 0ee2d87523e906518d34a6b423271e4826f71faf
libslirp: 4.7.0
SLIRP_CONFIG_VERSION_MAX: 4
libseccomp: 2.5.5
swapFree: 0
swapTotal: 0
uptime: 0h 0m 15.00s
variant: v8
plugins:
authorization: null
log:
network:
volume:
registries:
search:
store:
configFile: /var/home/core/.config/containers/storage.conf
containerStore:
number: 0
paused: 0
running: 0
stopped: 0
graphDriverName: overlay
graphOptions: {}
graphRoot: /var/home/core/.local/share/containers/storage
graphRootAllocated: 106769133568
graphRootUsed: 4383481856
graphStatus:
Backing Filesystem: xfs
Native Overlay Diff: "true"
Supports d_type: "true"
Supports shifting: "false"
Supports volatile: "true"
Using metacopy: "false"
imageCopyTmpDir: /var/tmp
imageStore:
number: 0
runRoot: /run/user/501/containers
transientStore: false
volumePath: /var/home/core/.local/share/containers/storage/volumes
version:
APIVersion: 5.3.0-dev-e8410b839
Built: 1723766400
BuiltTime: Thu Aug 15 17:00:00 2024
GitCommit: ""
GoVersion: go1.22.6
Os: linux
OsArch: linux/arm64
Version: 5.3.0-dev-e8410b839
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: