Your message dated Wed, 29 Jun 2016 22:24:17 +0000
with message-id <[email protected]>
and subject line Bug#828912: fixed in keystone 2:9.0.2-2
has caused the Debian Bug report #828912,
regarding keystone: /etc/cron.hourly/keystone doesn't work unless "provider" is 
 uncommented
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.)


-- 
828912: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828912
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: keystone
Version: 2:9.0.2-1
Severity: minor

The code say

    grep -E '^[ \t]*provider[ \t]*=' /etc/keystone/keystone.conf

but if 'provider' is commented out (as in, "use default value")

    #provider = uuid

then this will match nothing, not run the token_flush and the
script will exit with '1', which is an error, and the mailbox
will be 'spammed' with

     run-parts: /etc/cron.hourly/keystone exited with return code 1

Removing the dash in the config file make it work, so the correct
fix for this would (probably) be something like:

----- s n i p -----
--- /etc/cron.hourly/keystone~  2016-06-21 10:01:26.000000000 +0100
+++ /etc/cron.hourly/keystone   2016-06-28 22:24:23.180502167 +0100
@@ -4,9 +4,9 @@
 
 if [ -x /usr/bin/keystone-manage ] ; then
        # We should only run token_flush if we're using uuid tokens.
-       PROVIDER=$(grep -E '^[ \t]*provider[ \t]*=' /etc/keystone/keystone.conf)
+       PROVIDER=$(grep -E '^[ \t#]*provider[ \t]*=' 
/etc/keystone/keystone.conf)
        if [ -n "${PROVIDER}" ] ; then
-               PROVIDER=$(grep -E '^[ \t]*provider[ \t]*=' 
/etc/keystone/keystone.conf | sed -e 's/[ \t]*provider[ \t]*=//' | awk '{print 
$1}')
+               PROVIDER=$(grep -E '^[ \t#]*provider[ \t]*=' 
/etc/keystone/keystone.conf | sed -e 's/[ \t#]*provider[ \t]*=//' | awk '{print 
$1}')
        else
                PROVIDER=uuid
        fi
----- s n i p -----

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

Kernel: Linux 3.16.0-4-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 keystone depends on:
ii  adduser                                 3.114
ii  dbconfig-common                         2.0.4
ii  debconf [debconf-2.0]                   1.5.59
ii  init-system-helpers                     1.35
ii  lsb-base                                9.20160601
ii  python-keystone                         2:9.0.2-1
ii  python-q-text-as-data [q-text-as-data]  1.4.0-1
pn  python:any                              <none>
ii  sqlite3                                 3.13.0-1
ii  ssl-cert                                1.0.38

keystone recommends no packages.

Versions of packages keystone suggests:
pn  apparmor  <none>

--- End Message ---
--- Begin Message ---
Source: keystone
Source-Version: 2:9.0.2-2

We believe that the bug you reported is fixed in the latest version of
keystone, 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 keystone 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: Wed, 29 Jun 2016 21:47:02 +0200
Source: keystone
Binary: python-keystone keystone keystone-doc
Architecture: source all
Version: 2:9.0.2-2
Distribution: unstable
Urgency: medium
Maintainer: PKG OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
 keystone   - OpenStack identity service
 keystone-doc - OpenStack identity service - documentation
 python-keystone - OpenStack identity service - library
Closes: 828912
Changes:
 keystone (2:9.0.2-2) unstable; urgency=medium
 .
   * Make the cron.hourly work also with a commented provider= directive
     (Closes: #828912).
Checksums-Sha1:
 7107a5b050ee596baf39e11180a493c83bc710fd 3540 keystone_9.0.2-2.dsc
 bc29e8efba15d810579bdde68bc7342d08e37e57 34900 keystone_9.0.2-2.debian.tar.xz
 4e296cfd12177afecba7b46022325ce154d5e9d0 211208 keystone-doc_9.0.2-2_all.deb
 37283cc4a1ea3d33db55ace14f42b1c7445a6624 85102 keystone_9.0.2-2_all.deb
 114b84ae660605ac71f46b9dc80f39e91eca46bf 639142 python-keystone_9.0.2-2_all.deb
Checksums-Sha256:
 4708d3913dd63bd90d69b71b78ef93b4cfb92af4b5ef1a98744625610f138bcc 3540 
keystone_9.0.2-2.dsc
 b16b5dc080d6ad6ec1c0fef47c7908e65a28cae5682d7459458031cddd05f408 34900 
keystone_9.0.2-2.debian.tar.xz
 bfa8060ef6c65500d1bea21d08797d5f6799b5aa0767b4a522f4d691a78b6f6b 211208 
keystone-doc_9.0.2-2_all.deb
 d327a491986a59f345664b20bbb8cd3a0b077d31c4ab8964c2d4b6537b73fb13 85102 
keystone_9.0.2-2_all.deb
 75469d21dd09ec2d734d6cd1a35556a96b965a400e53d6cfa954a7d284c07cdd 639142 
python-keystone_9.0.2-2_all.deb
Files:
 a39bfc09153057f924ab558aa457585d 3540 net extra keystone_9.0.2-2.dsc
 6dbc5362446d9c191442930978c28762 34900 net extra keystone_9.0.2-2.debian.tar.xz
 bebd414c9268f57d4912884bccaf7382 211208 doc extra keystone-doc_9.0.2-2_all.deb
 0054028a42bc5f1559cc71af5712dc2b 85102 net extra keystone_9.0.2-2_all.deb
 53a1da5b6fa2b098b61da6b192728cce 639142 python extra 
python-keystone_9.0.2-2_all.deb

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

iQIcBAEBCAAGBQJXdCdxAAoJENQWrRWsa0P+U4gP/igYcVho/Kir/NKgfYJqZfYD
oHhQLIyktWrBVSv2msp1jtqp/CVPc5F4RypbJoEwhCkM8vhYy79YH9Cr38CX4KkK
FvLWnQMDorussZM36eVRDHDzbKd8HnlccQZECqtsY7MbRtPVmWDjZ74DMdg9uhwU
IhMncCgrVinZKb/JoCnDXMOIxPh+yVgcuRd3dUBwU+GqLjzJbUUSaJxqziNdxcy0
cStk+3hSlXwZfCxjXH6wtKFv2GRtcckewJW2M5i/dwXL2uouJTsxyuBHYhTwXjFs
REhOMVzYDbeMDDpYQMt3QX8/HO4S/2EN7qB433MDAWINPgQqFSt4v2Y/OQxxto5F
eFGZTDWZWB+m+iHhOJ/W2ussKwBx1HWkSfDgb9mYw+8mLHvASvmRIIx1JQOUPmPp
cOPnU2hjq8eoCP+eNl0NLgFjU+oGfq4MdQyUQf6fjVJhnggeg2bGCfYg5GpZahgg
VJH3bFD6O3e/z4jj6p+FNE3e/SLb8a6vvGQrrVZ5ORoLuBwNWfc5GFtYEVHh4fFm
SiyWCDWmbEW2YNJBCSdevg6lh9vaEfIeh0WQGf9mBkRPwm0eACrkxmLtA0c/RqDV
85RTTDWMkQ7iKWIAHNhHogFDqLSq1kYzfHzZjdbV2r60mT3ACkeJE04nMSBuIiIo
6lsp+cq9ErvgjdUkV5/k
=QqDg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to