Your message dated Mon, 08 Aug 2016 16:27:50 +0000
with message-id <[email protected]>
and subject line Bug#826562: fixed in mistral 2.0.0-3
has caused the Debian Bug report #826562,
regarding subprocess installed post-installation script returned error exit 
status 10
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.)


-- 
826562: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826562
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mistral-api
Version: 2.0.0-2
Severity: normal

I got the following when installing mistral-api:

----- s n i p -----
dpkg: error processing package mistral-api (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 mistral-api
----- s n i p -----

Modifying the postinst file:

----- s n i p -----
--- /var/lib/dpkg/info/mistral-api.postinst~    2016-05-20 14:15:20.000000000 
+0100
+++ /var/lib/dpkg/info/mistral-api.postinst     2016-06-06 13:23:25.015683945 
+0100
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-set -e
+set -ex
 
 ### Start of included pkgos_func library
 #!/bin/sh
----- s n i p -----

I then got:

----- s n i p -----
   + IFS=
 read -r _db_internal_line
+ RET=10 mistral/keystone-project-name doesn't exist
+ return 10
dpkg: error processing package mistral-api (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 mistral-api
----- s n i p -----

So, creating a file /tmp/zz:

----- s n i p -----
mistral-api     mistral/keystone-project-name   string  admin
----- s n i p -----

and piping that to debconf-set-selections:

----- s n i p -----
cat /tmp/zz | debconf-set-selections
----- s n i p -----

it now completes successfully.

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-2-amd64 (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mistral-api depends on:
ii  adduser                                 3.114
ii  debconf [debconf-2.0]                   1.5.59
ii  init-system-helpers                     1.34
ii  mistral-common                          2.0.0-2
ii  python-q-text-as-data [q-text-as-data]  1.4.0-1

mistral-api recommends no packages.

mistral-api suggests no packages.

-- debconf information:
  mistral/keystone-admin-name: admin
* mistral/keystone-project-name: admin
  mistral/keystone-ip: 127.0.0.1
  mistral/endpoint-ip: 10.0.4.1
  mistal/keystone-project-name: admin
  mistral/region-name: regionOne

--- End Message ---
--- Begin Message ---
Source: mistral
Source-Version: 2.0.0-3

We believe that the bug you reported is fixed in the latest version of
mistral, 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 mistral 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: Mon, 08 Aug 2016 16:24:10 +0200
Source: mistral
Binary: python-mistral mistral-common mistral-engine mistral-executor 
mistral-api
Architecture: source all
Version: 2.0.0-3
Distribution: unstable
Urgency: medium
Maintainer: PKG OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
 mistral-api - OpenStack Workflow service - API
 mistral-common - OpenStack Workflow service - common files
 mistral-engine - OpenStack Workflow service - Engine
 mistral-executor - OpenStack Workflow service - Executor
 python-mistral - OpenStack Workflow Service - Python libraries
Closes: 826562
Changes:
 mistral (2.0.0-3) unstable; urgency=medium
 .
   * Correct typo in debconf template name mistal -> mistral (Closes: #826562).
Checksums-Sha1:
 4589bd2eacdcc8eb4468ab4a6ee78558c3e9dc79 3764 mistral_2.0.0-3.dsc
 6d78584f01a9cb1f81fa9da162d1799af0d6051a 27060 mistral_2.0.0-3.debian.tar.xz
 a9d9406dec92cea16600af7e430d5c5a5e65d1de 23164 mistral-api_2.0.0-3_all.deb
 e939bc92304d34f3019df8e18f02861524e02567 31706 mistral-common_2.0.0-3_all.deb
 4af8b01726f8f266a11978561fbcc36e3cadae59 5692 mistral-engine_2.0.0-3_all.deb
 610f0a453a95c8e3a6954214b1ade111b3bbb851 5694 mistral-executor_2.0.0-3_all.deb
 0736798e64e6c7081b7bf6e0f52f1e53c3ca7891 159192 python-mistral_2.0.0-3_all.deb
Checksums-Sha256:
 7c9e3ad29af777730e0b78d570ea54f3007037ee1abc071810054b77dccc54fc 3764 
mistral_2.0.0-3.dsc
 aff38b2f79a6d65e1066281bd16669a3a12d08591c2ca5e2dcf7f362e47d84c0 27060 
mistral_2.0.0-3.debian.tar.xz
 7ccd30724d3361656ef493dd83ec98cdae45c43ad1579cf90a06c1e540c41593 23164 
mistral-api_2.0.0-3_all.deb
 b29fdb7ff506442e4e2b08ec9a6b6c286ce34fa5ca54d98446d9908effda4476 31706 
mistral-common_2.0.0-3_all.deb
 086848f75eb87a3f97f31563023fcd92a2cb7f661e751fda5873bee712ad4eed 5692 
mistral-engine_2.0.0-3_all.deb
 6766ec97a229f25b076db5a9cf90e98d1e8c41bf0421690bfe08d0df18c118dd 5694 
mistral-executor_2.0.0-3_all.deb
 17febbdbd485756da713ae6c5ae3885b5a75433df6c21ff43b35f40045a91e7c 159192 
python-mistral_2.0.0-3_all.deb
Files:
 a3be45add689f2ac8c1511a09d8a7aef 3764 net extra mistral_2.0.0-3.dsc
 460bc7bc3037024306c39cac9c78694d 27060 net extra mistral_2.0.0-3.debian.tar.xz
 a084e12c4e05871d6d34b021378588f2 23164 net extra mistral-api_2.0.0-3_all.deb
 f59be8a1e6b40738928714dd48b83370 31706 net extra mistral-common_2.0.0-3_all.deb
 817845101febdd6c181634b846ce0df5 5692 net extra mistral-engine_2.0.0-3_all.deb
 cf2e5a52d6c414a22bacdcfe2c78a90d 5694 net extra 
mistral-executor_2.0.0-3_all.deb
 c16b5ec6878904f0551d8dfdaeddefc0 159192 python extra 
python-mistral_2.0.0-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXqJliAAoJENQWrRWsa0P+OKkQAJK+1JVo2/OUMnkj53z4zLig
Fr0f2+GlcqhAO1kz6QKA2lY7mzjA9yYm6A9KDw8y05tDEjgrQBkptHd/C6vre7WC
ZiLMFsVbCpVcM2i3zCX/DyRODylvSVO/oKuIRI4ap9lv3CEmHGUbipSx27KrAc3S
/qX6JUp5AU9nYg4tsbmAEnl02XlToPwdlwFKoO/ygvVGRJTxozDsnpFE5n7/kqnU
bbU0ekzfybc0mDnbSWWaIE8tO4f0PqryqxmXYaRK6i+GkmzDKXPBIyeZS0Q8EwfB
27Eorjfjo3fWCXLC6gJ6G0fiuSo07WhHOO9a1xBNme718B5bXaUJkBBPbZS3q9nJ
2pLY71XLH6tnskpr7L8SUBy0jlCzf620mHBD8zzZGgtLBed0l0Shn2hQ8CPrQIbY
CGqURw57SCpdezNlkgIOS4UBMghE/wPYNI1UNh3cjya0A7MUUDCtGs9Bt1v4q/2n
/K0aJa1Twlofv/HUxrPrjiDqlZHF83VF1TCWKaxIeObiwHj+ialHoivpq8ZLgDMv
E2EvV3ZVZLIkE77HJP+zLePeRvXLXyOcpQnGBz61QgSPiNd6nBRw2Uzenx+uXtax
v9mWzY88AaQV9JGzpWf5IMtZa3NoKQm98eIrbqrT6kPcn3Yp2ULUW+s1Xv8FXb9N
8dY1Ttd61pi3l1nFFVI0
=cfU5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to