Your message dated Sun, 09 Sep 2018 21:35:25 +0000
with message-id <[email protected]>
and subject line Bug#902023: fixed in openstack-trove 1:10.0.0-3
has caused the Debian Bug report #902023,
regarding openstack-trove: Multiple calls to pkgos_rabbit_write_conf fail, and
other fixes from Ubuntu.
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.)
--
902023: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902023
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openstack-trove
Version: 1:9.0.0-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu cosmic ubuntu-patch
Dear Maintainer,
Multiple calls to pkgos_rabbit_write_conf cause the trove-common.postinst
script to fail: https://paste.ubuntu.com/p/BT4n6GXy3p/
Additionally, in Ubuntu, the attached patch was applied to achieve the
following:
* d/rules: Align test execution with upstream, including ostestr --serial.
* d/p/fix-usage-of-gettext.install: Fix gettext.install() calls for py3.x.
Thanks for considering the patch.
-- System Information:
Debian Release: buster/sid
APT prefers cosmic
APT policy: (500, 'cosmic'), (500, 'bionic-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.15.0-23-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru openstack-trove-9.0.0/debian/patches/fix-usage-of-gettext.install
openstack-trove-9.0.0/debian/patches/fix-usage-of-gettext.install
--- openstack-trove-9.0.0/debian/patches/fix-usage-of-gettext.install
1969-12-31 19:00:00.000000000 -0500
+++ openstack-trove-9.0.0/debian/patches/fix-usage-of-gettext.install
2018-06-21 11:54:58.000000000 -0400
@@ -0,0 +1,112 @@
+From 08d581fd5c4dcd91cf5999fa270d32e6fe6edf43 Mon Sep 17 00:00:00 2001
+From: Corey Bryant <[email protected]>
+Date: Mon, 18 Jun 2018 09:10:57 -0400
+Subject: [PATCH] py3.x: Fix usage of gettext.install
+
+This needed to be updated to get py3.x to work.
+
+Change-Id: I987854c0266566e1e7722478dbb3e27bcffbb08b
+Closes-Bug: #1777440
+---
+ integration/tests/integration/int_tests.py | 6 +++++-
+ integration/tests/integration/tests/colorizer.py | 6 +++++-
+ trove/cmd/common.py | 4 ----
+ trove/cmd/guest.py | 3 ---
+ trove/cmd/manage.py | 5 -----
+ 5 files changed, 10 insertions(+), 14 deletions(-)
+
+diff --git a/integration/tests/integration/int_tests.py
b/integration/tests/integration/int_tests.py
+index b139820a..1e73a224 100644
+--- a/integration/tests/integration/int_tests.py
++++ b/integration/tests/integration/int_tests.py
+@@ -45,6 +45,7 @@ import logging
+ import os
+ import time
+ import unittest
++import six
+ import sys
+ import proboscis
+
+@@ -73,7 +74,10 @@ def add_support_for_localization():
+ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
+ sys.path.insert(0, possible_topdir)
+
+- gettext.install('nova', unicode=1)
++ if six.PY2:
++ gettext.install('nova', unicode=1)
++ else:
++ gettext.install('nova')
+
+
+ MAIN_RUNNER = None
+diff --git a/integration/tests/integration/tests/colorizer.py
b/integration/tests/integration/tests/colorizer.py
+index 31cdb201..7defd0c2 100644
+--- a/integration/tests/integration/tests/colorizer.py
++++ b/integration/tests/integration/tests/colorizer.py
+@@ -59,10 +59,14 @@ import heapq
+ import logging
+ import os
+ import unittest
++import six
+ import sys
+ import time
+
+-gettext.install('nova', unicode=1)
++if six.PY2:
++ gettext.install('nova', unicode=1)
++else:
++ gettext.install('nova')
+
+ from nose import config
+ from nose import core
+diff --git a/trove/cmd/common.py b/trove/cmd/common.py
+index 1e756e81..1267ed9f 100644
+--- a/trove/cmd/common.py
++++ b/trove/cmd/common.py
+@@ -15,10 +15,6 @@
+
+
+ def initialize(extra_opts=None, pre_logging=None):
+- # Initialize localization support (the underscore character).
+- import gettext
+- gettext.install('trove', unicode=1)
+-
+ # Import only the modules necessary to initialize logging and determine if
+ # debug_utils are enabled.
+ import sys
+diff --git a/trove/cmd/guest.py b/trove/cmd/guest.py
+index 687cebe2..d4f90b83 100644
+--- a/trove/cmd/guest.py
++++ b/trove/cmd/guest.py
+@@ -13,9 +13,6 @@
+ # License for the specific language governing permissions and limitations
+ # under the License.
+
+-import gettext
+-gettext.install('trove', unicode=1)
+-
+ import sys
+
+ from oslo_config import cfg as openstack_cfg
+diff --git a/trove/cmd/manage.py b/trove/cmd/manage.py
+index 76500d31..dc44d0f5 100644
+--- a/trove/cmd/manage.py
++++ b/trove/cmd/manage.py
+@@ -13,14 +13,9 @@
+ # License for the specific language governing permissions and limitations
+ # under the License.
+
+-import gettext
+ import inspect
+ import sys
+
+-
+-gettext.install('trove', unicode=1)
+-
+-
+ from oslo_log import log as logging
+
+ from trove.common import cfg
+--
+2.17.1
+
diff -Nru openstack-trove-9.0.0/debian/patches/series
openstack-trove-9.0.0/debian/patches/series
--- openstack-trove-9.0.0/debian/patches/series 2018-02-19 06:13:48.000000000
-0500
+++ openstack-trove-9.0.0/debian/patches/series 2018-06-21 11:54:58.000000000
-0400
@@ -10,3 +10,4 @@
#py3-fix.patch
#py3-fix-map-object-returns-iterator-not-list.patch
Fix_guestagent.test_operating_system_for_Python3.patch
+fix-usage-of-gettext.install
diff -Nru openstack-trove-9.0.0/debian/rules openstack-trove-9.0.0/debian/rules
--- openstack-trove-9.0.0/debian/rules 2018-02-19 06:13:48.000000000 -0500
+++ openstack-trove-9.0.0/debian/rules 2018-06-21 11:54:51.000000000 -0400
@@ -39,9 +39,11 @@
python$$pyvers setup.py install --install-layout=deb --root
$(CURDIR)/debian/tmp; \
done
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
- pkgos-dh_auto_test --no-py2
'trove\.tests\.unittests\.(?!(.*backup\.test_backup_models\.BackupCreateTest\.test_create_backup_cluster_instance_operation_not_supported.*|.*backup\.test_backup_models\.BackupCreateTest\.test_create_instance_not_active.*|.*backup\.test_backup_models\.BackupCreateTest\.test_create_instance_not_found.*|.*mgmt\.test_datastores\.TestDatastoreVersion\.test_version_create.*|.*guestagent\.test_redis_manager\.RedisGuestAgentManagerTest.*|.*guestagent\.test_backups\.MongodbRestoreTests\.test_restore_failed_due_to_pre_restore.*|.*guestagent\.test_backups\.MongodbRestoreTests\.test_restore_failed_due_to_run_restore.*|.*guestagent\.test_backups\.MongodbRestoreTests\.test_restore_success.*|.*backup\.test_backup_models\.BackupCreateTest\.test_create.*|.*backup\.test_backup_models\.BackupDeleteTest\.test_delete.*))'
+ for i in 2 3; do \
+ rm -f trove_test.sqlite; \
+ python$$i-ostestr --serial; \
+ done
endif
- dh_install -O--buildsystem=python_distutils --fail-missing
# Install the config files in the different binary packages
# -guestagent
--- End Message ---
--- Begin Message ---
Source: openstack-trove
Source-Version: 1:10.0.0-3
We believe that the bug you reported is fixed in the latest version of
openstack-trove, 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.
Thomas Goirand <[email protected]> (supplier of updated openstack-trove 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: Sun, 09 Sep 2018 23:18:18 +0200
Source: openstack-trove
Binary: python3-trove trove-api trove-common trove-conductor trove-doc
trove-guestagent trove-taskmanager
Architecture: source all
Version: 1:10.0.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
python3-trove - Database as a Service for OpenStack - Python lib
trove-api - Database as a Service for OpenStack - API server
trove-common - Database as a Service for OpenStack - common files
trove-conductor - Database as a Service for OpenStack - conductor
trove-doc - Database as a Service for OpenStack - doc
trove-guestagent - Database as a Service for OpenStack - guest agent
trove-taskmanager - Database as a Service for OpenStack - taskmanager
Closes: 902023
Changes:
openstack-trove (1:10.0.0-3) unstable; urgency=medium
.
* Call pkgos_rabbit_write_conf only once (Closes: #902023).
Checksums-Sha1:
fcd6951e81a67106943377f825d1ca24c5f53030 4187 openstack-trove_10.0.0-3.dsc
7d7104241bce7100a89bb946e1f00984074aaea6 13400
openstack-trove_10.0.0-3.debian.tar.xz
28d372633c17fba82e5f4f54cbd5af9e5f540a6c 16915
openstack-trove_10.0.0-3_amd64.buildinfo
bfb9e79a7a617c966413955775c4df359e92d00c 618332 python3-trove_10.0.0-3_all.deb
c1ab0e719911477fbeb69a53ce8afd0abf5ec468 23016 trove-api_10.0.0-3_all.deb
ad4d8b8a5ea117d5d12435b667f29d77c5950201 29764 trove-common_10.0.0-3_all.deb
abc4e54bff55c18286a5557fdb2a1b96d6fba072 9644 trove-conductor_10.0.0-3_all.deb
c84f76775c1aa50c539e7c765dfd284c018a7e14 1006820 trove-doc_10.0.0-3_all.deb
24fe761118f7e75f84d654ad4dc0f3bd3296d5cf 9760 trove-guestagent_10.0.0-3_all.deb
f18819e62c9ec25ceed824e25cf98cb62a0d90a1 9716
trove-taskmanager_10.0.0-3_all.deb
Checksums-Sha256:
ad81cf6fe1a82526d01b4b24c694773594424b34e4feaae83b2e8445933ede18 4187
openstack-trove_10.0.0-3.dsc
d1bd8f859194cf424fb3bf785c48cf4a46582e5d03baaa3451f68d2534428cc3 13400
openstack-trove_10.0.0-3.debian.tar.xz
faf86d7e0b06612b9c8ffaa621d89dbbf4b61fdf02a9126155931c7ba8833a12 16915
openstack-trove_10.0.0-3_amd64.buildinfo
c7bc1f4d3d699766860bc7efce8cef8c0267c35adbb2f93eb08a002281aa0d44 618332
python3-trove_10.0.0-3_all.deb
24f7337457e51536b6391d891831c017cba7697039481db7cffc5fd12e7881e6 23016
trove-api_10.0.0-3_all.deb
7db59afb78a894dd1e2e9846b0c343671e1d3593ef30b45221ce3c572ea6fb3e 29764
trove-common_10.0.0-3_all.deb
e43c5fd942cef02089148cb311c195facfdb1fa0a1d4828a1cf63a388251ebf9 9644
trove-conductor_10.0.0-3_all.deb
813ff5efee342ce992acc64b7ae83a15a97ee2e1ef1360464a82fbafda61d1d8 1006820
trove-doc_10.0.0-3_all.deb
314b3cbe9c56d65f3f171e49c6a193d0dddbe8ba5dab02fed58379ebe970ce13 9760
trove-guestagent_10.0.0-3_all.deb
58487ea8e928f29108d50b1b0803c0c26e3942f026f91db6db32fd2e0a0a35e6 9716
trove-taskmanager_10.0.0-3_all.deb
Files:
3cd454023178046d5da1d76543f70359 4187 net optional openstack-trove_10.0.0-3.dsc
7d07cc5821a4dc9a83554c7585f3962b 13400 net optional
openstack-trove_10.0.0-3.debian.tar.xz
dc33d8a3ab8606c5fe738af75d8e00c0 16915 net optional
openstack-trove_10.0.0-3_amd64.buildinfo
5ddea6e69311ce2310819d6325f1b11e 618332 python optional
python3-trove_10.0.0-3_all.deb
eaf4dd90d87afaf3b4885f0f4f90619e 23016 net optional trove-api_10.0.0-3_all.deb
3dc0e64c3b143f8486fd56ec692e484d 29764 net optional
trove-common_10.0.0-3_all.deb
6209d87657416dbea249cca2f1546f56 9644 net optional
trove-conductor_10.0.0-3_all.deb
7aca7aaa299e5ca2c3807f9745593842 1006820 doc optional
trove-doc_10.0.0-3_all.deb
142d5965297bf5fce9738509a57a8697 9760 net optional
trove-guestagent_10.0.0-3_all.deb
6b899b937c7a798e5a4524ba9916117c 9716 net optional
trove-taskmanager_10.0.0-3_all.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAluVjxcACgkQq1PlA1ho
d6bP3RAAlcz3X5PnHL/Tp9s0mtYVAI8t82LvR5F8yE+a6uiUkrqTi5H8ctATcwId
rzNK2tYBsyA84rUFP+dufz9KoPHdC/9i8qhzn1cZxgyw3dJeUqZGGpAx5zAnHb3X
NjL1L/cBsinojHIiQQEEZKjujDSbHzar8zLEWPULKkA1x6owY3uxZKTZs8IyK8fr
BiMps6JblFU4CZi4QQc9Xzb2QKaNXUbuZYTrscu8QT7YOqbQWfJQVNnn25T4+Wmx
enXl9iQeo8gFYUsDQaixlxxZ28OFctU3A9bucX9fhL7Vbb4f9Dtwgh9lbW/UHO7r
Y0qLVVLkTCuJpwscrxqDp1AMecSoDBph0cCyg/SzHevlJfVf+qD1uBk38mc07GvP
UeFIca6MNGe9NNbok5IHLTVXwDoKWNGFLOnxFrUqU2qTGBzMnYGK0Yh+vA7ODi6r
QLnm6GyOtvG4HSUYdHirfVuGLiblom7o0d3JwnjjvJzYPsee2/1a/U7wWYQgW4C4
ApQtIgQl5BixOJBIhz7iub2fbIABir4JDLk84DWR/nFFXYEWG5rxRPcLcO+asxW7
s2151EUmAPilxSFWJXUbRGE8ugHIsjyeNRPb0mb0+DaszC+uJkOqeb7BQ3J/I/LR
4i4KUC4zqBI8+of532KwG1SoswjKv7v5uSe7cUJ+7V0RG8cvKwM=
=Fqks
-----END PGP SIGNATURE-----
--- End Message ---