Launchpad needs to switch to internal keyserver

Bug #81269 reported by Nick Moffitt
8
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Diogo Matsubara

Bug Description

The GPG keyserver that Launchpad relies on is very heavily loaded, and is no doubt affecting Launchpad performance.

Launchpad should switch to "keyserver.internal", which is a new keyserver set up for this purpose.

Revision history for this message
Diogo Matsubara (matsubara) wrote :

I think the following oopses are related: OOPS-387B888, OOPS-387A884, OOPS-387D906

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

What is needed before Launchpad can use the new server? Soyuz has been using it for the past 48 hours.

Revision history for this message
Celso Providelo (cprov) wrote :

We need to modify the current production configuration and roll it out, it's better to wait Stuart to be back next week (we already have an rollout scheduled).

Simply "s\keyserver.ubuntu.com\keyserver.internal" in the relevant config (as I did for ftpmaster), it will replace the gpghandler.host parameter.

But I suspect we will move the problem from the external keyserver to the internal one.
Do we have evidences that the overload on the former keyserver was coming from external sources ?
Because if it was internally generated, LP main app is going to eat keyserver capacity when Soyuz need it or vice-versa and we will end up facing the same situation.

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

The current server is running one of our most resource-hungry public services in addition to the keyserver. I am confident that the performance on the new server will be greatly improved.

I am happy to wait for the scheduled rollout, and will be glad to help out if you need to test the new keyserver in the meantime.

Revision history for this message
Celso Providelo (cprov) wrote :

Hi Nick,

Right, based on you comments I think it's worth to try the internal keyserver for LP app as well.

I won't be here next week but I think matsubara can handle the configuration update and coordinate with stuart to get it rolled.

Thanks for arranging all this.

Changed in launchpad:
assignee: nobody → matsubara
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

It was pointed out to me today that the key registration process requires that the user upload specifically to keyserver.ubuntu.com and then poke launchpad into retrieving it. Since the keyserver software makes no guarantees about the speed of replication, this creates an irritating race to the internal keyserver.

So when this switch is made, care must be taken to keep keyserver.ubuntu.com in the registration code.

Changed in launchpad:
status: Confirmed → In Progress
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Fix committed in RF 4489

Changed in launchpad:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.