Thank you Albourne for the additional information!
I was able to confirm this bug.
We are not specifying the full path to the `canonical-livepatch`
executable every time we call it, so if it is not in your PATH you will
get the error described here.
To reproduce the bug: `sudo env PATH="/usr/bin
Hello Deysy,
Thank you for taking the time to submit a bug report!
This is appears to be a known bug in 27.2.2, and 27.4.2 should be
available in xenial-updates to fix it.
Please run:
sudo apt update
sudo apt install ubuntu-advantage-tools
If that still doesn't work, please let us know :)
--
*** This bug is a duplicate of bug 1930121 ***
https://bugs.launchpad.net/bugs/1930121
This appears to be a duplicate of bug 1930121 and will be fixed in the
next release of ubuntu-advantage-tools 27.4, which should be released in
the next couple weeks.
This bug occurs when you have a nonstan
Thank you for the additional information fagner128!
The error you posted here is actually slightly different in the details.
The python error is "ImportError: cannot import name 'Type'".
And it looks like you have a non standard python install in
/usr/local/bin/python3 that is taking precedence o
Hi freeflyer,
Thanks for taking the time to submit the bug!
Is the resourceToken you copied here exactly as it appears in the
machine-token.json file? I ask because it is surprising that "Token" and
"Type" are capitalized. I believe they should be all lower case like
"token" and "type". You may h
Hello Bill Miller,
That's a good question that we probably should document better in our
manpage. I'll add this to the description of this bug as well.
First a clarification: If your machine is not "attached" to a Ubuntu
Advantage subscription, then the metering job does not do anything.
To turn
I've tested that ubuntu-advantage-tools 27.4.1 from -proposed fixes this
bug on all releases.
I'm attaching the test script I used and the output for each release
here.
Tagging verification-done
** Attachment added: "1930121-ua27.4.1-verification.tar.xz"
https://bugs.launchpad.net/ubuntu/+so
I've verified that this bug is fixed in all releases by version 27.4.1
currently in -proposed.
I'm attaching the script I used (based on Renan's comment above) and the
output for each release.
** Attachment added: "1950813-ua27.4.1-verification.tar.xz"
https://bugs.launchpad.net/ubuntu/+sour
Hi Daevid,
I'm sorry our package is causing this problem for you.
This appears to be a bug related to the python setup and dependencies on
the machine. Have you done any python development or pip installed
anything recently? If you have, the details might help us figure out
what happened here.
T
Thanks for the bug report! I think this is a good idea.
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => Confirmed
** Changed in: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs,
I have tested the package in -proposed using the steps in the
description. I first verified the bug occurred on jammy with the current
package and that it no longer occurred after upgrading to the package in
-proposed. Please see the attached log.
Marking verification-done-jammy
** Attachment add
We have run the full ubuntu-advantage-tools integration test suite for
jammy against the version in -proposed. The results are attached. All
tests passed.
You can verify the correct version was used by checking the output of
the first test in each file, which prints the version number.
I am marki
Hello Gene Sun, thank you for taking the time to file a bug!
The livepatch service is installed as a snap when you run `ua enable
livepatch`. It looks like the `snap` command is failing because the
snapd.socket isn't available.
Can you verify that the snap service is working or not by running a s
Hello Walter Hachmann, thank you for taking the time to file a bug!
debconf can wait forever if it is expecting some sort of input but not
getting any. That may be what is happening here. A common scenario that
can trigger this is if the config file /etc/ubuntu-
advantage/uaclient.conf is edited a
Per discussion in chat: The image did not have the ubuntu-advantage-pro
package installed, which is what runs `ua auto-attach` on boot.
Installing that package from ppa:ua-client/stable should resolve this
issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
Public bug reported:
See this error
https://errors.ubuntu.com/problem/864d1a4d38167a7b009ce993125030b58eb012d5
When upgrading from focal -> impish or from impish -> jammy, a KeyError
will occur in the upgrade_lts_contract.py script from ubuntu-advantage-
tools. This happens because that script ha
** Description changed:
[ Impact ]
pro status shows livepatch as "disabled" when "canonical-livepatch"
returns an error. This can be misleading. It would be more helpful to
propagate the error message up to the user through pro status; that is
what the fix does.
[ Test Plan ]
I've run the test plan for the ubuntu-advantage-tools fix to this bug on
xenial, bionic, focal and jammy. livepatch is not supported on mantic,
so this bug doesn't actually affect mantic. The tests passed and logs
are attached.
The autopkgtest failure on mantic ppc64el looks like a flaky
infrastru
I've tested the fixed version of ubuntu-advantage-tools in -proposed
using the test plan described. I show the bug before the upgrade and
show that it doesn't occur after the upgrade in the logs attached.
The autopkgtest failure on mantic ppc64el looks like a flaky
infrastructure problem and shoul
I followed the test plan and demonstrated the bug before an upgrade,
then demonstrated that the bug no longer occurs after upgrading to the
version of ubuntu-advantage-tools in -proposed. I'm attaching logs for
all releases and marking verification done.
The autopkgtest failure on mantic ppc64el w
We have run the full ubuntu-advantage-tools integration (behave) test
suite against the version in -proposed. The results are attached. All
tests passed. You can verify the correct version was used by checking
the output of the first test in each file, which prints the version
number.
I also ran a
Hello Owen,
Sorry for the delay. The 24.04 repositories are in the middle of a large
transition related to time_t64 and many packages/updates, including this
one, are blocked on other builds because of that. I hope the backlog
will be worked through soon, and I will try to get this update publishe
For the SRU
As noted in the Test Plan, an automated test was added to the ubuntu-
advantage-tools package to cover this bug. We ran the full automated
test suite for the SRU of 31.2, including this one, and they all passed.
Logs are attached in LP: #2048921. So I'm marking verification done for
th
As noted in the Test Plan, an automated test was added to the ubuntu-
advantage-tools package to cover this bug. We ran the full automated
test suite for the SRU of 31.2, including this one, and they all passed.
Logs are attached in LP: #2048921. So I'm marking verification done for
this bug.
The
Thank you renanrodrigo!
Marking verification done.
** Tags removed: verification-needed verification-needed-bionic
verification-needed-focal verification-needed-jammy verification-needed-mantic
verification-needed-xenial
** Tags added: verification-done verification-done-bionic
verification-do
Thanks for all the investigation and discussion!
Just to close out the ubuntu-pro-client related questions:
ubuntu-pro-client does run daemon-reload in postinst.
and here is a reproducer that doesn't involve ubuntu-pro-client services
```
lxc launch ubuntu-daily:noble test
lxc shell test
# now in
** Description changed:
+
+ [ Impact ]
+ After an upgrade from ubuntu-advantage-tools 30.1 to ubuntu-pro-client 31.1,
an old logrotate conffile named ubuntu-advantage-tools is left behind. The old
file configures the same files as the new conffile: ubuntu-pro-client.
+ The result is that when
** Description changed:
[ Impact ]
This release brings both bug-fixes and new features for the Pro Client,
and we would like to make sure all of our supported customers have
access to these improvements on all releases.
The most important changes are:
- rename ubuntu-advantage-t
Thank you nobuto! With that I was able to reproduce the issue.
lxc launch ubuntu-daily:noble test
lxc exec test -- apt update # this one works as expected
lxc exec test -- snap install snapd
lxc exec test -- apt update # this one has the warnings in the bug report
assigning this bug to snapd
Hello xypron
Did you upgrade ubuntu-advantage-tools as well? That should remove the
file - if it does not please let us know.
Any system not on -devel will either never have ubuntu-advantage-tools
or it will be required to upgrade to 31.2 of ubuntu-advantage-tools at
the same time as installing u
** Description changed:
[ Impact ]
This release brings both bug-fixes and new features for the Pro Client,
and we would like to make sure all of our supported customers have
access to these improvements on all releases.
The most important changes are:
- rename ubuntu-advantage-t
** Description changed:
[ Impact ]
After an upgrade from ubuntu-advantage-tools 30.1 to ubuntu-pro-client 31.1,
an old logrotate conffile named ubuntu-advantage-tools is left behind. The old
file configures the same files as the new conffile: ubuntu-pro-client.
The result is that when logr
The expected result after a `pro detach` is two things:
1. The machine stops being counted as an active machine according to the Pro
backend (and reflected on the Pro dashboard for users)
2. The machine stops receiving Pro services
If `pro` fails to do either of these things, then we can't really
It sounds like the airgapped config was not yet set up when this test
occurred.
This bug is still valid for lack of network access in general, though.
These commands shouldn't totally fail if they can't reach the network.
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: Incomplete =
Thanks @enr0n. We had already created a separate bug (bug 2074211) to
represent the case that you describe, so I'll mark this one back to
"Invalid" for ubuntu-advantage-tools.
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => Invalid
** Changed in: ubuntu-advantage-tools (Ubunt
Public bug reported:
[Impact]
This release sports both bug-fixes and new features and we would like to
make sure all of our supported customers have access to these
improvements. The notable ones are:
* --format=json for attach,detach,enable,disable
* --attach-config option when attaching for
** Description changed:
[Impact]
This release sports both bug-fixes and new features and we would like to
make sure all of our supported customers have access to these
improvements. The notable ones are:
- * --format=json for attach,detach,enable,disable
- * --attach-config option w
Public bug reported:
ubuntu-advantage-tools 27.7 includes several features and bug fixes to
support customer requests and make the `ua` tool more usable. The most
notable features are:
* --format=json for attach,detach,enable,disable
* --attach-config option when attaching for users to pass
Attaching the jammy integration test results for ua 27.7.
** Attachment added: "ua-27.7-jammy-test-results.tar.gz"
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1964134/+attachment/5567175/+files/ua-27.7-jammy-test-results.tar.gz
--
You received this bug notification
Hi I'm coming back to this again. I hadn't acted before because I didn't
hear any information about my question above.
Is this still important? Should pro-client implement a prompt like that
described in previous comment?
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: Triaged => In
*** This bug is a duplicate of bug 2060769 ***
https://bugs.launchpad.net/bugs/2060769
Thank you for reporting this jibel!
I've reproduced this issue on a lxd-container and the root cause seems
to be bug 2060769 so I'm marking this as a duplicate.
This is fixed upstream and will be released
** Description changed:
[ Impact ]
If for any reason the user's system has any non-utf8 character as part
of the `apt list --installed` command, the Pro Client will fail to parse
the return output and break.
Independent of why this happens, the Pro Client should not be relying on
Thanks for reporting this Shubham!
From the logs, it looks like the error is coming from canonical-
livepatch. Pasting the formatted stacktrace here:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/uaclient/livepatch.py", line 130, in
status
out, _ = system.subp(
Thanks for reporting this Johan!
From looking at the logs, it appears this may have been due to a
temporary outage of Canonical servers.
Can you try again and report back here if it works now?
** Information type changed from Private to Public
** Changed in: ubuntu-advantage-tools (Ubuntu)
Thanks for reporting this Novexx!
Unfortunately I can't find anything in the logs.
Does the error look something like this?
Error connecting to notices.json: 503
503 Service Temporarily Unavailable
503 Service Temporarily Unavailable
nginx
The security API that the `pro fix` command relies
Thanks Nobuto!
First reported here: https://github.com/canonical/ubuntu-pro-
client/issues/3060
Fixed upstream and to be released in v32 of ubuntu-pro-client in mid May
(See LP: 2060732 for overall SRU bug)
** Bug watch added: github.com/canonical/ubuntu-pro-client/issues #3060
https://github
Hi pici-1251,
From your screenshot, it appears that `apt list --installed` is somehow
being redirected to `dpkg-query --listfiles`.
Do you have some alias or alternative `apt` command installed on your
system?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which
Hello pici-1251,
I'm now wondering if we aren't properly receiving your messages. All we
got from your last comment was what looks like a email signature image
but no actual message. Have you been responding to these comments via
email? That usually works but I wonder if something isn't parsing yo
Hello pici-1251,
Thank you for the reply!
Do not uninstall dpkg - it is a critical utility in Ubuntu.
The kernel version should not be a problem.
The problem seems to be that `dpkg-query --listfiles` is running instead
of `apt list --installed`.
The expected output of `apt list --installed` is
Hello!
Yes it seems your system has https://pypi.org/project/apt-wrapper/
installed which is masking the true "apt".
Renaming /usr/local/bin/apt to something else or otherwise uninstalling
it somehow should allow the real apt commands to work.
Please try this and then try to `pro attach` again.
Wonderful! I'm glad it is working now.
For context: We already have a separate bug for changing pro's reliance
on the `apt list --installed` command: #2060769
Because we have that bug to represent that work, and your problem has
been resolved, I'm going to close this bug.
Thank you!
** Changed
*** This bug is a duplicate of bug 2065192 ***
https://bugs.launchpad.net/bugs/2065192
** This bug has been marked a duplicate of bug 2065192
(ubuntu) pro attach doesn't work !
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
h
Public bug reported:
[ Impact ]
The new apparmor profile for esm-cache.service has sub profiles for
subprocesses and some of them were incomplete, resulting in the
following apparmor DENIED messages in the following situations:
On xenial, after a `pro attach`:
2024-05-21 15:22:29,438:WARN
** Description changed:
[Impact]
This release sports both bug-fixes and new features and we would like to
make sure all of our supported customers have access to these
improvements. The notable ones are:
* more robust error handling when determining the cloud we're on LP: #1940131
LP
I'm marking this invalid for the ubuntu-advantage-tools package since
this bug appears unrelated.
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bug
Hello Joseph and Paride,
This looks like it might be a variation on bug 1930121
Do you have a non-standard python installation? (not installed via apt)
If so, then the quick fix is hopefully to just set
PYTHONPATH=/usr/lib/python3/dist-packages. To test, try running
PYTHONPATH=/usr/lib/python3/
** Description changed:
[Impact]
This release sports both bug-fixes and new features and we would like to
make sure all of our supported customers have access to these
improvements. The notable ones are:
* more robust error handling when determining the cloud we're on LP: #1940131
LP
Assignee: (unassigned) => Grant Orndorff (orndorffgrant)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084677
Title:
apt upgrade --simulate prints permission denied because ubuntu-
advantag
Thank you for the report David!
Yes, this is accidental and ugly, we will fix it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084677
Title:
apt upgrade --simulate prints permission denied because
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085883
Title:
cannot enable esm infra and esm apps
To manage notificat
Thanks for the report!
In the logs, I see some attempts to enable various combinations of
services, as well as a failure while enabling anbox-cloud due to an
issue installing one of the snaps.
Before I try to solve anything: What exactly are you trying to
accomplish that isn't working as expected
** Information type changed from Private to Public
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085105
Title:
HTTP 503 from server
To manage notifications about this bug go to:
https://bugs.launc
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: Triaged => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084677
Title:
apt upgrade --simulate prints permission denied be
*** This bug is a duplicate of bug 2083144 ***
https://bugs.launchpad.net/bugs/2083144
** This bug has been marked a duplicate of bug 2083144
Error connecting to notices.json: 503
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Thank you for the bug report!
Unfortunately, pro's error message is likely wrong here and the logs are
not helpful.
We can try to debug further by manually adding the unauthenticated
source to your system.
Please create a file at /etc/apt/sources.list.d/ubuntu-esm-apps-test.sources
with the con
Thanks for the picture!
I tried running `pro attach` on a 24.04 container and upgrading to 24.10
to ensure the upgrade behaviour properly disabled esm-infra and esm-
apps, and it does. So I'm not sure how you ended up in this state.
esm-infra and esm-apps are not available for interim releases, o
We have run the full ubuntu-advantage-tools integration test suite
against the version in -proposed. The results are attached. All expected
tests passed.
Some individual tests required a re-run for various reasons, some due to
temporary backend outages, and some due to small issues in the tests
th
I've run the test plan for all releases and the fix works as expected.
Logs attached. Marking verification done.
On noble I reproduced by force installing the old version of systemd
affected by bug 2055239. On all other releases, I caused a similar
warning message in a more contrived way by direct
As noted above, we're tracking the fix to hide unnecessary warnings in
ubuntu-advantage-tools over in bug 2074211 and updating this bug along
the way for visibility. I have finished verification and posted logs in
a comment on bug 2074211. Marking verification done for both now.
** Tags removed: v
I've run the test plan for each ubuntu release verifying that the bug
occurs on the previous version of pro-client and is fixed on the version
in -proposed. Logs attached. Marking verification done.
** Description changed:
[ Impact ]
If the jobs-status.json file somehow got corrupted on a
Thanks for reporting a bug Marius!
What exactly is the error you are seeing in the output of `sudo apt
update`? Can you please copy it here?
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
B
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => Triaged
** Changed in: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided => High
** Changed in: ubuntu-advantage-tools (Ubuntu)
Assignee: (unassigned) => Dheyay Desai (dheyayd)
--
You received this bug notification
The fix was released last year. Updating status.
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2036256
Title:
Thanks for the report! Fixed upstream here:
https://github.com/canonical/ubuntu-pro-client/pull/3329
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
ht
101 - 174 of 174 matches
Mail list logo