Your message dated Fri, 24 Jan 2020 09:19:50 +0000
with message-id <[email protected]>
and subject line Bug#946156: fixed in patroni 1.6.3-2
has caused the Debian Bug report #946156,
regarding pg_createcluster_patroni fails with clustername with multiple dashes
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
946156: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946156
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: patroni
Version: 1.6.1-1.pgdg100+1
Hi,
we were trying to setup a patroni cluster with a scope name of
"11-psql-ppo01". This ended up building a cluster of version 11,
named "ppo01", and then obviously mismatching datadirs etc.
Please consider applying the attached patch.
Thanks,
Chris
--- pg_createcluster_patroni~ 2019-12-04 13:30:07.000000000 +0100
+++ pg_createcluster_patroni 2019-12-04 13:28:31.000000000 +0100
@@ -20,11 +20,11 @@
# support both '-' and '/' as separator
if [ $(echo $SCOPE | grep -- -) ]
then
- VERSION=$(echo $SCOPE | sed -e 's/-.*//')
- CLUSTER=$(echo $SCOPE | sed -e 's/.*-//')
+ VERSION=$(echo $SCOPE | cut -d'-' -f1 )
+ CLUSTER=$(echo $SCOPE | cut -d'-' -f2- )
else
- VERSION=$(echo $SCOPE | sed -e 's/\/.*//')
- CLUSTER=$(echo $SCOPE | sed -e 's/.*\///')
+ VERSION=$(echo $SCOPE | cut -d'/' -f1 )
+ CLUSTER=$(echo $SCOPE | cut -d'/' -f2- )
fi
pg_createcluster --start-conf=manual $VERSION $CLUSTER
--- End Message ---
--- Begin Message ---
Source: patroni
Source-Version: 1.6.3-2
We believe that the bug you reported is fixed in the latest version of
patroni, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Banck <[email protected]> (supplier of updated patroni package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 24 Jan 2020 10:08:04 +0100
Source: patroni
Architecture: source
Version: 1.6.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <[email protected]>
Changed-By: Michael Banck <[email protected]>
Closes: 941127 946156
Changes:
patroni (1.6.3-2) unstable; urgency=medium
.
* debian/patches/v12_fix_recovery.conf_parameters.patch: New patch, fixes a
regression in Patroni 1.6.{1-3} where setting restore_command in
postgresql.conf no longer worked.
* debian/tests/control: Strip down depends to test-related packages.
* debian/patches/requirements_setuptools.patch: New patch, add setuptools to
requirements, so that python3-pkg-resources is picked up as package
dependency by dh_python3.
* debian/patches/offline_intersphinx.patch: New patch, force usage of offline
objects.inv from python-doc package instead of downloading it (Closes:
#941127).
* debian/control (Build-Depends): Added python3-doc.
* debian/patches/urlparse_compat.patch: New patch, fixes a regression test
suite failure due to a behaviour change in python3's urlparse, taken from
upstream pull request #1368.
* debian/pg_createcluster_patroni: Allow clusternames with multiple dashes,
patch by Chris Hofstaedtler (Closes: #946156).
Checksums-Sha1:
4e0a14330a47094206fd4c0780d6692c0ad61603 2752 patroni_1.6.3-2.dsc
eaf8458cef199ded6c73f685a6dd52f3db7da0df 19472 patroni_1.6.3-2.debian.tar.xz
bb76887d61f932db1b2130e991169573f6afa89d 6525 patroni_1.6.3-2_source.buildinfo
Checksums-Sha256:
b5ebd85d002d8b91c27fb39f762629c731d12c257527fba5ed82235af27167e4 2752
patroni_1.6.3-2.dsc
c6d4456ccbcad1557ccdace01964134a5bbb43da05f657f51651b195775f13d5 19472
patroni_1.6.3-2.debian.tar.xz
950d5b77300d71d9a1563ccb26bbd3b0d6e56798b2837ec3449579ce4e9f0cd7 6525
patroni_1.6.3-2_source.buildinfo
Files:
a3f29c0d72dfc6a6096e3cfe9a1e4132 2752 database optional patroni_1.6.3-2.dsc
f8cdbf9d0289260d1df2997f2717a728 19472 database optional
patroni_1.6.3-2.debian.tar.xz
c2e09170d036b1a42a5e3b2ab93e35fb 6525 database optional
patroni_1.6.3-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEnKh3dJ+rLk+paGLs3GhqJ7Q0gbAFAl4qtAgACgkQ3GhqJ7Q0
gbA9tQ/+PRFfuIb1oTBK1icX/nPtL3zV4wqFdJV+j1MxJ8VWriW3JZ4uU+ZEKsp2
+TxrYg3GXkQiue8V8TliUbI4thr0ze1v6Rf9R1dxvx8CWsovT533U/j9XF38SWvU
JdGYsem8p5IX1N9fKpVKUnvET5qN7pajyIQN1etUEq2w0WFef8hZtpXTJbS8y6Rr
CNRMPpC5g7pDyfgZE+WtWd5cfO9mWLE3B50vvP7XVSi68qkNv8oed7NEPscIZhwN
k1h6HEDv6QGVHwNJTazVM2N7Nht2BbCE8a5Hp34ihT2a81loTLt3FwV6uUcZCKlX
DZxrf415aI5O8pNj5gnGdWoOHQKfK+YOoFB04vTu2Tw83mdRUCmOMr7zpf9gJFqV
64h0gM9PsRfKW4l3Vj9eHaf8r5FVzEfmqOFasaMxrXLdkvaeJMtZ0mHdtsm3V9T1
BR24ozppMfqGRvDmwJHzlDJ+QPLBtDzgG3K7m8W7W3d+wa33/1Z5/4DJ43uWN3bX
lWF45VV9CUsgzQ7+hZQPF8fLgpyxCIeh9t9jsikE72NyuXrSQdTKxxIS3S+zuEAC
S64umsBLAgQqKRiKLLFlTpmkiSa1LfGwLto4yjGf/zzicrUiHe5rk71BRuwvcoFg
SfNRT+36K40LqlFEr6Oy8CvjZ1GOecrElN9nIPpd5l4bROhfRjk=
=nboN
-----END PGP SIGNATURE-----
--- End Message ---