[Bug 1929597] [NEW] [SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute

2021-05-25 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: * See the changelog entry below for a full list of changes and bugs. [Test Case] The follo

[Bug 1929597] Re: [SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute

2021-05-25 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: -* +* avoid segfault when comparing null Apt file origin to esm (LP: #1929

[Bug 1929597] Re: [SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute

2021-05-25 Thread Grant Orndorff
** Description changed: [Impact] - This release sports both bug-fixes and new features and we would like to + This release includes bug-fixes and we would like to make sure all of our supported customers have access to these improvements. The notable ones are: -* avoid segfault when c

[Bug 1929123] Re: segfault in apt-esm-hook

2021-05-26 Thread Grant Orndorff
** Description changed: + [Impact] + + TODO Grant + + [Test Plan] + + Reproduce the bug on a container by adding an apt repo that doesn't have + an "Origin" speficied. When running apt update or apt upgrade you will + see "Segmentation fault (core dumped)" in the output. For example: + + ``` +

[Bug 1929123] Re: segfault in apt-esm-hook

2021-05-26 Thread Grant Orndorff
** Description changed: [Impact] - TODO Grant + This bug results in segfault messages interspersed within apt command + output. The segfaults do not prevent apt from doing its job, but they do + add noise and look concerning. Further, the user will not get the + messages that uatools needs to

[Bug 1929597] Re: [SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute

2021-05-26 Thread Grant Orndorff
** Description changed: [Impact] This release includes bug-fixes and we would like to make sure all of our supported customers have access to these improvements. The notable ones are:    * avoid segfault when comparing null Apt file origin to esm (LP: #1929123)    * make cis service

[Bug 1927329] Re: 'snap wait' fails when enabling livepatch

2021-05-26 Thread Grant Orndorff
** Description changed: + [Impact] + + TODO Grant + + [Test Plan] + + Reproduce the bug by trying to attach ua on a vm with an old version of + snap. For example: + + ``` + multipass launch -n test-xenial-old-snap xenial + multipass shell test-xenial-old-snap + # inside the vm now + sudo apt u

[Bug 1927329] Re: 'snap wait' fails when enabling livepatch

2021-05-26 Thread Grant Orndorff
** Description changed: [Impact] - TODO Grant + This bug results in ua failing to enable livepatch with no guidance to + the user on how to resolve the issue. This only happens when the user + has an older version of snapd installed. + + The fix prints a new helpful message when this situati

[Bug 1929597] Re: [SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute

2021-05-27 Thread Grant Orndorff
Integration test output attached. ** Attachment added: "ua-27.1-integration-test-runs.tar.xz" https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1929597/+attachment/5500756/+files/ua-27.1-integration-test-runs.tar.xz ** Description changed: [Impact] This release includ

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1

2021-06-01 Thread Grant Orndorff
Hi I noticed something and thought to chime in. It appears this may involve a non-standard python installation: Python 3.9 is not in the archives for Bionic of Focal AFAIK. And python3.9 is installed in /usr/local/bin which is not the normal installation location. It is the location that python is

[Bug 1929597] Re: [SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute

2021-06-04 Thread Grant Orndorff
** Also affects: ubuntu-advantage-tools (Ubuntu Xenial) 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/1929597 Title: [SRU] ubuntu-advantage-tools (27.0.2

[Bug 1929597] Re: [SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute

2021-06-16 Thread Grant Orndorff
Yep we actually aren't supporting i386 on focal or anything later than focal. I'm also not sure how to officially ignore those tests or have them removed for future uploads though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https:

[Bug 1929597] Re: [SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute

2021-06-17 Thread Grant Orndorff
First of all, sorry for the radio silence on our end. We decided to rerun the tests and forgot to reply here that we were doing so. As discussed out-of-band: for future SRU verification, we plan on adding specific output to our integration tests that say which version is being tested. For this re

[Bug 1934902] [NEW] [SRU] ubuntu-advantage-tools (27.1 -> 27.2) Xenial, Bionic, Focal, Hirsute

2021-07-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: * See the changelog entry below for a full list of changes and bugs. [Test Case] The follo

[Bug 1934902] Re: [SRU] ubuntu-advantage-tools (27.1 -> 27.2) Xenial, Bionic, Focal, Hirsute

2021-07-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: -* +   * Schema of `ua status --format=json` has been updated to include more

[Bug 1934902] Re: [SRU] ubuntu-advantage-tools (27.1 -> 27.2) Xenial, Bionic, Focal, Hirsute

2021-07-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:   * Schema of `ua status --format=json` has been updated to include more - in

[Bug 1934902] Re: [SRU] ubuntu-advantage-tools (27.1 -> 27.2) Xenial, Bionic, Focal, Hirsute

2021-07-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:   * Schema of `ua status --format=json` has been updated to include more in

[Bug 1932028] Re: missing version dependency on distro-info

2021-07-08 Thread Grant Orndorff
** Description changed: + [Impact] + + If a user on xenial or on bionic has an old version of distro-info and + then upgraded ubuntu-advantage-tools, they will get periodic tracebacks + from our update_messaging systemd unit, and enabling services with ua + will always fail. + + The fix is to sp

[Bug 1932028] Re: missing version dependency on distro-info

2021-07-08 Thread Grant Orndorff
** Description changed: [Impact] If a user on xenial or on bionic has an old version of distro-info and then upgraded ubuntu-advantage-tools, they will get periodic tracebacks from our update_messaging systemd unit, and enabling services with ua will always fail. The fix is to sp

[Bug 1932028] Re: missing version dependency on distro-info

2021-07-08 Thread Grant Orndorff
** Description changed: [Impact] If a user on xenial or on bionic has an old version of distro-info and then upgraded ubuntu-advantage-tools, they will get periodic tracebacks from our update_messaging systemd unit, and enabling services with ua will always fail. The fix is to sp

[Bug 1930741] Re: 20apt-esm-hook.conf is missing semicolons at end of option

2021-07-09 Thread Grant Orndorff
** Description changed: + [Impact] + + This bug caused aptdaemon to miss two configuration options that ubuntu- + advantage-tools relies on for updating its messaging based on apt state. + Apt itself parsed the options despite the syntax mistake, which led to a + difference in understanding betwe

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-27 Thread Grant Orndorff
** Description changed: + [Impact] + + When using an affected version of uaclient (any beta of v27) and using + the `fix` command, the user could be shown a misleading message. + Specifically, if the users machine has the system reboot required flag + set, and then they use the `ua fix` command,

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-27 Thread Grant Orndorff
** Description changed: [Impact] When using an affected version of uaclient (any beta of v27) and using the `fix` command, the user could be shown a misleading message. Specifically, if the users machine has the system reboot required flag set, and then they use the `ua fix` command,

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-27 Thread Grant Orndorff
** Description changed: [Impact] When using an affected version of uaclient (any beta of v27) and using the `fix` command, the user could be shown a misleading message. Specifically, if the users machine has the system reboot required flag set, and then they use the `ua fix` command,

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-27 Thread Grant Orndorff
** Description changed: [Impact] When using an affected version of uaclient (any beta of v27) and using the `fix` command, the user could be shown a misleading message. Specifically, if the users machine has the system reboot required flag set, and then they use the `ua fix` command,

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-27 Thread Grant Orndorff
** Description changed: [Impact] When using an affected version of uaclient (any beta of v27) and using the `fix` command, the user could be shown a misleading message. Specifically, if the users machine has the system reboot required flag set, and then they use the `ua fix` command,

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-27 Thread Grant Orndorff
** Description changed: [Impact] When using an affected version of uaclient (any beta of v27) and using the `fix` command, the user could be shown a misleading message. Specifically, if the users machine has the system reboot required flag set, and then they use the `ua fix` command,

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-28 Thread Grant Orndorff
** Description changed: [Impact] When using an affected version of uaclient (any beta of v27) and using the `fix` command, the user could be shown a misleading message. Specifically, if the users machine has the system reboot required flag set, and then they use the `ua fix` command,

[Bug 1926361] Re: sru ubuntu-advantage-tools (10ubuntu0.16.04.1 -> 27.0) Xenial, Bionic, Focal, Hirsute

2021-04-29 Thread Grant Orndorff
Attaching integration test run output on focal. Note that this was using the ua-client/staging ppa which is the functional equivalent of the proposed release. There is one failure in this log which we (Chad, Lucas, myself) have verified is due to a special case because using the same staging ppa t

[Bug 1926361] Re: sru ubuntu-advantage-tools (10ubuntu0.16.04.1 -> 27.0) Xenial, Bionic, Focal, Hirsute

2021-04-29 Thread Grant Orndorff
Attaching output of test_xenial_upgrade.sh I've verified the output is what we expect. Note that it prints "set up to use the daily ppa" in a couple places, but as you can see right below that output, it is actually setting up to use uaclient from -proposed. ** Attachment added: "test_xenial_upg

[Bug 1926361] Re: sru ubuntu-advantage-tools (10ubuntu0.16.04.1 -> 27.0) Xenial, Bionic, Focal, Hirsute

2021-04-29 Thread Grant Orndorff
Successful focal lxd vm integration test run output ** Attachment added: "focal-vm.txt" https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1926361/+attachment/5493420/+files/focal-vm.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-27 Thread Grant Orndorff
We have a PR up addressing this bug here: https://github.com/canonical /ubuntu-advantage-client/pull/1577 After that PR is merged, ua will not print "A reboot is required to complete fix operation. ✘ CVE-2021-3410 is not resolved." when the update is already installed. It will instead only print:

[Bug 1926183] Re: 'ua fix' tells me to reboot with inaccurate message

2021-04-27 Thread Grant Orndorff
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: In Progress => 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/1926183 Title: 'ua fix' tells me to reboot with inaccurate me

[Bug 1936833] Re: package ubuntu-advantage-tools 27.2.1~21.10.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1

2021-07-19 Thread Grant Orndorff
Thanks for the bug report! ubuntu-advantage-tools tries to run `cloud-id` if the command is present during postinst to find a certain edge case and notify the user. It looks like cloud-id was available, but instance-data.json was missing, so cloud-id failed. I believe this would occur if cloud-in

[Bug 1934902] Re: [SRU] ubuntu-advantage-tools (27.1 -> 27.2) Xenial, Bionic, Focal, Hirsute

2021-07-20 Thread Grant Orndorff
In addition to the integration test logs. Here are manual test logs verifying the correct versions of distro-info are installed on xenial and bionic, as described in https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage- tools/+bug/1932028 ** Attachment added: "distro-info-version-test.tar.xz

[Bug 1934902] Re: [SRU] ubuntu-advantage-tools (27.1 -> 27.2) Xenial, Bionic, Focal, Hirsute

2021-07-20 Thread Grant Orndorff
Please note that this release also fixes #1932028 and #1930741 even though they don't show up on the Pending SRU Page under Changelog Bugs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934902 Title:

[Bug 1932028] Re: missing version dependency on distro-info

2021-07-21 Thread Grant Orndorff
I have verified the version of ubuntu-advantage-tools in -proposed fixes this bug. The logs of my tests are attached here. ** Attachment added: "distro-info-version-test.tar.xz" https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1932028/+attachment/5512594/+files/distro-info

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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 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 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] 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-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 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 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 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 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 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 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 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 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 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 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-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 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-10-14 Thread Grant Orndorff
Thank you Steve for taking a look. You are right on all counts. It appears the code to pre-create log files is unnecessary. If you consider this a blocker then we can remove it in this release. Otherwise we will remove it in 27.4 We purposefully kept the purpose of the enable_periodic_license_ch

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-10-15 Thread Grant Orndorff
Thank you Steve, you raise several good points. 1. The excessive nesting. I agree that it is annoying to read several layers of nested ifs. As an individual issue, we don't think this is a blocker; however if we decide to rewrite this function for this SRU for the below reasons, we can use the e

[Bug 1927905] Re: package ubuntu-advantage-tools 27.0~16.04.1 - ModuleNotFoundError: No module named 'uaclient' - maybe dup 1930121

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 In the absence of more information I'm going to mark this a duplicate of bug 1930121. For now, the likely quick fix is to set PYTHONPATH=/usr/lib/python3/dist-packages We will release a proper fix in ubunt

[Bug 1936683] Re: package ubuntu-advantage-tools 27.1~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 ** This bug is no longer a duplicate of bug 1934077 package ubuntu-advantage-tools 27.1~16.04.1 - ModuleNotFoundError: No module named 'uaclient' - maybe dup 1930121 ** This bug has been marked a duplica

[Bug 1934077] Re: package ubuntu-advantage-tools 27.1~16.04.1 - ModuleNotFoundError: No module named 'uaclient' - maybe dup 1930121

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 I'm going to mark this a duplicate of bug 1930121. For now, the likely quick fix is to set PYTHONPATH=/usr/lib/python3/dist-packages We will release a proper fix in ubuntu-advantage-tools in a coming relea

[Bug 1944700] Re: package ubuntu-advantage-tools 27.2.2~16.04.1 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 This appears to be a duplicate of bug 1930121. For now, the likely quick fix is to set PYTHONPATH=/usr/lib/python3/dist-packages We will release a proper fix in ubuntu-advantage-tools in a coming release.

[Bug 1946034] Re: https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 ** This bug has been marked a duplicate of bug 1930121 package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient' -- You received this bug notification because you

[Bug 1938290] Re: package ubuntu-advantage-tools 27.2.2~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 This appears to be a duplicate of bug 1930121. For now, the likely quick fix is to set PYTHONPATH=/usr/lib/python3/dist-packages We will release a proper fix in ubuntu-advantage-tools in a coming release.

[Bug 1939330] Re: package ubuntu-advantage-tools 27.2.2~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 ** This bug is no longer a duplicate of bug 1938290 package ubuntu-advantage-tools 27.2.2~16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 **

[Bug 1946608] Re: package ubuntu-advantage-tools 27.2.2~16.04.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 Thank you for the bug report! This appears to be a duplicate of bug 1930121. For now, the likely quick fix is to set PYTHONPATH=/usr/lib/python3/dist-packages We will release a proper fix in ubuntu-advant

[Bug 1946532] Re: package ubuntu-advantage-tools 27.2.2~18.04.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 1

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 Thank you for the bug report! This appears to be a duplicate of bug 1930121. For now, the likely quick fix is to set PYTHONPATH=/usr/lib/python3/dist-packages We will release a proper fix in ubuntu-advant

[Bug 1938074] Re: package ubuntu-advantage-tools 27.1~16.04.2 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1

2021-10-15 Thread Grant Orndorff
*** This bug is a duplicate of bug 1930121 *** https://bugs.launchpad.net/bugs/1930121 This appears to be a duplicate of bug 1930121. For now, the likely quick fix is to set PYTHONPATH=/usr/lib/python3/dist-packages We will release a proper fix in ubuntu-advantage-tools in a coming release.

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-10-20 Thread Grant Orndorff
Hi Steve, > Ok, now I see - but that means deb-systemd-helper's auxiliary state will be > permanently out of sync with the systemd state, I think? We are purposefully manipulating d-s-h's state here, but it never becomes out of sync with the systemd state. > Also, this > dh_systemd_enable snippe

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-10-21 Thread Grant Orndorff
Steve and Chad: I just finished a manual test of: 1. Disabling ua-messaging.timer 2. In a chroot, upgrade ubuntu-advantage-tools 3. Check if ua-timer.timer was disabled With the current upload this is unsuccessful, as Steve has predicted. With our proposed change (https://github.com/canonical/ub

[Bug 1939932] Re: Ubuntu PRO Focal on AWS and Azure should not install the generic FIPS kernel via ubuntu-fips metapackage

2021-10-21 Thread Grant Orndorff
Sorry I missed this Steve. I've updated the script to enable proposed instead of use the staging ppa. ** Description changed: [Impact] This bug impacts users on AWS or Azure, trying to enable FIPS/FIPS updates on Focal images. Trying to install a non-cloud-optimized FIPS kernel may lea

[Bug 1930121] Re: package ubuntu-advantage-tools 27.0.2~18.04.1 - ModuleNotFoundError: No module named 'uaclient'

2021-10-25 Thread Grant Orndorff
Hello fagner128, Before we debug farther I just want to make sure we have all the details: Exactly what command is failing? And for example, if "apt upgrade" is failing, does the following work? env PYTHONPATH=/usr/lib/python3/dist-packages apt upgrade If that doesn't work, please provide the

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-10-25 Thread Grant Orndorff
We have run the full ubuntu-advantage-tools integration 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. Next we will r

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-10-26 Thread Grant Orndorff
Attached are logs for all the manual tests for all series. All are working as expected. Marking verification done now. ** Attachment added: "manualtests27.3.tar.xz" https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1942929/+attachment/5536306/+files/manualtests27.3.tar.xz

[Bug 1942929] [NEW] [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-09-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: * See the changelog entry below for a full list of changes and bugs. [Test Case] The follo

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-09-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: -* + * more robust error handling when determining the cloud we're on LP: #194

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-09-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: * more robust error handling when determining the cloud we're on LP: #1940131 LP

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-09-20 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: * more robust error handling when determining the cloud we're on LP: #1940131 LP

[Bug 1938207] Re: ubuntu-advantage-tools.postinst and cloud-id are not robust against failure

2021-09-22 Thread Grant Orndorff
** Description changed: + [Impact] + + If cloud-id fails in a different way from what our postinst currently + checks for, then the postinst script will fail, breaking whatever apt + process was running. + + We fixed this by changing the line that calls cloud-id to + + cloud_id=$(cloud-id 2>/de

[Bug 1942929] Re: [SRU] ubuntu-advantage-tools (27.2.2 -> 27.3) Xenial, Bionic, Focal, Hirsute

2021-09-24 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: * more robust error handling when determining the cloud we're on LP: #1940131 LP

  1   2   >