Comment 21 for bug 1920836

Revision history for this message
Chad Smith (chad.smith) wrote :

Also per #2 above, if we were to drop the `ua status` call from utils.py:get_ua_status() that would also mitigate the perceived "time cost" corradoventu mentioned because `ua status` does reach out to the internet to contracts.canonical.com to check service availability for your running distro/kernel/platform. If we don't make that `ua status` commandline call, and rely on presence/absence of /var/lib/ubuntu-advantage/status.json then we can avoid the round trip to an external URL to fill in these service details.