[Openstack-devel] Bug#683337: keystone: fails to install: debconf template keystone/auth-token doesn't exist

Andreas Beckmann debian at abeckmann.de
Mon Jul 30 21:51:49 UTC 2012


Package: keystone
Version: 2012.1.1-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package keystone.
  (Reading database ... 18807 files and directories currently installed.)
  Unpacking keystone (from .../keystone_2012.1.1-2_all.deb) ...
  Setting up keystone (2012.1.1-2) ...
  dpkg: error processing keystone (--configure):
   subprocess installed post-installation script returned error exit status 10
  Errors were encountered while processing:
   keystone

After adding set -x to the postinst script:

# dpkg --configure --pending
Setting up keystone (2012.1.1-2) ...
+ set -e
+ '[' configure = configure ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' '' ']'
++ PERL_DL_NONLAZY=1
++ export PERL_DL_NONLAZY
++ '[' '' ']'
++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/keystone.postinst configure ''
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
+ set -e
+ '[' configure = configure ']'
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ . /usr/share/dbconfig-common/dpkg/postinst
+ adduser --system --home /var/lib/keystone --no-create-home --quiet --disabled-password --group keystone
+ db_get keystone/configure_db
+ _db_cmd 'GET keystone/configure_db'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET keystone/configure_db'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET=false
+ case ${_db_internal_line%%[   ]*} in
+ return 0
+ '[' false = true ']'
+ '[' -z '' ']'
+ db_get keystone/auth-token
+ _db_cmd 'GET keystone/auth-token'
+ _db_internal_IFS='
'
+ IFS=' '
+ printf '%s\n' 'GET keystone/auth-token'
+ IFS='
'
+ IFS='
'
+ read -r _db_internal_line
+ RET='10 keystone/auth-token doesn'\''t exist'
+ case ${_db_internal_line%%[   ]*} in
+ return 10
dpkg: error processing keystone (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 keystone

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keystone_2012.1.1-2.log.gz
Type: application/x-gzip
Size: 11776 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20120730/9a6d912e/attachment-0001.bin>


More information about the Openstack-devel mailing list