Your message dated Tue, 19 Mar 2019 10:34:29 +0000
with message-id <[email protected]>
and subject line Bug#924967: fixed in magnum 7.1.0-2
has caused the Debian Bug report #924967,
regarding magnum-common bug in postinst
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.)


-- 
924967: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924967
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: magnum-common
Version: 7.1.0-1

Hi,

There is a bug in magnum-common postinst script. Below you can find diff
which is fixing issue.

diff --git a/debian/magnum-common.postinst.in b/debian/
magnum-common.postinst.in
index 0ca43661..46921d94 100644
--- a/debian/magnum-common.postinst.in
+++ b/debian/magnum-common.postinst.in
@@ -108,14 +108,13 @@ create_docker_volume_type () {

                db_get magnum/default_docker_volume_type
                 if [ -n "${RET}" ] ; then
-                       echo "===> magnum-common: Creating cinder volume
type ${RET} ..."
                        # --or-show not working , so we have to do
workaround with show
-                       openstack volume type show ${RET} > /dev/null
-                       if [ $? -ne 0 ]; then
-                               openstack volume type create ${RET}
--description "Cinder volume type used by magnum."
-                       else
-                               echo "===> magnum-common: Cinder volume
type ${RET} already exist."
-                       fi
+                        if ! openstack volume type show ${RET} >
/dev/null; then
+                                echo "===> magnum-common: Creating cinder
volume type ${RET} ..."
+                                openstack volume type create ${RET}
--description "Cinder volume type used by magnum."
+                        else
+                                echo "===> magnum-common: Cinder volume
type ${RET} already exist."
+                        fi
                        pkgos_inifile set ${CONF} cinder
default_docker_volume_type ${RET}
                fi
         fi

Before change postinst was failing with return code 1 if cinder volume type
don't exist.

Thanks,
Michal

--- End Message ---
--- Begin Message ---
Source: magnum
Source-Version: 7.1.0-2

We believe that the bug you reported is fixed in the latest version of
magnum, 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.
Michal Arbet <[email protected]> (supplier of updated magnum 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: Tue, 19 Mar 2019 10:41:03 +0100
Source: magnum
Binary: magnum-api magnum-common magnum-conductor python3-magnum
Architecture: source all
Version: 7.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Michal Arbet <[email protected]>
Description:
 magnum-api - OpenStack containers as a service
 magnum-common - OpenStack containers as a service - API server
 magnum-conductor - OpenStack containers as a service - conductor
 python3-magnum - OpenStack containers as a service - Python library
Closes: 924967
Changes:
 magnum (7.1.0-2) unstable; urgency=medium
 .
   * Fix magnum-common.postinst.in (Closes: #924967)
Checksums-Sha1:
 7f3b15e10184d52ea3869d14449569f0d24a1b7f 4058 magnum_7.1.0-2.dsc
 3208446026031eed6cd7ff0f3e19f6c3c92fa9bd 826301 magnum_7.1.0.orig.tar.gz
 74aff823d30681629511db3a9359fce5c5e6b62e 9396 magnum_7.1.0-2.debian.tar.xz
 30eb89119a5c96f11ecd13e02f5234f4b7041932 21996 magnum-api_7.1.0-2_all.deb
 9e57ea1ab249d0f493810175045db1bc945861db 41400 magnum-common_7.1.0-2_all.deb
 4c2e0176cf68d0bd259342635d9a91c5081af4d6 7280 magnum-conductor_7.1.0-2_all.deb
 42201450aea396f6d9001e22240768e64b6405e6 15779 magnum_7.1.0-2_amd64.buildinfo
 3d94fd4d1451a27fa03024db69af420bd4e5e545 288088 python3-magnum_7.1.0-2_all.deb
Checksums-Sha256:
 96609f1d37a8e9f153208e13c5251cd9f6cea687cb09775879151eb399da4f1f 4058 
magnum_7.1.0-2.dsc
 228d309ca49d2f56080956dd751b9028f93645946cfbdae256d44208e226873d 826301 
magnum_7.1.0.orig.tar.gz
 268ce79560115237c8379bb0a656d12e97236e0e3f0c810052c8a9588672f955 9396 
magnum_7.1.0-2.debian.tar.xz
 a533f03b8a173f5e2ae8d1c701df1db49deee33080616a2b3434248d9800d721 21996 
magnum-api_7.1.0-2_all.deb
 87a8ee8e2865c86afd8284bef5cba6edf70f2165f9257af3e58471fa5793939c 41400 
magnum-common_7.1.0-2_all.deb
 1ba86c86cc1eb00eb0b4c6bade809a009e24f8388d89c8a0b9959f51e900ea31 7280 
magnum-conductor_7.1.0-2_all.deb
 b7c95b9cfdf62fea3a8348799556f0e1b4a539ad7e7835327920ee5e8c7ddcb9 15779 
magnum_7.1.0-2_amd64.buildinfo
 73c5b48c627662c0fa720d09b0d0148e8e92025e8c2c332406b402d24c103d00 288088 
python3-magnum_7.1.0-2_all.deb
Files:
 3a07de1d3beb00a960f746bb9c6b7c95 4058 net optional magnum_7.1.0-2.dsc
 140826a2a6f481867b7602270c651c6a 826301 net optional magnum_7.1.0.orig.tar.gz
 e0c71bcd7b669c468b725b56c814f421 9396 net optional magnum_7.1.0-2.debian.tar.xz
 0fd7f95030811b6d6f3f6062ffe8dae5 21996 net optional magnum-api_7.1.0-2_all.deb
 50fa61d02989d3fc0f314876cef2643d 41400 net optional 
magnum-common_7.1.0-2_all.deb
 7b18c7d89fbf13494e255b17712127ce 7280 net optional 
magnum-conductor_7.1.0-2_all.deb
 d363b778b1e7df8e0c10c31032a1c2eb 15779 net optional 
magnum_7.1.0-2_amd64.buildinfo
 37887902020876d9eb4b075efea8890f 288088 python optional 
python3-magnum_7.1.0-2_all.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5XQmXq/+PEpA+qGNSgz2OUJ4hOMFAlyQv/kACgkQSgz2OUJ4
hOPC1xAAzmB08mGfSP8ZMeIl25sdSge025nNOIsIlJ67weJAMRgo486uONjvMUDz
2yNEf7ScJ+gXl9IVqhSACR8K7MxPyq25NDqGE5ZiePYVHthVnsmUAZyaux4BrzLw
AeQINMDRixK50gx5/wS+9cNQ4KECMVI5vqXY2eDQDpVab3ZxU9teHMdVpTHN73XW
8/xnYGNU8jLunet2mRciiZY0kIEQ1xoByNUk5ol5LrRT9LfdGgrbI+eZzcWQgpZU
iYGqATPqf3EMKcmwFBNyBDLqYEpXmyPymynjLQ/AZxW2W+eMmKojS43oSr3u3nRI
Sc82rnc16jkNYFQqAnEVZVPh1JOMKpM5HREe+vIasp3I1VTqKdDnthNUGezdd5u0
Y8FC1LW9DE4qbiM4vF24EuHyKpg4O6m1AfUSD0FdIiFaLJQGrvTXHVg0DzHs7Hf5
az81sPC4MjbH0zHKSJ1+FEIByg6fXw4n8WtzR5za1yk/lJGaC8iTuBoxsvoJLOUO
qGSY45dXMc/XR3f5iiTwSEdvFbXfEQKacqUewut7amLgI8+vv6qK0NOH0vvk3OjB
PDpocUMBbZYBwNvvZFNlan9KqAGPGfWB9vBlq24jOXIMWwNBWdTfSDEXM4LMbWTb
ZXTMbosbpIPYAOjx/PzXu2lJ5gAbqdp2h0zJefRE0ESnp1SXWSE=
=sF7g
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to