Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: When custom image is imported on a cloud platform, we fail to detect the cloud it is running on #3238

Open
lucasmoura opened this issue Jul 30, 2024 · 0 comments
Assignees
Labels
bug something isn't working P - Low S - Triaged Must have priority label

Comments

@lucasmoura
Copy link
Contributor

lucasmoura commented Jul 30, 2024

Description of the bug

When users import an image into a cloud platform and try to in-place upgrade it to a Pro image, the auto-attach operation fails, as we cannot detect which the cloud through cloud-id. That is because the cloud-init operation has already been applied on the original machine and we don't reprocess when launching the same image on the cloud.

Expected behavior

Even if cannot properly fix this issue, we should at least provide a better error message to our users

Current behavior

Right now, when that happens, users will see the following error message:

Auto-attach image support is not available on none
See: https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/explanations/what_are_ubuntu_pro_cloud_instances.html

To Reproduce

  1. Create a ubuntu server VM
  2. Export the image (i.e. in the OVM format)
  3. Import the image into AWS platform
  4. Upgrade to Pro using AWS License manager
  5. Verify that pro auto-attach fails
@lucasmoura lucasmoura added the bug something isn't working label Jul 30, 2024
@lucasmoura lucasmoura added S - Triaged Must have priority label P - Low and removed triaged labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working P - Low S - Triaged Must have priority label
Projects
None yet
Development

No branches or pull requests

2 participants