canonical / ubuntu-pro-client

Ubuntu Pro Client for offerings from Canonical
https://canonical-ubuntu-pro-client.readthedocs-hosted.com/en/latest/
GNU General Public License v3.0
56 stars 75 forks source link

Bug: enable long polling on GCP when possible #3008

Open renanrodrigo opened 8 months ago

renanrodrigo commented 8 months ago

Description of the bug

After GCP starts to allow adding a user license to a running instance, we need to toggle the default value of the configuration field poll_for_pro_license to true.

See the TODOs in the getter for poll_for_pro_license in config.py.

Expected behavior

GCP has the ability to change licenses and upgrade to Pro without rebooting, and then we use long-polling to catch the license change.

Current behavior

GCP does not support changing a license without shutting the VM down.

To Reproduce n/a

System information: Any release, any version, GCP cloud

orndorffgrant commented 5 months ago

@catmsred @a-dubs @aciba90 are you aware of any developments on GCP upgrade-in-place? Is upgrading without a reboot on the horizon?

catmsred commented 5 months ago

@orndorffgrant I don't know of any plans to change the process for in-place upgrades but I can look into it.

orndorffgrant commented 5 months ago

@catmsred thank you! We have some historical context for this bug that we can share with you as well (maybe next standup you're able to join)