Cloud init stopped working on edge/cloud image of alpine

Installing a container from images:alpine/edge/cloud gives cloud-init errors and it refuses to work:


Traceback (most recent call last):
  File "/usr/bin/cloud-init", line 33, in <module>
    sys.exit(load_entry_point('cloud-init==22.4', 'console_scripts', 'cloud-init')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cloudinit/cmd/main.py", line 1086, in main
    retval = util.log_time(
             ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cloudinit/util.py", line 2680, in log_time
    ret = func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cloudinit/cmd/status.py", line 119, in handle_status_args
    details = get_status_details(paths)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cloudinit/cmd/status.py", line 232, in get_status_details
    datasource, _, _ = value.partition(" ")
                       ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'partition'

The same installation process runs correctly on images:alpine/3.16/cloud.

This sounds like an issue better reported to upstream Alpine.

Sounds similar to https://github.com/lxc/lxd/issues/11195#issuecomment-1423804864

Sorry, I don’t understand your comment, I’m not using any ISO, I’m using your images.

I meant the alpine/edge is built from upstream Alpine, so if there is a broken package its likely something broken there.