[Bug 2110353] Re: Persistent Ubuntu Pro ESM advertisement in apt upgrade despite multiple disable attempts

2025-05-19 Thread Grant Orndorff
Hi Joakim, The esm package data is managed by a different service on the system: `esm-cache.service`. First mask that service: sudo systemctl mask esm-cache.service Then delete the existing esm cache: sudo rm -rf /var/lib/ubuntu-advantage/apt-esm/ Let me know if that helps. -- You rece

[Bug 2091327] Re: duplicated lines in help output

2024-12-10 Thread Grant Orndorff
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

[Bug 2036256] Re: Mainline kernel causes extra output in `pro status`

2024-12-04 Thread Grant Orndorff
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:

[Bug 2086546] Re: I get the bug as an esm bug problem when I write the command sudo apt update

2024-11-08 Thread Grant Orndorff
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

[Bug 2086546] Re: I get the bug as an esm bug problem when I write the command sudo apt update

2024-11-07 Thread Grant Orndorff
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

[Bug 2086753] Re: apt shows updates for oracular as standard LTS security updates even though oracular is not an LTS release

2024-11-06 Thread Grant Orndorff
** 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

[Bug 2085105] Re: HTTP 503 from server

2024-11-05 Thread Grant Orndorff
*** 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.

[Bug 2084677] Re: apt upgrade --simulate prints permission denied because ubuntu-advantage-apt-hook.log ist not accessible

2024-11-05 Thread Grant Orndorff
** 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

[Bug 2085105] Re: HTTP 503 from server

2024-11-05 Thread Grant Orndorff
** 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

[Bug 2085357] Re: my pc tripped off and i put it on again it did complete

2024-11-05 Thread Grant Orndorff
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

[Bug 2085883] Re: cannot enable esm infra and esm apps

2024-11-05 Thread Grant Orndorff
** 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

[Bug 2085883] Re: cannot enable esm infra and esm apps

2024-11-05 Thread Grant Orndorff
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

[Bug 2084677] Re: apt upgrade --simulate prints permission denied because ubuntu-advantage-apt-hook.log ist not accessible

2024-10-16 Thread Grant Orndorff
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

[Bug 2084677] Re: apt upgrade --simulate prints permission denied because ubuntu-advantage-apt-hook.log ist not accessible

2024-10-16 Thread Grant Orndorff
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

[Bug 2055239] Re: Warning: The unit file, source configuration file or drop-ins of {apt-news, esm-cache}.service changed on disk. Run 'systemctl daemon-reload' to reload units.

2024-09-18 Thread Grant Orndorff
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

[Bug 2074211] Re: Consider hiding error messages in apt-news.service to avoid being percived as "pro is broken"

2024-09-18 Thread Grant Orndorff
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

[Bug 2078737] Re: /usr/lib/ubuntu-advantage/timer.py:UnicodeDecodeError:/usr/lib/ubuntu-advantage/timer.py@209:run_jobs:read:read:load_file

2024-09-18 Thread Grant Orndorff
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

[Bug 2075543] Re: [SRU] ubuntu-advantage-tools (33.2 -> 34) Xenial, Bionic, Focal, Jammy, Noble

2024-09-18 Thread Grant Orndorff
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

[Bug 2074211] Re: Consider hiding error messages in apt-news.service to avoid being percived as "pro is broken"

2024-09-10 Thread Grant Orndorff
** Description changed: - [ Impact ] + [ Impact ] When bugs unrelated to ubuntu-pro-client affect the apt-hooks in such a way that they print warning or error messages, ubuntu-pro-client is percieved to be at fault. Usually these warnings and errors cannot be fixed by ubuntu-pro-client and a

[Bug 2074211] Re: Consider hiding error messages in apt-news.service to avoid being percived as "pro is broken"

2024-09-10 Thread Grant Orndorff
Thanks ahasenack! > the apt-news hook does not log to "apt-news.service.txt" You are correct, but `pro collect-logs` does collect the status of apt- news.service and puts it in a file called "apt-news.service.txt". That is what the test is testing. > include in the test plan a logrotation scenar

[Bug 2078737] Re: /usr/lib/ubuntu-advantage/timer.py:UnicodeDecodeError:/usr/lib/ubuntu-advantage/timer.py@209:run_jobs:read:read:load_file

2024-09-10 Thread Grant Orndorff
** Description changed: + [ Impact ] + + If the jobs-status.json file somehow got corrupted on a pro attached + machine, the ua-timer.service would crash when trying to read it. This + is not a critical state file, so the fix is to catch the error and + delete the file if it is corrupted. + + [

[Bug 2078614] Re: pro refresh Failed running command '/snap/bin/canonical-livepatch config' [exit(1)]. Message: error executing config: livepatchd error: daemon shutting down

2024-09-06 Thread Grant Orndorff
** 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/2078614 Title: pro refresh Failed running command '/snap/bin/canonical-livepatch config' [exit(1)]

[Bug 2055239] Re: Warning: The unit file, source configuration file or drop-ins of {apt-news, esm-cache}.service changed on disk. Run 'systemctl daemon-reload' to reload units.

2024-09-03 Thread Grant Orndorff
dvantage-tools (Ubuntu Noble) Status: Invalid => In Progress ** Changed in: ubuntu-advantage-tools (Ubuntu) Assignee: (unassigned) => Grant Orndorff (orndorffgrant) ** Changed in: ubuntu-advantage-tools (Ubuntu Noble) Assignee: (unassigned) => Grant Orndorff (orndor

[Bug 2055239] Re: Warning: The unit file, source configuration file or drop-ins of {apt-news, esm-cache}.service changed on disk. Run 'systemctl daemon-reload' to reload units.

2024-08-26 Thread Grant Orndorff
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

[Bug 2075357] Re: pro collect-logs takes more than 1:30 minutes to complete on air-gapped envs, `pro status` and `pro help` doesn't work

2024-08-09 Thread Grant Orndorff
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 =

[Bug 2076188] Re: pro detach fails if /snap/bin/canonical-livepatch disable fails

2024-08-08 Thread Grant Orndorff
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

[Bug 2074211] Re: Consider hiding error messages in apt-news.service to avoid being percived as "pro is broken"

2024-08-05 Thread Grant Orndorff
** Description changed: + [ Impact ] + When bugs unrelated to ubuntu-pro-client affect the apt-hooks in such a way that they print warning or error messages, ubuntu-pro-client is percieved to be at fault. Usually these warnings and errors cannot be fixed by ubuntu-pro-client and are indicative

[Bug 2075543] Re: [SRU] ubuntu-advantage-tools (33.2 -> 34) Xenial, Bionic, Focal, Jammy, Noble

2024-08-02 Thread Grant Orndorff
** 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: - + - updated help output + -

[Bug 2074211] Re: Consider hiding error messages in apt-news.service to avoid being percived as "pro is broken"

2024-08-02 Thread Grant Orndorff
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Triaged ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 2075543] [NEW] [SRU] ubuntu-advantage-tools (33.2 -> 34) Xenial, Bionic, Focal, Jammy, Noble

2024-08-01 Thread Grant Orndorff
Public bug reported: [ 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: See the changelog entry below for a full list

[Bug 2073921] Re: Ubuntu pro should not warn that subscription will expire when autorenewal is enabled

2024-07-29 Thread Grant Orndorff
Some additional context: A token may have entitlements coming from multiple sources (e.g., shop subscriptions and trials, direct sales, etc). If there are multiple sources for a token, we cannot pinpoint exactly if a single machines would be impacted by not renewing a portion of the entitlement s

[Bug 2073921] Re: Ubuntu pro should not warn that subscription will expire when autorenewal is enabled

2024-07-29 Thread Grant Orndorff
Thanks! I'll forward these suggestions to the team that handles the backend and notification emails as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073921 Title: Ubuntu pro should not warn t

[Bug 2073921] Re: Ubuntu pro should not warn that subscription will expire when autorenewal is enabled

2024-07-29 Thread Grant Orndorff
That is a great idea hvbakel! Thank you for suggesting it. ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Triaged ** Changed in: ubuntu-advantage-tools (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs

[Bug 2058133] Re: [SRU] update-manager crashes when ua security-status response is an error

2024-07-29 Thread Grant Orndorff
Hi Nathan, per comment #9 (https://bugs.launchpad.net/ubuntu/+source/update- manager/+bug/2058133/comments/9) we decided on "invalid" for ubuntu- advantage-tools for this particular bug. ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Invalid -- You received this bug notific

[Bug 2055239] Re: Warning: The unit file, source configuration file or drop-ins of {apt-news, esm-cache}.service changed on disk. Run 'systemctl daemon-reload' to reload units.

2024-07-26 Thread Grant Orndorff
That systemd issue does appear to be the root cause ** Also affects: systemd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2055239 Title: Warnin

[Bug 2069822] Re: This command "pro fix CVE-2023-31083" does create the error condition.

2024-07-19 Thread Grant Orndorff
Thank you for confirming! This is an ongoing issue with the back-end API and is being tracked here https://github.com/canonical/ubuntu-com-security-api/issues/165 Since there isn't much the `pro` command can do without a functioning back-end API for the security data, I'll mark this bug as Invali

[Bug 2073264] Re: package ubuntu-pro-client 32.3.1~20.04 failed to install/upgrade: installed ubuntu-pro-client package post-installation script subprocess returned error exit status 127

2024-07-19 Thread Grant Orndorff
Marking this as public since there are no private details in the logs. ** 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/2073264 Title: package ubuntu

[Bug 2072339] Re: Can not isntalla singularity becouse: Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk

2024-07-05 Thread Grant Orndorff
Hello Gustavo and thanks for submitting this report! Glad to hear you're trying Ubuntu for your project. The warnings you've seen: Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk. Run 'systemctl daemon-reload' to reload units. Warning: The unit f

[Bug 2069822] Re: This command "pro fix CVE-2023-31083" does create the error condition.

2024-06-21 Thread Grant Orndorff
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

[Bug 2069176] Re: Cant activate live patch

2024-06-21 Thread Grant Orndorff
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)

[Bug 2068822] Re: unable to detach live patch as I try to do it because I was unable to see livepatch icon in top

2024-06-21 Thread Grant Orndorff
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(

[Bug 2060769] Re: pro-client execs `apt list --installed` instead of using python3-apt - leading to utf-8 errors

2024-06-18 Thread Grant Orndorff
** 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

[Bug 2069739] Re: pro status fails with utf-8 decode error

2024-06-18 Thread Grant Orndorff
*** 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

[Bug 1978890] Re: FIPS/OEM installation compatibility is unclear to the end-user

2024-06-12 Thread Grant Orndorff
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

[Bug 2065616] Re: apport hook AttributeError: 'UAConfig' object has no attribute 'data_path'

2024-05-28 Thread Grant Orndorff
I've verified that this error no longer occurs during `ubuntu-bug ubuntu-advantage-tools` with version 32.2 in -proposed for all Ubuntu releases. Logs attached. Marking verification done. ** Attachment added: "verify-2065616.tar.gz" https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-to

[Bug 2065573] Re: esm-cache.service denied access to /etc/os-release by apparmor

2024-05-28 Thread Grant Orndorff
Thanks Allison! For the rest of the SRU verification: I've performed the test steps against 32.2 currently in -proposed, for all Ubuntu releases. The test passed in all cases. Logs attached. Marking verification done. ** Attachment added: "verify-2065573.tar.gz" https://bugs.launchpad.net/ubu

[Bug 2064624] Re: Warning: W:Unable to read /var/lib/ubuntu-advantage/apt-esm/etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)

2024-05-24 Thread Grant Orndorff
Hello Davide, It is currently in -proposed, and scheduled to be released to -updates early next week. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064624 Title: Warning: W:Unable to read /var/lib

[Bug 2067059] Re: Auto-attach image support is not available on none

2024-05-24 Thread Grant Orndorff
Great! I'm glad the workaround works for you. In order to try to reproduce and debug the original problem, It may help to provide a bit more information on the azure instance. Could you share the "Security type", "Size", and "Source image details" values for this problematic instance as seen in th

[Bug 2067059] Re: Auto-attach image support is not available on none

2024-05-24 Thread Grant Orndorff
Hello Abdul, Thank you for taking the time to submit a bug report! That message means that `cloud-init` was unable to detect what cloud you are on (more specifically, the `cloud-id` command didn't return a cloud name). Can you provide what instance type and image you are using on Azure? As a w

[Bug 2066929] [NEW] 32.1 in -proposed causes new apparmor denials

2024-05-23 Thread Grant Orndorff
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

[Bug 2061236] Re: pro attach command didn't work

2024-05-20 Thread Grant Orndorff
*** 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

[Bug 2065192] Re: (ubuntu) pro attach doesn't work !

2024-05-20 Thread Grant Orndorff
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

[Bug 2065192] Re: (ubuntu) pro attach doesn't work !

2024-05-16 Thread Grant Orndorff
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.

[Bug 2065192] Re: (ubuntu) pro attach doesn't work !

2024-05-13 Thread Grant Orndorff
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

[Bug 2065192] Re: (ubuntu) pro attach doesn't work !

2024-05-10 Thread Grant Orndorff
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

[Bug 2065192] Re: (ubuntu) pro attach doesn't work !

2024-05-10 Thread Grant Orndorff
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

[Bug 2064624] Re: Warning: W:Unable to read /var/lib/ubuntu-advantage/apt-esm/etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)

2024-05-02 Thread Grant Orndorff
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

[Bug 2055239] Re: Warning: The unit file, source configuration file or drop-ins of {apt-news, esm-cache}.service changed on disk. Run 'systemctl daemon-reload' to reload units.

2024-04-30 Thread Grant Orndorff
It looks like the global need-reload state that Christian investigated that is being set by a snapd operation was added recently in systemd. https://github.com/systemd/systemd/commit/a82b8b3dc80619c3275ad8180069289b411206d0 That is likely why we're only seeing this issue in noble. From reading t

[Bug 2063032] Re: Can't enable or disable livepatch.

2024-04-26 Thread Grant Orndorff
Hello theroblp! Thank you for the bug report! I'm assigning this bug to the livepatch snap as this seems to be a bug in the snap package. It looks like even `snap install canonical-livepatch` is failing. I'll leave it as "incomplete" for the ubuntu-pro-client (ubuntu- advantage-tools) for now in

[Bug 2061236] Re: pro attach command didn't work

2024-04-26 Thread Grant Orndorff
Hello pici-1251! Thank you for the bug report and sorry for the delay in responding. Please do not post your Ubuntu Pro token here as I will set this bug to public for the benefit of others. It looks like `apt list --installed` is returning an error. What happens if you run `apt list --installe

[Bug 2060971] Re: Software Updater crashes upon login

2024-04-26 Thread Grant Orndorff
Hi Adam! What version of update-manager do you have? I believe this was fixed in 1:22.04.20 which was SRU'd recently. ** 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.lau

[Bug 2060769] Re: ubuntu pro

2024-04-26 Thread Grant Orndorff
Hi sistemascps! Thank you for the bug report and sorry for the delay in responding. It looks like a non-UTF-8 character is present in the output of `apt list --installed`. The fix will be to replace the usage of `apt list --installed` with using the python3-apt library to get the list of installe

[Bug 2055239] Re: Warning: The unit file, source configuration file or drop-ins of {apt-news, esm-cache}.service changed on disk. Run 'systemctl daemon-reload' to reload units.

2024-03-13 Thread Grant Orndorff
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

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-11 Thread Grant Orndorff
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

[Bug 2050022] Re: Cannot run apt after installation if attached to Ubuntu Pro

2024-03-08 Thread Grant Orndorff
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

[Bug 2055046] Re: ubuntu-pro-client:3 duplicate log entry for /var/log/ubuntu-advantage-license-check.log

2024-03-08 Thread Grant Orndorff
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

[Bug 2055046] Re: ubuntu-pro-client:3 duplicate log entry for /var/log/ubuntu-advantage-license-check.log

2024-03-08 Thread Grant Orndorff
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

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-08 Thread Grant Orndorff
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

[Bug 2043836] Re: /usr/bin/ubuntu-advantage:UnboundLocalError:wrapper:main:action_security_status:security_status_dict:get_installed_packages_by_origin:__enter__:get_apt_pkg_cache:get_last_known_candi

2024-03-08 Thread Grant Orndorff
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

[Bug 2021988] Re: package ubuntu-advantage-tools 27.14.4 failed to install/upgrade: le sous-processus paquet ubuntu-advantage-tools script pre-removal installé a renvoyé un état de sortie d'erreur 1

2024-03-08 Thread Grant Orndorff
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

[Bug 2019997] Re: pro livepatch status incorrect when run as normal user

2024-03-08 Thread Grant Orndorff
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

[Bug 2019997] Re: pro livepatch status incorrect when run as normal user

2024-03-08 Thread Grant Orndorff
** 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 ]

[Bug 2055046] Re: ubuntu-pro-client:3 duplicate log entry for /var/log/ubuntu-advantage-license-check.log

2024-03-06 Thread Grant Orndorff
** 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

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-06 Thread Grant Orndorff
** 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

[Bug 2055046] Re: ubuntu-pro-client:3 duplicate log entry for /var/log/ubuntu-advantage-license-check.log

2024-03-05 Thread Grant Orndorff
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

[Bug 2055239] Re: Warning: The unit file, source configuration file or drop-ins of {apt-news, esm-cache}.service changed on disk. Run 'systemctl daemon-reload' to reload units.

2024-03-05 Thread Grant Orndorff
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

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-04 Thread Grant Orndorff
** 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

[Bug 2055046] Re: ubuntu-pro-client:3 duplicate log entry for /var/log/ubuntu-advantage-license-check.log

2024-03-04 Thread Grant Orndorff
** 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

[Bug 1880546] Re: 80-esm requires lsb_release but package does not depend on lsb-release

2022-05-24 Thread Grant Orndorff
** Changed in: ubuntu-advantage-tools (Ubuntu) Assignee: (unassigned) => Renan Rodrigo (renanrodrigo) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880546 Title: 80-esm requires lsb_release bu

[Bug 1707290] Re: Removing package leaves motd script in place, renders incorrect motd

2022-05-24 Thread Grant Orndorff
** Changed in: ubuntu-advantage-tools (Ubuntu) Assignee: (unassigned) => Lucas Albuquerque Medeiros de Moura (lamoura) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1707290 Title: Removing pack

[Bug 1956764] Re: Proxy should be set up only for ua-related repos

2022-05-20 Thread Grant Orndorff
** Description changed: + [Impact] + + This was intended behavior, but is considered unintuitive and + undesirable in some situations. + + The issue affects users who want an apt proxy only for ua-related + packages, who may find the `apt_http(s)_proxy` variables and expect them + to do that. Th

[Bug 1972026] Re: ua status incorrectly lists reboot required for pre-built FIPS cloud image

2022-05-19 Thread Grant Orndorff
** Description changed: + [Impact] + + This bug causes users to see an inaccurate message saying that a reboot + is required when that is not true. It doesn't affect the operation of + FIPS mode, but it is confusing. + + The bug occurs because of a case we have in our postinst which checks + for

[Bug 1969809] Re: ua fails if any package removed from server

2022-05-19 Thread Grant Orndorff
** Description changed: + [Impact] + This bug causes enabling services during a `ua fix` operation to fail. + That means that any user that is attached to a UA contract, but needs a particular service to fix a USN or CVE could run into this bug if they try to use `ua fix` to fix that USN/CVE.

[Bug 1973099] Re: [SRU] ubuntu-advantage-tools (27.8 -> 27.9) Xenial, Bionic, Focal, Impish, Jammy

2022-05-19 Thread Grant Orndorff
** 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:   * A daemon that only runs on GCP * Currently it ends early based on a defau

[Bug 1973099] [NEW] [SRU] ubuntu-advantage-tools (27.8 -> 27.9) Xenial, Bionic, Focal, Impish, Jammy

2022-05-11 Thread Grant Orndorff
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:   * A daemon that only runs on GCP * Currently it ends early based on a default config set

[Bug 1964134] Re: [FFe] ubuntu-advantage-tools 27.7

2022-05-11 Thread Grant Orndorff
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Triaged => 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/1964134 Title: [FFe] ubuntu-advantage-tools 27.7 To manage notifi

[Bug 1956764] Re: Proxy should be set up only for ua-related repos

2022-05-11 Thread Grant Orndorff
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Fix Committed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1956764 Title: Proxy should be set up only for ua-related rep

[Bug 1972067] Re: package ubuntu-advantage-tools 27.8~22.04.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess was killed by signal (Broken pipe)

2022-05-09 Thread Grant Orndorff
Hi odoncaoa, Thanks for taking the time to report this bug and make Ubuntu better! Before discussing the snap related issues you've brought here I want to clarify my understanding: Are you experiencing any problems related to the ubuntu-advantage-tools package (which provides the `ua` command lin

[Bug 1968067] Re: upgrade_lts_contract.py exception on impish and later

2022-05-06 Thread Grant Orndorff
It doesn't look like this bug was captured by the normal automation for the impish SRU of ubuntu-advantage-tools 27.8, but I have performed the verification and the fix works as expected. Please see the attached log. ** Attachment added: "impish-verification-1968067.txt" https://bugs.launchpad

[Bug 1969125] Re: [SRU] ubuntu-advantage-tools (27.7 -> 27.8) Xenial, Bionic, Focal, Impish, Jammy

2022-04-22 Thread Grant Orndorff
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

[Bug 1968067] Re: upgrade_lts_contract.py exception on impish and later

2022-04-22 Thread Grant Orndorff
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

[Bug 1968067] [NEW] upgrade_lts_contract.py exception on impish and later

2022-04-06 Thread Grant Orndorff
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

[Bug 1967982] Re: ua auto-attach on AWS Trusty Pro not working

2022-04-06 Thread Grant Orndorff
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

[Bug 1964134] Re: [FFe] ubuntu-advantage-tools 27.7

2022-03-18 Thread Grant Orndorff
Thank you Lukasz! Yes, we understand this timing is unideal. We'll try to avoid such a late release in the future. We will certainly land this before Beta freeze. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.n

[Bug 1964134] Re: [FFe] ubuntu-advantage-tools 27.7

2022-03-08 Thread Grant Orndorff
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

[Bug 1964134] [NEW] [FFe] ubuntu-advantage-tools 27.7

2022-03-08 Thread Grant Orndorff
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

[Bug 1964028] Re: [SRU] ubuntu-advantage-tools (27.6 -> 27.7) Xenial, Bionic, Focal, Impish

2022-03-07 Thread Grant Orndorff
** 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

[Bug 1964028] [NEW] [SRU] ubuntu-advantage-tools (27.6 -> 27.7) Xenial, Bionic, Focal, Impish

2022-03-07 Thread Grant Orndorff
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

[Bug 1960712] Re: package ubuntu-advantage-tools 27.6~20.04.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess was killed by signal (Terminated)

2022-02-14 Thread Grant Orndorff
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

[Bug 1960689] Re: livepatch is not able to enabled

2022-02-14 Thread Grant Orndorff
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

  1   2   >