Hi,

On Sat, Aug 16, 2025 at 10:36:39AM -0400, Reinhard Tartler wrote:
> Source: patroni
> Version: 4.0.6-1
> Severity: important
> 
> Dear Maintainer,
> 
> I'm currently working on updating the etcd-server package from 3.5.16
> -> 3.5.22, and have uploaded the result to debian/experimental. The
> new package brings a number of upstream bugfixes, and I'd like to
> upload it to sid.

Thanks for that and thanks for this report!
 
> While testing reverse dependencies, I've noticed that the autopkgtest
> in the patroni package fail when building against that new version of
> etcd:
> 
> 1269s autopkgtest [12:08:51]: @@@@@@@@@@@@@@@@@@@@ summary
> 1269s test                 PASS
> 1269s acceptance-etcd3-basic FAIL non-zero exit status 1
> 1269s acceptance-etcd3-full FAIL non-zero exit status 1
> 1269s acceptance-etcd-basic PASS
> 1269s acceptance-zookeeper-basic PASS
> 1269s acceptance-raft-basic PASS
 
Looks like it is this error:

|File "/usr/lib/python3/dist-packages/patroni/dcs/etcd3.py", line 461, in set
|     ret = not old_value or int(old_value['mod_revision']) < 
int(value['mod_revision'])
|                                ~~~~~~~~~^^^^^^^^^^^^^^^^
|KeyError: 'mod_revision'
[...]
|patroni.dcs.etcd3.Etcd3Error: unexpected error
|2025-08-16 11:51:12,108 INFO 
[/usr/lib/python3/dist-packages/patroni/__main__.py:215 - _run_cycle]: 
Unexpected exception raised, please report it as a BUG
 
I checked with Patroni upstream about this and they said they'd tried
with both 3.5.22 and latest 3.6 and see no problem, so this does not
seem to be a general error, I'll try to reproduce this and look further
into it.


Michael

Reply via email to