version 27.3: on unattached machines update_status_timer incorrectly pings contracts.canonical.com/v1/resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Xenial |
Fix Released
|
Critical
|
Unassigned | ||
Bionic |
Fix Released
|
Critical
|
Unassigned | ||
Focal |
Fix Released
|
Critical
|
Unassigned | ||
Hirsute |
Fix Released
|
Critical
|
Unassigned | ||
Impish |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Version 27.3 introduced a new systemd timer which runs a job named update_status_timer every 12 hours to update the status of supported UA services on machines which are attached to an Ubuntu Advantage licese.
This job should not be run on machines without an active Ubuntu Advantage license attached because
"unattached" Ubuntu machines no need to request available or applicable UA resources for the machine.
In order to update_status information of UA services, this call results in GET against contracts.
- kernel
- ubuntu release name
- architecture
This ephemeral data is only used by the contract service to properly report what services are available or applicable to that running kernel, Ubuntu release and CPU architecture and is not logged or persisted.
This bug is currently fixed and committed upstream to avoid calling this endpoint on unattached Ubuntu machines and queued for release to Xenial, Bionic, Focal, Hirsute and Jammy as version 27.4.1. Expected published fix within a week.
Changed in ubuntu-advantage-tools (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in ubuntu-advantage-tools (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in ubuntu-advantage-tools (Ubuntu Focal): | |
status: | New → Fix Committed |
Changed in ubuntu-advantage-tools (Ubuntu Hirsute): | |
status: | New → Fix Committed |
Changed in ubuntu-advantage-tools (Ubuntu Impish): | |
status: | New → Fix Committed |
description: | updated |
Changed in ubuntu-advantage-tools (Ubuntu Xenial): | |
importance: | Undecided → Critical |
Changed in ubuntu-advantage-tools (Ubuntu Bionic): | |
importance: | Undecided → Critical |
Changed in ubuntu-advantage-tools (Ubuntu Focal): | |
importance: | Undecided → Critical |
Changed in ubuntu-advantage-tools (Ubuntu Hirsute): | |
importance: | Undecided → Critical |
Changed in ubuntu-advantage-tools (Ubuntu Impish): | |
importance: | Undecided → Critical |
Upstream commit landed to avoid this network egress on unattached machines. https:/ /github. com/canonical/ ubuntu- advantage- client/ commit/ ab01ce2f68b32fd 2702f947a408c58 d2435f1c47
Already undergoing SRU release verification and queued as version 27.4.1. The fixed version is currently in xenial-proposed, bionic-proposed, focal-proposed, hirsute-proposed and impish-proposed pockets. Expected release next week once verification completes.