GPG Signature Validation failed for mysql community release...

Hi Members,
I am running an ansible Playbook which installs the below community version of MySql repo:

mysql-community-release-e17-5.noarch

But the problem is I am getting the Below error Message:
Fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Failed to validate GPG signature for mysql-community-release-e17-5.noarch”}

How to fix this out?

I am also getting one warning message all the time I tried running the Playbook:
The warning goes like this…
/usr/lib/python2.7/site-packages/ansible/parsing/vault/init.py:44: CryptographyDepreciationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.exceptions import InvalidSignature

Just curious to Know… Is that any relation among these 2 errors?

Anyway, I want to fix both the issure as early as possible. Thanks for reading…

With Hope,
Prabhakaran

Hi Members,
I am running an ansible Playbook which installs the below community version of MySql repo:

mysql-community-release-e17-5.noarch

But the problem is I am getting the Below error Message:
Fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to validate GPG signature for
mysql-community-release-e17-5.noarch"}

How to fix this out?

How does the corresponding task looks like and what is your Linux distribution?

I am also getting one warning message all the time I tried running the Playbook:
The warning goes like this...
/usr/lib/python2.7/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDepreciationWarning: Python 2 is no
longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a
future release.
from cryptography.exceptions import InvalidSignature

Just curious to Know... Is that any relation among these 2 errors?

Use Python 3 :-).

Set the following variable (e.g. in your inventory)

ansible_python_interpreter: /usr/bin/python3

Regards
         Racke

How does the corresponding task looks like and what is your Linux distribution?

Hi Sir, Thanks for your reply. I am using CentOS 7 (Minimal installation) - Command Line Only

I have attached the Task (starfish.yml)

Use Python 3 :slight_smile:

Sorry to say… Actually I am reading a book to learn Asterisk. So I must have to follow his footpaths only…

Signature.asc

You have attached the Signature.asc file. So is this signature file that mysql-repo is asking for?

Please consider and Kindly reply.

With Hope,
Prabhakaran

(attachments)

Starfish.yml (5.17 KB)

How does the corresponding task looks like and what is your Linux distribution?

Hi Sir, Thanks for your reply. I am using CentOS 7 (Minimal installation) - Command Line Only

I have attached the Task (starfish.yml)

Use Python 3 :slight_smile:

CentOS 7 is too old for Python 3, use CentOS 8 :slight_smile:

Though that's not secure, can you try to add

disable_gpg_check: true

to the failing task and see if that helps.

Sorry to say... Actually I am reading a book to learn Asterisk. So I must have to follow his footpaths only...

Signature.asc
You have attached the Signature.asc file. So is this signature file that mysql-repo is asking for?

No, that's my personal GPG signature.

Regards
        Racke

Hi Mr.Racke,
My Sincere thanks to you for answering most of my Questions. Would you Mind if I ask you some more Questions too… Please reply…
With Hope,
Prabhakaran

Hi Racke,

Use Python 3 :-).
I have installed Python 3.8.5

Set the following variable (e.g. in your inventory)
Sorry. I don’t know How to do it… Need your Help on this…

ansible_python_interpreter: /usr/bin/python3

Where to enter the above codeline. Please explain.

With Hope,
Prabhakaran

Hi Members,
I sincerely requesting you all to kindly have a look on my recent Question and answer if possible. Please doesn’t take it otherwise. I am desperate, that’s why. Hope you understand…

With Hope,
Prabhakaran