If the `pro` executable isn't there, then ubuntu-advantage-tools either isn't present or is over a year old. 22.04.3 is less than a year old, so it's surprising to me that ubuntu-advantage-tools could be that old in the image.
My guess is that the problem that causes the stall is a dependency loop in systemd services. cloud-init is likely installing ubuntu-advantage-tools during its `cloud-config.service` but ubuntu-advantage.service is supposed to start during install and it has `After: cloud-config.service`.
Hi Olivier,
Where is the definition for "Ubuntu Server (minimized)"? It should come with ubuntu- advantage- tools by default.
It seems cloud-init only tries to install ubuntu- advantage- tools if it doesn't see the `pro` executable - https:/ /github. com/canonical/ cloud-init/ blob/5a34061012 cf59e9d5756c492 a5316feb21c245c /cloudinit/ config/ cc_ubuntu_ advantage. py#L361
If the `pro` executable isn't there, then ubuntu- advantage- tools either isn't present or is over a year old. 22.04.3 is less than a year old, so it's surprising to me that ubuntu- advantage- tools could be that old in the image.
My guess is that the problem that causes the stall is a dependency loop in systemd services. cloud-init is likely installing ubuntu- advantage- tools during its `cloud- config. service` but ubuntu- advantage. service is supposed to start during install and it has `After: cloud-config. service` .