Package: incant
Version: 0.3
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
Thanks for creating incant as a replacement for Vagrant.
I'm trying to imitate Vagrant with the following steps,
Modified incant.yml created by incant init to just this,
$ cat incant.yaml
instances:
debian-sid:
image: images:debian/14
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid
Error: Failed: Error: The incus daemon doesn't appear to be started (socket
path: /var/lib/incus/unix.socket)
I think incant should depend on incus for this to work out of the box.
After incus is installed,
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid
Error: Failed: Error: You don't have the needed permissions to talk to the
incus daemon (socket path: /var/lib/incus/unix.socket)
I think incant should try to set these permissions - to mimic vagrant as close
as possible.
May be a debconf prompt for configuring this?
sudo usermod -a -G incus-admin
newgrp incus-admin
After this, it still failed
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid
Error: Failed: Error: Failed instance creation: read tcp
[2401:4900:8816:89cf:734:c3b7:2a79:7ef6]:40308->[2400:6180:100:d0::10e:1]:443:
read: connection timed out
I think because it is trying to use ipv6 by default.
And later,
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid
Error: Failed: Error: Failed instance creation: Failed creating instance
record: Failed initializing instance: Failed getting root disk: No root device
could be found
Tried adding a devices: section, but it failed too
$ incant up
Creating instance debian-sid with image images:debian/14...
-> incus launch images:debian/14 debian-sid --device root,size=10GiB
Error: Failed: Error: Cannot override config for device "root": Device not
found in profile devices
May be there should be a tutorial to create a basic debian container ?
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.16.8+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages incant depends on:
ii incus-client 6.0.5-6+b1
ii python3 3.13.7-1
ii python3-click 8.2.0+0.really.8.1.8-1
ii python3-jinja2 3.1.6-1
ii python3-mako 1.3.9-1
ii python3-yaml 6.0.2-2
incant recommends no packages.
incant suggests no packages.
-- no debconf information