I got an unexpected error from the last command in the test case:
triage-focal+20.04:~/pkg/UbuntuAdvantageTools/review-mp401917/ubuntu-advantage-tools-gu$ sudo ua enable esm-apps
One moment, checking your subscription first
Cannot enable unknown service 'esm-apps'.
Try esm-infra, fips, fips-updates, livepatch.
triage-focal+20.04:~/pkg/UbuntuAdvantageTools/review-mp401917/ubuntu-advantage-tools-gu$ sudo ua status
SERVICE ENTITLED STATUS DESCRIPTION
esm-apps yes enabled UA Apps: Extended Security Maintenance (ESM)
esm-infra yes enabled UA Infra: Extended Security Maintenance (ESM)
fips yes n/a NIST-certified FIPS modules
fips-updates yes n/a Uncertified security updates to FIPS modules
livepatch yes n/a Canonical Livepatch service
Enable services with: ua enable <service>
Account: Subscription: UA Applications - Essential (Physical)
Valid until: 3999-12-31 00:00:00
Technical support level: essential
triage-focal+20.04:~/pkg/UbuntuAdvantageTools/review-mp401917/ubuntu-advantage-tools-gu$ sudo ua disable esm-apps
Updating package lists
A reboot is required to complete disable operation.
triage-focal+20.04:~/pkg/UbuntuAdvantageTools/review-mp401917/ubuntu-advantage-tools-gu$ sudo ua enable esm-apps
One moment, checking your subscription first
Cannot enable unknown service 'esm-apps'.
Try esm-infra, fips, fips-updates, livepatch.
triage-focal+20.04:~/pkg/UbuntuAdvantageTools/review-mp401917/ubuntu-advantage-tools-gu$ sudo ua status
SERVICE ENTITLED STATUS DESCRIPTION
esm-infra yes enabled UA Infra: Extended Security Maintenance (ESM)
fips yes n/a NIST-certified FIPS modules
fips-updates yes n/a Uncertified security updates to FIPS modules
livepatch yes n/a Canonical Livepatch service
Enable services with: ua enable <service>
Account: Subscription: UA Applications - Essential (Physical)
Valid until: 3999-12-31 00:00:00
Technical support level: essential
This is a bit confusing to have esm-apps shown as enabled, but when running ua enable esm-apps it says it can't be enabled, and then disabling it and attempting to re-enable it doesn't work. However I can detach and reattach the token and esm-apps comes back.
I got an unexpected error from the last command in the test case:
triage- focal+20. 04:~/pkg/ UbuntuAdvantage Tools/review- mp401917/ ubuntu- advantage- tools-gu$ sudo ua enable esm-apps focal+20. 04:~/pkg/ UbuntuAdvantage Tools/review- mp401917/ ubuntu- advantage- tools-gu$ sudo ua status
One moment, checking your subscription first
Cannot enable unknown service 'esm-apps'.
Try esm-infra, fips, fips-updates, livepatch.
triage-
SERVICE ENTITLED STATUS DESCRIPTION
esm-apps yes enabled UA Apps: Extended Security Maintenance (ESM)
esm-infra yes enabled UA Infra: Extended Security Maintenance (ESM)
fips yes n/a NIST-certified FIPS modules
fips-updates yes n/a Uncertified security updates to FIPS modules
livepatch yes n/a Canonical Livepatch service
Enable services with: ua enable <service>
Valid until: 3999-12-31 00:00:00
Technical support level: essential
triage- focal+20. 04:~/pkg/ UbuntuAdvantage Tools/review- mp401917/ ubuntu- advantage- tools-gu$ sudo ua disable esm-apps focal+20. 04:~/pkg/ UbuntuAdvantage Tools/review- mp401917/ ubuntu- advantage- tools-gu$ sudo ua enable esm-apps focal+20. 04:~/pkg/ UbuntuAdvantage Tools/review- mp401917/ ubuntu- advantage- tools-gu$ sudo ua status
Updating package lists
A reboot is required to complete disable operation.
triage-
One moment, checking your subscription first
Cannot enable unknown service 'esm-apps'.
Try esm-infra, fips, fips-updates, livepatch.
triage-
SERVICE ENTITLED STATUS DESCRIPTION
esm-infra yes enabled UA Infra: Extended Security Maintenance (ESM)
fips yes n/a NIST-certified FIPS modules
fips-updates yes n/a Uncertified security updates to FIPS modules
livepatch yes n/a Canonical Livepatch service
Enable services with: ua enable <service>
Valid until: 3999-12-31 00:00:00
Technical support level: essential
This is a bit confusing to have esm-apps shown as enabled, but when running ua enable esm-apps it says it can't be enabled, and then disabling it and attempting to re-enable it doesn't work. However I can detach and reattach the token and esm-apps comes back.