Error: bad username; while reading /etc/cron.d/keystone-token-flush

Bug #1578914 reported by Billy Olsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystone (Juju Charms Collection)
Fix Released
Medium
Billy Olsen

Bug Description

When upgrading to the 16.04 keystone charm, with use_syslog = False, the token flush cron job fails to run due to missing the keystone username.

Sample syslog output:

cron[1844]: Error: bad username; while reading /etc/cron.d/keystone-token-flush
cron[1844]: (*system*keystone-token-flush) ERROR (Syntax error, this crontab file will be ignored)

Tags: openstack sts
Changed in keystone (Juju Charms Collection):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Billy Olsen (billy-olsen)
milestone: none → 16.07
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-keystone (stable/16.04)

Fix proposed to branch: stable/16.04
Review: https://review.openstack.org/313225

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-keystone (stable/16.04)

Change abandoned by Billy Olsen (<email address hidden>) on branch: stable/16.04
Review: https://review.openstack.org/313225
Reason: Yargh submitted to stable first, will submit to master, then backport

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/313226

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (master)

Reviewed: https://review.openstack.org/313226
Committed: https://git.openstack.org/cgit/openstack/charm-keystone/commit/?id=ce7949805ff69c3ae64c1d43a8c308095dc1b36a
Submitter: Jenkins
Branch: master

commit ce7949805ff69c3ae64c1d43a8c308095dc1b36a
Author: Billy Olsen <email address hidden>
Date: Thu May 5 22:00:51 2016 -0700

    Fix missing keystone user in cron job.

    When use_syslog = False, the keystone-token-flush cronjob omits the
    keystone username in the cron tab file, which causes cron to skip
    the entry and report errors into the cron job. This change fixes
    the problem.

    Change-Id: I2e96eba9e55d9a7e3b9ade2090f88a74467ba334
    Closes-Bug: 1578914

Changed in keystone (Juju Charms Collection):
status: In Progress → Fix Committed
tags: added: openstack sts
Liam Young (gnuoy)
Changed in keystone (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.