The buildd slaves and the buildd manager should guard against protocol mismatches

Bug #591679 reported by Julian Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned
launchpad-buildd
Triaged
Low
Unassigned

Bug Description

As recently observed with recipe builds, a protocol change on the master side can effectively kill a buildd if it was not changed in tandem. (expected fields were missing in the request)

To counter this, we need to version the protocol between the slaves and the manager. The manager should send a protocol version with each request and the slave should reject the message if the version doesn't meet expectations.

We also need a way to have this version automatically bumped when the protocol does change, otherwise it's useless. Maybe some sort of hash of the field names instead of a version number?

Changed in launchpad-buildd:
status: New → Triaged
importance: Undecided → Low
Changed in soyuz:
status: New → Triaged
importance: Undecided → Low
tags: added: buildd-manager
tags: added: buildfarm
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.