Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot disable PERCONA_TELEMETRY during installation #116

Open
egezonberisha opened this issue Jan 9, 2025 · 4 comments
Open

Cannot disable PERCONA_TELEMETRY during installation #116

egezonberisha opened this issue Jan 9, 2025 · 4 comments

Comments

@egezonberisha
Copy link

egezonberisha commented Jan 9, 2025

Trying to install Percona Server for MySQL 8.0.40 on Debian 12 but getting an error about percona-telemetry-agent and cannot disable it

Steps to reproduce

 $ cat /etc/os-release  | grep PRETTY_NAME
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"

$  apt-cache policy percona-server-server
percona-server-server:
  Installed: 8.0.28-20-1.bookworm
  Candidate: 8.0.40-31-1.bookworm

$ echo $PERCONA_TELEMETRY_DISABLE
1

$ PERCONA_TELEMETRY_DISABLE=1 apt install percona-server-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 percona-server-server : Depends: percona-telemetry-agent but it is not installable
E: Unable to correct problems, you have held broken packages.

Please let me know if you need more information.

@idoqo
Copy link
Collaborator

idoqo commented Jan 10, 2025

Hi, please share the following:

  • Your CPU architecture
  • percona-release version: (apt-cache policy percona-release)

@egezonberisha
Copy link
Author

egezonberisha commented Jan 10, 2025

CPU architecture:

$ uname -m
x86_64

Is there a way to install Percona Server without enabling telemetry? Since its a hard package dependency probably the package needs to be there also where can I find the .deb package for percona-telemetry-agent?

@idoqo
Copy link
Collaborator

idoqo commented Jan 10, 2025

The raw debs are in our repo archive here: https://repo.percona.com/telemetry/apt/.

You can also try to enable the percona-telemetry repo with percona-release enable telemetry.

Then go ahead and install percona-server with PERCONA_DISABLE_TELEMETRY=1. Note that this will still install the package (since it's a dependency), but no telemetry data will be sent by ps.

@pludi
Copy link

pludi commented Jan 23, 2025

Our solution is to have our automation mask percona-telemetry-agent.service on all machines. Manually that would be systemctl mask percona-telemetry-agent.service, which can be done ahead of installation. That way the process won't even run once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants