Skip to content

Commit

Permalink
templates: skip Arch Linux 20240815.255016
Browse files Browse the repository at this point in the history
20240815.255016 does not work due to "No space left on device".
Caused by canonical/cloud-init issue 5614.

```
2024-08-16 16:15:27,738 - util.py[DEBUG]: Running module resizefs (<module 'cloudinit.config.cc_resizefs' from '/usr/lib/python3.12/site-packages/cloudinit/config/cc_resizefs.py'>) failed
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/cloudinit/config/modules.py", line 270, in _run_modules
    ran, _r = cc.run(
              ^^^^^^^
  File "/usr/lib/python3.12/site-packages/cloudinit/cloud.py", line 71, in run
    return self._runners.run(name, functor, args, freq, clear_on_fail)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/cloudinit/helpers.py", line 156, in run
    results = functor(**args)
              ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/cloudinit/config/cc_resizefs.py", line 327, in handle
    resize_cmd = resizer(resize_what, devpth)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/cloudinit/config/cc_resizefs.py", line 81, in _resize_btrfs
    system_btrfs_ver = util.Version.from_str(
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/cloudinit/util.py", line 3145, in from_str
    return cls(*(list(map(int, version.split(".")))))
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '10\n-EXPERIMENTAL -INJECT -STATIC +LZO +ZSTD +UDEV +FSVERITY +ZONED CRYPTO=libgcrypt'
```

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
  • Loading branch information
AkihiroSuda committed Aug 16, 2024
1 parent 61576ca commit 2294605
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/archlinux.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# This template requires Lima v0.7.0 or later
images:
# Try to use yyyyMMdd.REV image if available. Note that yyyyMMdd.REV will be removed after several months.

# NOTE: 20240815.255016 does not work due to "No space left on device"
# Caused by https://github.com/canonical/cloud-init/issues/5614

- location: "https://geo.mirror.pkgbuild.com/images/v20240801.250900/Arch-Linux-x86_64-cloudimg-20240801.250900.qcow2"
arch: "x86_64"
digest: "sha256:f0e92eb32c15f4352d27662fdee90e8acc51902f50ded1843ee622e48e999eea"
Expand Down

0 comments on commit 2294605

Please sign in to comment.