Hi Florian, thanks for reporting this bug. This is probably happening because the machine has the cloud-init package installed but it was not fully run on the machine (which is not a problem per se).
We have addressed this on our next release of ubuntu-advantage-tools that should be delivered very soon. Until that happens, you can add this at the end of /etc/ubuntu-advantage/uaclient.conf settings_overrides: cloud_type: "" And I believe it solve the problem for now. Let me know if that works for you ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1947506 Title: failed to call "sudo ua attach 'key'" with unexpected error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1947506/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs