GPG Signature Validation failed for mysql community release...

542 views
Skip to first unread message

Prabhakaran Karuppaih

unread,
Sep 24, 2020, 12:19:14 AM9/24/20
to Ansible Project
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



Stefan Hornburg (Racke)

unread,
Sep 24, 2020, 12:52:29 AM9/24/20
to ansible...@googlegroups.com
On 9/24/20 6:19 AM, Prabhakaran Karuppaih wrote:
> 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

>
> Anyway, I want to fix both the issure as early as possible. Thanks for reading...
>
> With Hope,
> Prabhakaran
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> ansible-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/3cde4dfb-ec14-4fce-a4ad-396449751560n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/3cde4dfb-ec14-4fce-a4ad-396449751560n%40googlegroups.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc

Prabhakaran Karuppaih

unread,
Sep 24, 2020, 2:13:12 AM9/24/20
to ansible...@googlegroups.com
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 :-) 

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

You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/OOqgQUs55HE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/13dc5f11-065d-fb16-2324-8a9eb819a235%40linuxia.de.
Starfish.yml

Stefan Hornburg (Racke)

unread,
Sep 24, 2020, 2:40:53 AM9/24/20
to ansible...@googlegroups.com
On 9/24/20 8:12 AM, Prabhakaran Karuppaih wrote:
> 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 :-) 
>

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

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

> Please consider and Kindly reply.
>
> With Hope,
> Prabhakaran
>
> > ansible-proje...@googlegroups.com <mailto:ansible-project%2Bunsu...@googlegroups.com>
> <mailto:ansible-proje...@googlegroups.com <mailto:ansible-project%2Bunsu...@googlegroups.com>>.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/ansible-project/3cde4dfb-ec14-4fce-a4ad-396449751560n%40googlegroups.com
> >
> <https://groups.google.com/d/msgid/ansible-project/3cde4dfb-ec14-4fce-a4ad-396449751560n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
>
> --
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/OOqgQUs55HE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com
> <mailto:ansible-project%2Bunsu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/13dc5f11-065d-fb16-2324-8a9eb819a235%40linuxia.de.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> ansible-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CANguL_y6PLYC3i4VvBpqksVJj-0ann%2BjPmgQe3f5tr9N5PRuFg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CANguL_y6PLYC3i4VvBpqksVJj-0ann%2BjPmgQe3f5tr9N5PRuFg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
signature.asc

Prabhakaran Karuppaih

unread,
Sep 24, 2020, 8:42:21 AM9/24/20
to ansible...@googlegroups.com
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

To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/93be0150-41e9-4511-062c-f2afb1dd51a8%40linuxia.de.

Prabhakaran Karuppaih

unread,
Sep 24, 2020, 10:04:25 AM9/24/20
to ansible...@googlegroups.com
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

You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/OOqgQUs55HE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.

Prabhakaran Karuppaih

unread,
Sep 24, 2020, 7:34:45 PM9/24/20
to ansible...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages