!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

37 Members
lxc, lxd, incus discussions related to NixOS15 Servers

Load older messages


SenderMessageTime
6 May 2025
@c0ba1t:matrix.orgCobaltIt's nice for my homelab but that is a downside I didn't see discussed yet. 20:11:20
@hexa:lossy.networkhexawe run debian hosts with unattended-upgrades and needrestart for basic sanity20:17:49
9 May 2025
@hexa:lossy.networkhexa

Failed instance creation: Invalid instance name: Name can only contain alphanumeric and
hyphen characters

13:15:47
@hexa:lossy.networkhexawhat kind of silly limitation is this 😕 13:15:52
@hexa:lossy.networkhexamy preferred naming scheme for instance … their FQDN13:16:17
@hexa:lossy.networkhexa* my preferred naming scheme for instances is unsurprisingly … their FQDN13:16:26
@hexa:lossy.networkhexaapparently goes back to 0.1.013:18:32
@adam:robins.wtfadamcstephensseems a bit odd14:31:41
@adam:robins.wtfadamcstephenssurprised you hadn't hit that before today :)14:31:48
@hexa:lossy.networkhexayeah, me too 😄 14:31:56
@hexa:lossy.networkhexaran into another issue with terraform 😢14:32:10
@hexa:lossy.networkhexawith a zfs backed cluster, could you imagine that the instance does not get created on the machine where it creates the volume?14:32:45
@hexa:lossy.networkhexa* with a zfs backed cluster, could you imagine that the instance does not get created on the machine where it created the volume?14:32:54
@hexa:lossy.networkhexa

Failed instance creation: Failed creating instance record: Failed initializing instance: Failed add validation for device "gitlab-runner2-docker": Failed loading custom volume: Storage volume not found

14:33:25
@adam:robins.wtfadamcstephenswith a separate volume resource?14:34:23
@hexa:lossy.networkhexayes14:34:38
@adam:robins.wtfadamcstephensi guess that makes sense as a possibility14:35:25
@hexa:lossy.networkhexa
resource "incus_storage_volume" "gitlab-runner2-docker" {
  name = "gitlab-runner2-docker"
  pool = "tank"
  content_type = "block"
  config = {
    size = "50GiB" 
  }
}

resource "incus_instance" "gitlab-runner2" {
  name = "gitlab-runner2"

  device {
    type = "disk"
    name = "gitlab-runner2-docker"

    properties = {
      source = "tank/incus/custom/default_gitlab-runner2-docker"
      pool   = incus_storage_volume.gitlab-runner2-docker.pool
    }
  }
}
14:35:31
@hexa:lossy.networkhexaremoved some sections for brevity14:35:41
@adam:robins.wtfadamcstephensseems like a bug14:35:56
@hexa:lossy.networkhexayeah, can you imagine?14:36:20
@adam:robins.wtfadamcstephensdoes a volume migrate with its instance across nodes?14:36:46
@hexa:lossy.networkhexawell, it does for the root volume14:37:11
@hexa:lossy.networkhexalet me test a custom volume14:37:16
@adam:robins.wtfadamcstephensyeah, but secondary volumes are a bit odd in incus14:37:23
@hexa:lossy.networkhexa

Shared filesystem are incompatible with migration.stateful=true

14:38:36
@hexa:lossy.networkhexaok, so block devices14:38:42
@hexa:lossy.networkhexa

Only additional disks coming from a shared storage pool are supported with migration.stateful=true

14:39:29
@hexa:lossy.networkhexayeah, ok14:39:38
@hexa:lossy.networkhexafucked14:39:41

Show newer messages


Back to Room ListRoom Version: 10