On Tanzu Application Service (TAS) foundations, outbound firewall logs may show repeated blocked HTTPS connection attempts to contracts.canonical.com.
Administrators investigating this typically find a reference to the destination in /etc/ubuntu-advantage/uaclient.conf and /var/log/ubuntu-advantage.log inside an app container's rootfs (under the Diego cell's grootfs image store), which can suggest the app containers themselves are initiating the calls.
/rootfs/var/log/ubuntu-advantage.log:
["", "DEBUG", "ubuntupro.http", "readurl", 464, "URL [POST] response: https://contracts.canonical.com/v1/contracts//machine-activity/, headers: {'server': 'nginx/', 'x-trace-id': '', ...}, data: {'activityID': '', 'activityPingInterval': 3600, 'activityToken': '', 'resources': ['esm-infra'], 'series': 'jammy'}", {}]
There are two separate, related factors:
No customer action is required, and it is safe to continue blocking outbound traffic to contracts.canonical.com at the firewall. This traffic has no effect on:
The blocked call only affects a local, informational cache used for update-availability messaging (e.g., MOTD-style notices). Nothing functional depends on it.
Broadcom is addressing the root cause in two ways:
These fixes are expected in a future stemcell and cflinuxfs4 stack release. Until then, keeping the existing firewall block in place is the correct and sufficient action.