[Bug 2083759] Re: An unexpected error occurred: Failed running command '/snap/bin/canonical-livepatch disable' [exit(1)]. Message: error executing disable: livepatchd error: The platform Kylin V10 is

2024-10-07 Thread Renan Rodrigo
Glad to hear that, liuyaqiao! I am marking this bug closed->invalid for ubuntu-advantage-tools, as the tool behaves as expected. Feel free to reach out in case of any doubt or any other issue. ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Invalid -- You received this bug

[Bug 2083759] Re: An unexpected error occurred: Failed running command '/snap/bin/canonical-livepatch disable' [exit(1)]. Message: error executing disable: livepatchd error: The platform Kylin V10 is

2024-10-07 Thread Renan Rodrigo
Yes I have wondered that, in the end livepatch got enabled so at some point in time the system configuration was ok uname and os-release are correct - see how lsb-release differs from those. the immediate solution (which would hopefully make this error go away) is to set the values in lsb-release

[Bug 2083759] Re: An unexpected error occurred: Failed running command '/snap/bin/canonical-livepatch disable' [exit(1)]. Message: error executing disable: livepatchd error: The platform Kylin V10 is

2024-10-07 Thread Renan Rodrigo
Hello, liuyaqiao Thanks for reporting this issue. I am not sure about the Pro support for Kylin, but regardless you should be able to disable Livepatch and detach the machine. I will bring this to the team and keep you posted. -- You received this bug notification because you are a member of Ub

[Bug 2083611] Re: trying to enable livepatch and anbox-cloud

2024-10-07 Thread Renan Rodrigo
Hello, Martin, thanks for reaching out to us. Unfortunately, the error you're seeing when trying to install Livepatch is not caused by the Pro Client. I will loop the snapd people in so they can help in further debugging. ** Information type changed from Private to Public ** Also affects: snapd

[Bug 2083665] Re: ubuntu-pro-client has an unnecessary dependency on python3-pkg-resources

2024-10-04 Thread Renan Rodrigo
@racb I have set this back to In Progress, as we still want to fix it "properly" for PP and ship the correct solution to Oracular too. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083665 Title: ub

[Bug 2083665] Re: ubuntu-pro-client has an unnecessary dependency on python3-pkg-resources

2024-10-04 Thread Renan Rodrigo
Well Thanks @vorlon for all clarifications. After discussion in side channels, we came to the following conclusion: - a new version, 34.1, was uploaded to Oracular and Oracular only, removing the dependency line. I have tested the package without the explicit dependency and everything should wor

[Bug 2083665] Re: ubuntu-pro-client has an unnecessary dependency on python3-pkg-resources

2024-10-04 Thread Renan Rodrigo
I'm very sorry, I tried to say two things at the same time and it ended up horrible. 1. We do have setuptools in the build process, and it does *generate* this code snippet, and that's why we have the dependency. 1. a. This dependency is there because the whole try-importing-and- falling-back is

[Bug 2083665] Re: ubuntu-pro-client has an unnecessary dependency on python3-pkg-resources

2024-10-04 Thread Renan Rodrigo
Ok, I can remove the dependency, but we still depend on setuptools (which on its turn depends on python3-pkg-resources). This triggers a further question, mainly for @vorlon: how will this help with Oracular? Please correct me if I'm wrong, but `apt-rdepends --reverse --state-follow=Installed pyt

[Bug 2083665] Re: ubuntu-pro-client has an unnecessary dependency on python3-pkg-resources

2024-10-04 Thread Renan Rodrigo
The only reference to pkg_resources that we have in the code is seen in the console scripts generated by setuptools: ``` $ cat /usr/bin/pro (...) try: from importlib.metadata import distribution except ImportError: try: from importlib_metadata import distribution except Impor

[Bug 2083144] Re: Error connecting to notices.json: 503

2024-10-01 Thread Renan Rodrigo
Hello Pierre, thanks for reaching out. Unfortunately this is a known bug, and it's been there for some months now. There is nothing we (package maintainers) can do about this - this is a backend error, and the responsible team is aware and working on it. Progress is being tracked in: https://gi

[Bug 2075337] Re: [SRU] py3clean fails when using alternate character set

2024-10-01 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => 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/2075337 Title: [SRU] py3clean fails when using alternate character set

[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-13 Thread Renan Rodrigo
** 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/2078614 Title: pro refresh Failed running command '/snap/bin/canonical-

[Bug 2071468] Re: ELF package metadata failure: environment variable ‘DEB_HOST_ARCH’ not defined

2024-09-12 Thread Renan Rodrigo
** Merge proposal unlinked: https://code.launchpad.net/~renanrodrigo/ubuntu/+source/squid/+git/squid/+merge/472902 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2071468 Title: ELF package metada

[Bug 2073322] Re: Upstream microrelease 6.10

2024-09-10 Thread Renan Rodrigo
** Description changed: Apart from the oracular update, which will not require a FFe since there are no features being introduced here (see the upstream changes section below), this bug tracks the following MRE updates for the Squid package: noble (22.04): Squid 6.10 This updat

[Bug 2073322] Re: Upstream microrelease 6.10

2024-09-10 Thread Renan Rodrigo
** Description changed: Apart from the oracular update, which will not require a FFe since there are no features being introduced here (see the upstream changes section below), this bug tracks the following MRE updates for the Squid package: noble (22.04): Squid 6.10 This updat

[Bug 2071468] Re: ELF package metadata failure: environment variable ‘DEB_HOST_ARCH’ not defined

2024-09-09 Thread Renan Rodrigo
** Merge proposal unlinked: https://code.launchpad.net/~renanrodrigo/ubuntu/+source/squid/+git/squid/+merge/472902 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2071468 Title: ELF package metada

[Bug 2073322] Re: Upstream microrelease 6.10

2024-09-09 Thread Renan Rodrigo
** Merge proposal linked: https://code.launchpad.net/~renanrodrigo/ubuntu/+source/squid/+git/squid/+merge/472902 ** Changed in: squid (Ubuntu) Assignee: Athos Ribeiro (athos-ribeiro) => Renan Rodrigo (renanrodrigo) -- You received this bug notification because you are a member

[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-04 Thread Renan Rodrigo
to capture errors when trying to read this file and erase it if it is corrupt. The next execution of the timer jobs will recreate it. ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Triaged ** Changed in: ubuntu-advantage-tools (Ubuntu) Assignee: (unassigned) =>

[Bug 2077805] Re: "apt download" fails for ESM packages

2024-08-26 Thread Renan Rodrigo
Julian is correct - this is not a bug, it is a feature (: You need root privileges to run apt download / apt changelog. ** 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

[Bug 2076452] Re: ubuntu advantage fails to enable

2024-08-12 Thread Renan Rodrigo
Hello, @musashiii, thanks for reaching out. Looking at the status file provided, I see the client is attached and esm-infra, esm-apps and livepatch are enabled. Could you please elaborate on what is the problem you are facing? It would be nice to know what commands are you trying to execute, what

[Bug 2072489] Re: AppArmor denied errors for ubuntu_pro_apt_news profile

2024-07-29 Thread Renan Rodrigo
The APT News testing for LP: #2069237 all passed, and this is enough to call verification-done for all releases here. Just in case, I have executed the CI test using the package from the archive and checked the failure exists, seeing it pass when using the package in proposed. ** Description chan

[Bug 2068744] Re: Launching ua status → An unexpected error occurred: list index out of range

2024-07-29 Thread Renan Rodrigo
Made small edits to the test case, given that `nala` is not available on all releases we test on, and we actually want the binary to be different rather than an alias to reproduce the bug. After those tweaks, I was able to reproduce the bug when running from the archive, and to verify that the pro

[Bug 2060769] Re: pro-client decodes utf-8 strictly, which causes problems in some locales

2024-07-29 Thread Renan Rodrigo
The Pro Client test suite now contains an integration test that covers the scenario described in this bug (Pro client's commands run successfully in a non-utf8 locale). I have performed the test steps described above for all valid releases, and was able to see the bug is fixed using the package fr

[Bug 2067810] Re: Apparmor denial on /var/lib/dpkg/arch

2024-07-29 Thread Renan Rodrigo
I removed the mantic-related tag, because this fix already landed there for the final version and no new SRUs are being done there as it is EOL -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2067810 Ti

[Bug 2067810] Re: Apparmor denial on /var/lib/dpkg/arch

2024-07-29 Thread Renan Rodrigo
This bug has been already verified for 32.3.1, and now is being moved to v32 in the changelogs. Running the test script provided by Andreas shows that there is no difference on outputs from the archive version to the proposed version (no regressions). I am marking this verification-done for all r

[Bug 1988299] Re: Can't upgrade from 20.04 to 22.04 due to extreme space requirement for /boot

2024-07-27 Thread Renan Rodrigo
Ok I'm having the very same problem now when upgrading from 22.04 to 24.04. - The automatic size that the installer chose for my /boot partition is 704M (no questions asked). - When upgrading to 22.04 from 20.04 I had to manually remove old kernels. Just any kernel update on Jammy nowadays makes

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

2024-07-10 Thread Renan Rodrigo
Given the wider range of problems represented in the bug, I have changed the title/description to accomodate any subprocess returning non-utf8. There is also a new fix plan. I will implement it and we will upload a 33.1 version to proposed fixing this. ** Description changed: [ Impact ] If

[Bug 2069237] Re: [SRU] ubuntu-advantage-tools (32.3 -> 33) Xenial, Bionic, Focal, Jammy, Noble

2024-06-13 Thread Renan Rodrigo
Updated the title to remove Mantic from the releases list - we are not releasing there, because we aim for end of July as the date for v33 to be out and Mantic should be EOL when it happens. There is a Mantic release candidate in the staging PPA, but no upload to mantic-proposed is expected. ** S

[Bug 2068744] Re: Launching ua status → An unexpected error occurred: list index out of range

2024-06-13 Thread Renan Rodrigo
** Description changed: + [ Impact ] + + If `apt` is masked by other helper tools, such as `nala`, as seen in the + original description, `apt list --installed` will return data in a + different format. This will cause the Pro Client to fail to parse the + data, and break. + + The Pro Client sho

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

2024-06-13 Thread Renan Rodrigo
** 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 2069237] Re: [SRU] ubuntu-advantage-tools (32.3 -> 33) Xenial, Bionic, Focal, Jammy, Mantic, Noble

2024-06-13 Thread Renan Rodrigo
** 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: - + + - Some contracts now c

[Bug 2069237] [NEW] [SRU] ubuntu-advantage-tools (32.3 -> 33) Xenial, Bionic, Focal, Jammy, Mantic, Noble

2024-06-12 Thread Renan Rodrigo
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 1991859] Re: pro attach does not cope well with squid-deb-proxy ACLs

2024-06-12 Thread Renan Rodrigo
Hello, Seth We have implemented (a couple releases ago, sorry I forgot to update this here) a better Unexpected APT Error message, which includes the details returned by apt when the exception happens - so you immediately see (before looking at logs) a pointer to what happened. I am closing this

[Bug 2068744] Re: Launching ua status → An unexpected error occurred: list index out of range

2024-06-10 Thread Renan Rodrigo
Nice! We have switched to python3-apt recently, and this will be not a problem anymore in v33. ** 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. https://

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

2024-06-07 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2063032 Title: Can't enable or disable livepatch. To manage notific

[Bug 2068744] Re: Launching ua status → An unexpected error occurred: list index out of range

2024-06-07 Thread Renan Rodrigo
Hi Marco, thanks for reporting this The parsing of `apt list --installed` is failing - we are trying to extract version information using the pattern, and it fails. The root cause fix will be deployed next release. But to know what is happening here, could you please append the output of `apt lis

[Bug 2067810] Re: New Apparmor denial with ubuntu-advantage-tools on bionic

2024-06-05 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => In Progress ** Changed in: ubuntu-advantage-tools (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 2068100] Re: ran `pro detach` to i could then run `pro attach ...` but `pro detach` failed on livepatch

2024-06-05 Thread Renan Rodrigo
Hello, Michael, thanks for reporting this bug. The ubuntu-advantage.log contains tracebacks only related to livepatch, and the Pro Client is behaving as expected as far as I can see. I am including Livepatch people in this bug so they can weigh in on what is happening. I will mark this incomplete

[Bug 2067728] Re: i am facing some issue like notification becomes bigger and some times system get stuck at a place after this recent update and more issue i am facing

2024-06-05 Thread Renan Rodrigo
Hello, lokendar, thanks for reporting this bug. I can see many timeouts in the logs. Those seem to be caused by instability on our servers - we apologise. Now it should be back to normal. Could you try enabling/disabling the services (like livepatch) again? Also, could you elaborate more on 'noti

[Bug 2067580] Re: cannot disable livepatch when /etc/lsb-release is edited

2024-06-05 Thread Renan Rodrigo
Hello, jkwang28, thanks for reporting this bug. Livepatch seems to be relying on the output of /etc/lsb-release to verify compatibility on all operations (including disable/status/etc). I would say editing /etc/lsb-release or /etc/os-release is not something supported from the Pro side. I see the

[Bug 2067076] Re: Ubuntu Pro not attaching nor returning status

2024-06-05 Thread Renan Rodrigo
Hello, John, thanks for raising this issue. I see the tracebacks in the logs are all related to timeouts and disconnects. We apologise, our servers have been unstable for a while :/ Now everything should be normal again. Could you try to attach / run status and see if the problem persists? ** In

[Bug 2067060] Re: Disabling ems-apps fails

2024-06-05 Thread Renan Rodrigo
Hello, Björn, thanks for reaching out and raising this bug. I see you have tried to disable esm-apps, but during that operation, our servers had an unexpected timeout :( Now the service is up again - does this issue still persist? What happens when you run `sudo pro disable` or `sudo pro enabl

[Bug 2066304] Re: update-manager crashed

2024-06-05 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Invalid => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2066304 Title: update-manager crashed To manage notifications about

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

2024-06-05 Thread Renan Rodrigo
Hello, malperry73, thanks for reporting this bug. I cannot reproduce it locally - I have no details from the logs on what exactly did fail. Do you have steps to reproduce this behavior? Can you see the same on different systems? The only smell I see in the logs are errors and warnings for other p

[Bug 2066304] Re: update-manager crashed

2024-06-05 Thread Renan Rodrigo
** Also affects: update-manager (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/2066304 Title: update-manager crashed To manage notifications abou

[Bug 2066304] Re: update-manager crashed

2024-06-05 Thread Renan Rodrigo
Hello, ubtb450, thanks for reporting this bug. I am under the impression this is a duplicate of something already fixed on the update-manager side. I will add them to this bug, and mark incomplete for u-a-t until we get more information. ** Information type changed from Private to Public -- Y

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

2024-06-05 Thread Renan Rodrigo
** Information type changed from Private to Private Security ** Information type changed from Private Security 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/2066294 Title: package ubuntu-

[Bug 2066231] Re: Pro livepatch unable to mount file

2024-06-05 Thread Renan Rodrigo
Hello, sahcadmin, thanks for reporting this bug. It seems there is a problem in querying Livepatch status, so I'll be tagging the Livepatch team to take a look. On the Pro Client's side the behavior seems to be correct, but I'll keep it as incomplete until we have more input. ** Information type

[Bug 2031192] Re: Enabling of Pro Services Does Not Update when using airgapped mirrors over http://

2024-05-29 Thread Renan Rodrigo
The verification for the main SRU bug (https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2060732) was done for 32.2 and no errors were encountered related to this bug. No need to re-do all automation for 32.3, as explained in:https://bugs.launchpad.net/ubuntu/+source/ubuntu-a

[Bug 2033313] Re: Rename ua_logs.tar.gz to up_logs.tar.gz

2024-05-29 Thread Renan Rodrigo
The verification for the main SRU bug (https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2060732) was done for 32.2 and no errors were encountered related to this bug. No need to re-do all automation for 32.3, as explained in:https://bugs.launchpad.net/ubuntu/+source/ubuntu-a

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

2024-05-29 Thread Renan Rodrigo
The verification for the main SRU bug (https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2060732) was done for 32.2 and no errors were encountered related to this bug. No need to re-do all automation for 32.3, as explained in:https://bugs.launchpad.net/ubuntu/+source/ubuntu-a

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

2024-05-29 Thread Renan Rodrigo
I'm re-marking this as verification-done for all releases, as it was verified on 32.2 and the new 32.3 version does not affect this. Further information in: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2067319/comments/1 ** Tags removed: verification-needed verification-

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

2024-05-29 Thread Renan Rodrigo
I'm re-marking this as verification-done for all releases, as it was verified on 32.2 and the new 32.3 version does not affect this. Further information in: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2067319/comments/1 ** Tags removed: verification-needed verification-

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

2024-05-28 Thread Renan Rodrigo
Context on the cloud-init failures: Cloud-init's newer version changed the key used in cloud config for the Pro client from ubuntu_advantage to ubuntu_pro. Because it is a "breaking" change, this works fine on Focal and Jammy, where both keys are accepted, but not on Noble. On Noble, when you use

[Bug 2067319] Re: After upgrading from bionic to focal, esm-cache.service hits apparmor denials

2024-05-28 Thread Renan Rodrigo
Updated the description, as Robie asked, with the problems that could occur. Also outlined the tests to be executed to validate the fix for this bug. ** Description changed: [ Impact ] On ubuntu-advantage-tools v32.2, currently in -proposed, we are hitting apparmor DENIED errors on the a

[Bug 2067319] Re: After upgrading from bionic to focal, esm-cache.service hits apparmor denials

2024-05-28 Thread Renan Rodrigo
** Description changed: [ Impact ] On ubuntu-advantage-tools v32.2, currently in -proposed, we are hitting apparmor DENIED errors on the apt update hook which executes esm- cache.service. This ONLY happens if the version with the apparmor profiles is installed on a Focal system w

[Bug 2067319] [NEW] After upgrading from bionic to focal, esm-cache.service hits apparmor denials

2024-05-27 Thread Renan Rodrigo
Public bug reported: [ Impact ] On ubuntu-advantage-tools v32.2, currently in -proposed, we are hitting apparmor DENIED errors on the apt update hook which executes esm- cache.service. This ONLY happens if the version with the apparmor profiles is installed on a Focal system which has been upgra

[Bug 2066920] Re: Exceptions raised if UA_CONFIG_FILE is bad

2024-05-23 Thread Renan Rodrigo
Hello Nathan, thanks for raising this issue. tl;dr yes docs are wrong. The thing it should express is that this endpoint raises no *specific* exceptions, but at any time unexpected exceptions may happen and will be raised as UbuntuProError instances. There is ongoing work to update this on the d

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

2024-05-08 Thread Renan Rodrigo
I am marking this bug incomplete until we see what is the apt output. @pici-1251, if you could please run the `apt list --installed` command and send us what happens. ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Incomplete -- You received this bug notification because yo

[Bug 2063909] Re: Ubuntu Pro does not detach

2024-05-08 Thread Renan Rodrigo
Hello, harshitseelam, thanks for reporting this bug. I see in the logs that the detach operation fails because livepatch returns an error, saying it is not available in 23.10. I also see you just upgraded to 24.04. Did you try to detach after upgrading? Does it still fail? I tried to reproduce

[Bug 2064790] Re: Problems attaching ubuntu pro

2024-05-08 Thread Renan Rodrigo
*** This bug is a duplicate of bug 2060769 *** https://bugs.launchpad.net/bugs/2060769 Hello, linsms, thanks for reporting this bug. This is a duplicate of LP #2060769 - we will track there. ** Information type changed from Private to Public ** This bug has been marked a duplicate of bug 206

[Bug 2065095] Re: pro service enabling fails due to incorrect aptURL format

2024-05-08 Thread Renan Rodrigo
Hello, bcarbone, thanks for reporting this. I can see how this fails, it looks indeed like a bug. I will bring it to the team, and update you about a solution. ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a me

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

2024-05-08 Thread Renan Rodrigo
Hello, pici-1251, thanks for reporting. The logs show the same error you reported in the other bug. The command returning an error is apt list --installed Could you please run the command above and send us what is the output you see in the command line? ** Information type changed from Private

[Bug 2059952] Re: pro sometimes runs before cloud-config.service

2024-04-03 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => 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/2059952 Title: pro sometimes runs before cloud-config.service To manag

[Bug 2060051] Re: Pro API missing end-point to query service availability

2024-04-03 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => 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/2060051 Title: Pro API missing end-point to query service availability

[Bug 2060051] Re: Pro API missing end-point to query service availability

2024-04-02 Thread Renan Rodrigo
Hello, Nathan, Thank you very much for reporting this bug. The team is aware of the gaps and we have an open item to implement the missing API endpoints. We will keep you posted. ** Changed in: ubuntu-advantage-tools (Ubuntu) Assignee: (unassigned) => Dheyay Desai (dheyayd) -- You receive

[Bug 2059102] Re: Die Aktualisierungsverwaltung läuft nicht mehr durch.

2024-03-27 Thread Renan Rodrigo
Hello, Rainer Thanks for reporting this issue - As the main problem you have is related to update manager, I am targeting the team so they can investigate what happens on their side. - On our side, I can see in the logs that livepatch is failing (whether enabling, disabling, etc;) with "Error run

[Bug 2049785] Re: /usr/bin/update-manager:json.decoder.JSONDecodeError:/bin/update-manager@118:start_update:start_available:refresh_cache:_get_ua_security_status:load:loads:decode:raw_decode

2024-03-21 Thread Renan Rodrigo
Hello everyone who worked on this bug It seems problems with the old Json parsing still happens even in ubuntu-advantage-tools > 30. See https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2058133. I would again ask you to reconsider using the --format json, and moving to using

[Bug 2058133] Re: update-manager applet does exit successfully

2024-03-21 Thread Renan Rodrigo
** 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/2058133 Title: update-manager applet does exit successfully To manage notifications about this bug g

[Bug 2058568] Re: ua enable usg fails on new EC2 instance

2024-03-21 Thread Renan Rodrigo
*** This bug is a duplicate of bug 2058560 *** https://bugs.launchpad.net/bugs/2058560 Hello, Daniel Thanks for reporting this bug Unfortunately this happened due to an outage in contracts.canonical.com. The service is now back online and everything should be working fine. Would you mind try

[Bug 2058570] Re: version 31.2~2.04 does not let me enable esm-apps.

2024-03-21 Thread Renan Rodrigo
*** This bug is a duplicate of bug 2058560 *** https://bugs.launchpad.net/bugs/2058560 Hello, Andrew Thanks for reporting this bug On your first entry, there is a typo in the package name (upbuntu- advantage-tools) but that is not the root cause of the problem, as ubuntu-advantage-tools is in

[Bug 2058563] Re: Unable to register machine with pro

2024-03-21 Thread Renan Rodrigo
*** This bug is a duplicate of bug 2058560 *** https://bugs.launchpad.net/bugs/2058560 Hello, Marco Thanks for reporting this bug Unfortunately this happened due to an outage in contracts.canonical.com. The service is now back online and everything should be working fine. Would you mind tryi

[Bug 2058564] Re: I tryed to attach a this server to ubuntu pro dashboard but it got rejected by some error...

2024-03-21 Thread Renan Rodrigo
*** This bug is a duplicate of bug 2058560 *** https://bugs.launchpad.net/bugs/2058560 Hello, Gabriēls Thanks for reporting this bug Unfortunately this happened due to an outage in contracts.canonical.com. The service is now back online and everything should be working fine. Would you mind t

[Bug 2058565] Re: Ubuntu-Advantage-tools-package crashes when trying to install with license

2024-03-21 Thread Renan Rodrigo
*** This bug is a duplicate of bug 2058560 *** https://bugs.launchpad.net/bugs/2058560 Hello, Seth Thanks for reporting this bug Unfortunately this happened due to an outage in contracts.canonical.com. The service is now back online and everything should be working fine. Would you mind tryin

[Bug 2058555] Re: sudo pro attach

2024-03-21 Thread Renan Rodrigo
*** This bug is a duplicate of bug 2058560 *** https://bugs.launchpad.net/bugs/2058560 Hello, Mirjana Thanks for reporting this bug Unfortunately this happened due to an outage in contracts.canonical.com. The service is now back online and everything should be working fine. Would you mind tr

[Bug 2058556] Re: Can't enable livepatch

2024-03-21 Thread Renan Rodrigo
*** This bug is a duplicate of bug 2058560 *** https://bugs.launchpad.net/bugs/2058560 Hello, Julien Thanks for reporting this bug Unfortunately this happened due to an outage in contracts.canonical.com. The service is now back online and everything should be working fine. Would you mind try

[Bug 2058560] Re: "sudo pro attach " fails

2024-03-21 Thread Renan Rodrigo
Confirmed this error happened because we had an unexpected outage on contracts.canonical.com. I have checked the functionality now, and everything should work fine. Many other bugs were filed at the same time window, and I am marking them duplicates of this one for easier tracking. - We apologis

[Bug 2055737] Re: pro attach `Unexpected error(s) occurred`

2024-03-21 Thread Renan Rodrigo
We had several recent bug reports that also happened due to outages, really close to this one. I will not mark the reports duplicates of this bug here because this one happened on arm64, but I am keeping track of this until we release the better error message. ** Information type changed from P

[Bug 2058560] Re: "sudo pro attach " fails

2024-03-21 Thread Renan Rodrigo
We should have a better message for when this kind of thing happens, so people are not confused. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2058560 Title: "sudo pro attach " fails To manage noti

[Bug 2058564] Re: I tryed to attach a this server to ubuntu pro dashboard but it got rejected by some error...

2024-03-21 Thread Renan Rodrigo
** Information type changed from Private Security 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/2058564 Title: I tryed to attach a this server to ubuntu pro dashboard but it got rejected

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-15 Thread Renan Rodrigo
Now, to the actual functionality test on Jammy: Jammy is an LTS release still supported, so messages about esm-apps will be present in MOTD by default. After creating the marker file and triggering an update of MOTD, those messages disappear, but the updates count remains. root@jammy-sut:~# apt

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-15 Thread Renan Rodrigo
Now, to the actual functionality test on Bionic: Bionic is an EOSS release, so messages about esm-infra will be present in MOTD by default. After creating the marker file and triggering an update of MOTD, those messages disappear, but the updates count remains. root@bionic-sut:~# apt policy upd

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-15 Thread Renan Rodrigo
Now, to the actual functionality test on Focal: Focal is an LTS release still supported, so messages about esm-apps will be present in MOTD by default. After creating the marker file and triggering an update of MOTD, those messages disappear, but the updates count remains. root@focal-sut:~# apt

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-15 Thread Renan Rodrigo
Now, to the actual functionality test on Xenial: Xenial is an EOSS release, so messages about esm-infra will be present in MOTD by default. After creating the marker file and triggering an update of MOTD, those messages disappear, but the updates count remains. root@xenial-sut:~# apt policy upd

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-15 Thread Renan Rodrigo
To verify there are no regressions in messages, and that the new option in apt-check works as intended, I have executed the unit test suite for all releases, as it covers the message generation for an exhaustive amount of cases. On Xenial and Bionic I had to add the data/ folder to the pythonpath,

[Bug 2056651] Re: can't enable livepatch for some reason

2024-03-13 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Incomplete ** 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/2056651 Title: can't

[Bug 2056779] Re: Don't offer realtime on Raspberry Pi

2024-03-12 Thread Renan Rodrigo
Hello, Juerg, thanks for bringing this to our attention. Currently, the definitions for the realtime-kernel service on Pro define it as available on amd64 and arm64. Should we disable it for PIs only or for all arm64? Removing arm64 is quite easy, but detecting if you are running a particular pl

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

2024-03-11 Thread Renan Rodrigo
As orndorffgrant mentioned, here is an excerpt from the test I performed on the transition to deb822. The errors in the do-release-upgrade prevent us from installing the new ubuntu-pro-client when upgrading, but all the list files transition without a problem. This validates the expected behavior f

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-04 Thread Renan Rodrigo
Linked new merge proposals with a different approach to the problem - checking for a marker file instead of passing an option in a conf script - and updated the description to match the new approach. ** Description changed: [ Impact ] If ESM Infra/Apps is available for a system, users will

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-04 Thread Renan Rodrigo
** Merge proposal unlinked: https://code.launchpad.net/~renanrodrigo/ubuntu/+source/update-notifier/+git/update-notifier/+merge/459800 ** Merge proposal unlinked: https://code.launchpad.net/~renanrodrigo/ubuntu/+source/update-notifier/+git/update-notifier/+merge/459796 ** Merge proposal u

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-04 Thread Renan Rodrigo
** Changed in: update-notifier (Ubuntu) Status: Fix Released => In Progress ** Changed in: update-notifier (Ubuntu Xenial) Status: Fix Committed => In Progress ** Changed in: update-notifier (Ubuntu Bionic) Status: Fix Committed => In Progress ** Changed in: update-notifier

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-03-01 Thread Renan Rodrigo
Due to a double brackets expression in the /usr/lib/update- notifier/update-motd-updates-available file in the patch, the script cannot be run by `sh` (which is the interpreter used, as noted in the #! in the start...) I am marking verification failed for all releases. I will put up another uploa

[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-02-28 Thread Renan Rodrigo
Hello, Nobuto, First of all, thanks for reporting this issue. We did changes to the apt news service file - we added the apparmor profiles and systemd security config there - and no, we didn't reload it by default, which may be causing those warnings. However, I could not reproduce this behavior

[Bug 2015420] Re: motd: can't disable esm-related messages

2024-02-26 Thread Renan Rodrigo
@ahasenack Thanks for your review and comments. I have updated the bug description with more detailed information on what to change and where to perform the testing, and also with the decision @enr0n and I took about the translations. > I don't even recall us ever handing out instructions like th

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

2022-05-24 Thread Renan Rodrigo
This is related to this Github Issue: https://github.com/canonical/ubuntu-advantage-client/issues/1245 All maintained versions of UA Client (19+) have removed the call to `lsb_release` and is parsing `os-release` directly, so this error does not happen anymore. ** Bug watch added: github.com/cano

[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-19 Thread Renan Rodrigo
** 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/1972067 Title: package ubuntu-advantage-tools 27.8~22.04.1 failed to ins

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

2022-04-06 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Confirmed => 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/1956764 Title: Proxy should be set up only for ua-related repos

[Bug 1965836] Re: Unexpected error(s) occurred. For more details, see the log: /var/log/ubuntu-advantage.log

2022-03-22 Thread Renan Rodrigo
Hello, grxmr3ap3r, thank you for reporting this bug. Could you please give us more information/context on how/when this error happened? If you have access to a CLI, could you please run `ua collect-logs` and send us the resulting file? Thanks in advance, ** Changed in: ubuntu-advantage-tools (

[Bug 1961168] Re: package ubuntu-advantage-tools 27.6~20.04.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 139

2022-02-21 Thread Renan Rodrigo
** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961168 Title: package ubuntu-advantage-tools 27.6~20.04.1 failed to instal

[Bug 1960198] Re: package ubuntu-advantage-tools 27.5~20.04.1 failed to install/upgrade: installed ubuntu-advantage-tools package post-installation script subprocess returned error exit status 126

2022-02-11 Thread Renan Rodrigo
** 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/1960198 Title: package ubuntu-advantage-tools 27.5~20.04.1 failed to ins

  1   2   >