In my original report, I've been testing the ua contract server as the same machine I'm trying to enable the airgapped subscription to, which also happens to be joined to the landscape server.
I have not created a repo profile to enable the esm repos via landscape.
I've tried what you've suggested.
When the repo path already has http:// in the service repo path prior to attaching the sub and enabling this removes the the http error when enabling esm-apps.
With esm-apps repo already in service repo with http, unfortunately enabling esm-apps still shows the same problem of not showing the service enabled
Enabling esm-apps does create the /etc/apt/sources.list.d/ubuntu-esm-apps.list
So the repo packages are available to use, apt update shows this
But it still does not change the status of the subscription service enablement
pro status
SERVICE ENTITLED STATUS DESCRIPTION
esm-apps yes disabled Expanded Security Maintenance for Applications
esm-infra yes disabled Expanded Security Maintenance for Infrastructure
livepatch yes disabled Canonical Livepatch service
realtime-kernel yes disabled Ubuntu kernel with PREEMPT_RT patches integrated
usg yes disabled Security compliance and audit tools
Thanks Lucas for looking into this.
In my original report, I've been testing the ua contract server as the same machine I'm trying to enable the airgapped subscription to, which also happens to be joined to the landscape server.
I have not created a repo profile to enable the esm repos via landscape.
I've tried what you've suggested.
When the repo path already has http:// in the service repo path prior to attaching the sub and enabling this removes the the http error when enabling esm-apps.
The prior error was
["2023- 08-15T08: 23:01.054" , "DEBUG", "root", "_subp", 581, "Ran cmd: apt-get update, rc: 0 stderr: b'W: http:// landscapeserver test.com/ repository/ standalone/ ubuntu/ dists/jammy- updates/ InRelease: /etc/apt/ auth.conf. d/90ubuntu- advantage: Credentials for landscapeserver test.com/ repository/ standalone/ match, but the protocol is not encrypted. Annotate with http:// to use.\\nW: http:// landscapeserver test.com/ repository/ standalone/ ubuntu/ dists/jammy- security/ InRelease: /etc/apt/ auth.conf. d/90ubuntu- advantage: Credentials for landscapeserver test.com/ repository/ standalone/ match, but the protocol is not encrypted. Annotate with http:// to use.\\nW: http:// landscapeserver test.com/ repository/ standalone/ ubuntu/ dists/jammy/ InRelease: /etc/apt/ auth.conf. d/90ubuntu- advantage: Credentials for landscapeserver test.com/ repository/ standalone/ match, but the protocol is not encrypted. Annotate with http:// to use.\\nW: http:// landscapeserver test.com/ repository/ standalone/ landscape/ dists/jammy/ InRelease: /etc/apt/ auth.conf. d/90ubuntu- advantage: Credentials for landscapeserver test.com/ repository/ standalone/ match, but the protocol is not encrypted. Annotate with http:// to use.\\nW: http:// landscapeserver test.com/ repository/ standalone/ ubuntu/ dists/jammy- esm-apps- security/ InRelease: /etc/apt/ auth.conf. d/90ubuntu- advantage: Credentials for
With esm-apps repo already in service repo with http, unfortunately enabling esm-apps still shows the same problem of not showing the service enabled sources. list.d/ ubuntu- esm-apps. list
Enabling esm-apps does create the /etc/apt/
So the repo packages are available to use, apt update shows this
apt update
Hit:1 http:// landscapeserver test.com/ repository/ standalone/ ubuntu jammy-updates InRelease landscapeserver test.com/ repository/ standalone/ ubuntu jammy-security InRelease landscapeserver test.com/ repository/ standalone/ ubuntu jammy InRelease landscapeserver test.com/ repository/ standalone/ landscape jammy InRelease landscapeserver test.com/ repository/ standalone/ ubuntu jammy-esm- apps-security InRelease
Hit:2 http://
Hit:3 http://
Hit:4 http://
Hit:5 http://
But it still does not change the status of the subscription service enablement
pro status
SERVICE ENTITLED STATUS DESCRIPTION
esm-apps yes disabled Expanded Security Maintenance for Applications
esm-infra yes disabled Expanded Security Maintenance for Infrastructure
livepatch yes disabled Canonical Livepatch service
realtime-kernel yes disabled Ubuntu kernel with PREEMPT_RT patches integrated
usg yes disabled Security compliance and audit tools