pro service enabling fails due to incorrect aptURL format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Server |
Fix Released
|
High
|
Mitch Burton | ||
24.10 |
Fix Committed
|
High
|
Mitch Burton | ||
ubuntu-advantage-tools (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
When using an on-prem contract server (ua-airgapped) with the following configuration for aptURL:
esm-infra:
directives:
aptURL: http://
obligations:
enableByD
cis:
directives:
aptURL: http://
obligations:
enableByD
The pro client on a machine reports the following error when enabling a feature as it seems to be adding the `/ubuntu` suffix to the URL:
["2024-
ubuntu.
: Permission denied)\nE: Failed to fetch http://
["2024-
Our directory structure is the following:
repository/
├── dists
├── pool
We've used a symlink for the ubuntu directory as a workaround for the time being i.e.
repository/
├── dists
├── pool
└── ubuntu -> repository/
ua-airgapped:
Installed: 1.5
ubuntu-
Installed: 31.2.2~22.04
Candidate: 31.2.2~22.04
description: | updated |
Changed in ubuntu-advantage-tools (Ubuntu): | |
assignee: | nobody → Mitch Burton (mitchburton) |
assignee: | Mitch Burton (mitchburton) → nobody |
Changed in landscape: | |
status: | In Progress → Fix Committed |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
Hello, bcarbone, thanks for reporting this.
I can see how this fails, it looks indeed like a bug. I will bring it to the team, and update you about a solution.