[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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.

[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 +

[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

[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

[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

[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

[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

[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"

[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

[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

[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

[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,

[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.

[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

[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

[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

[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

[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

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

2022-01-11 Thread Grant Orndorff
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

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

2021-12-14 Thread Grant Orndorff
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.

[Bug 1953638] Re: package ubuntu-advantage-tools 27.2.2~16.04.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1

2021-12-09 Thread Grant Orndorff
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 :) --

[Bug 1951954] Re: ua refresh "Unexpected error(s) occurred"

2021-11-23 Thread Grant Orndorff
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

[Bug 1950813] Re: version 27.3: on unattached machines update_status_timer incorrectly pings contracts.canonical.com/v1/resources

2021-11-15 Thread Grant Orndorff
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"

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

2021-11-15 Thread Grant Orndorff
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"

[Bug 1949634] Re: [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish

2021-11-15 Thread Grant Orndorff
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

[Bug 1950576] Re: UA cli / Exception on launch

2021-11-15 Thread Grant Orndorff
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

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

2021-11-10 Thread Grant Orndorff
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

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

2021-11-05 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 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

[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] 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

[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 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

[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

[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

[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 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

[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

[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 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 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 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 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

[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

[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

[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

[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

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

2021-10-08 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

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

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

[Bug 1945559] Re: Failed to start Kernel Modules and small Ubuntu resolution

2021-10-04 Thread Grant Orndorff
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.

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

2021-10-04 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

[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

[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

[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

[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

[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:

[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

[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"

[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

[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:

[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

[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

[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

[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

[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

[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 -

[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] [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

[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

[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.

[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 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

[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

[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

[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

[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

[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

[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 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

[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:

  1   2   >