Error while installing Mariadb from charm store

Bug #1582674 reported by rajith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-mariadb
Triaged
High
Unassigned

Bug Description

Maria db installation from charm store is not successful. Juju status display hook failed installation error and log has

2016-05-17 10:42:46 INFO config-changed Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.pVjq2MUecD --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 0xcbcb082a1bb943db
2016-05-17 10:42:46 INFO config-changed gpg: requesting key 1BB943DB from hkp server keyserver.ubuntu.com
2016-05-17 10:43:07 INFO config-changed gpgkeys: key CBCB082A1BB943DB can't be retrieved
2016-05-17 10:43:07 INFO config-changed gpg: no valid OpenPGP data found.
2016-05-17 10:43:07 INFO config-changed gpg: Total number processed: 0
2016-05-17 10:43:07 INFO config-changed Traceback (most recent call last):
2016-05-17 10:43:07 INFO config-changed File "/var/lib/juju/agents/unit-mariadb-0/charm/hooks/config-changed", line 99, in <module>

Revision history for this message
Charles Butler (lazypower) wrote :

This ties in with the upstream bug on the Maria jira

https://jira.mariadb.org/browse/MDEV-9781

Changed in mariadb (Juju Charms Collection):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Daniel Bartholomew (dbart) wrote :

This looks like network issue to me. The message "key CBCB082A1BB943DB can't be retrieved" indicates that the local server wasn't able to talk to the keyserver.

Unless the error message contains something along the lines of "The repository is insufficiently signed..." the error is not related to https://jira.mariadb.org/browse/MDEV-9781

Some background info:

The log message is the output of the following command that the config-changed hook runs:

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db

Successful output when running the above manually looks like this:

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.BH1UjsdhDR --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
gpg: requesting key 1BB943DB from hkp server keyserver.ubuntu.com
gpg: key 1BB943DB: public key "MariaDB Package Signing Key <email address hidden>" imported
gpg: Total number processed: 1
gpg: imported: 1

Marco Ceppi (marcoceppi)
affects: mariadb (Juju Charms Collection) → charm-mariadb
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers