CinderCronDbPurgeUser is set to 'keystone' by default

Bug #1729352 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Emilien Macchi

Bug Description

I don't know how it worked before but Puppet is now failing at creating the Cinder DB Purge crontab:

"crontab: user `keystone' unknown",
"Error: Puppet::Util::FileType::FileTypeCrontab could not write keystone: Broken pipe",
"Error: /Stage[main]/Cinder::Cron::Db_purge/Cron[cinder-manage db purge]: Could not evaluate: Puppet::Util::FileType::FileTypeCrontab could not write keystone: Broken pipe"

Puppet shouldn't create the cron with 'keystone' user but 'cinder'. This is the bug but I have no idea how it worked until now.

Found here:
http://logs.openstack.org/07/508307/31/check/legacy-tripleo-ci-centos-7-containers-multinode/f221787/logs/undercloud/home/zuul/ansible_steps.log.txt.gz#_2017-11-01_06_33_11

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
assignee: nobody → Emilien Macchi (emilienm)
status: Triaged → In Progress
tags: added: alert
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/516994
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=b99a240ccc4f262ee7626518087784eb92b0152f
Submitter: Zuul
Branch: master

commit b99a240ccc4f262ee7626518087784eb92b0152f
Author: Emilien Macchi <email address hidden>
Date: Wed Nov 1 07:03:27 2017 -0700

    cinder: switch CinderCronDbPurgeUser to 'cinder'

    ... and not 'keystone' or it fails.

    Change-Id: Iee4161ec9d8c7a84997ab24ddd234353f3a81dfb
    Closes-Bug: #1729352

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/517412

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/517413

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/ocata)

Reviewed: https://review.openstack.org/517413
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=602b50f84654619dbd22a06870137c2b758bd237
Submitter: Zuul
Branch: stable/ocata

commit 602b50f84654619dbd22a06870137c2b758bd237
Author: Emilien Macchi <email address hidden>
Date: Wed Nov 1 07:03:27 2017 -0700

    cinder: switch CinderCronDbPurgeUser to 'cinder'

    ... and not 'keystone' or it fails.

    Change-Id: Iee4161ec9d8c7a84997ab24ddd234353f3a81dfb
    Closes-Bug: #1729352
    (cherry picked from commit b99a240ccc4f262ee7626518087784eb92b0152f)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/pike)

Reviewed: https://review.openstack.org/517412
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7d8b3c4ed61a441ab1b44683d82b080ce4db988e
Submitter: Zuul
Branch: stable/pike

commit 7d8b3c4ed61a441ab1b44683d82b080ce4db988e
Author: Emilien Macchi <email address hidden>
Date: Wed Nov 1 07:03:27 2017 -0700

    cinder: switch CinderCronDbPurgeUser to 'cinder'

    ... and not 'keystone' or it fails.

    Change-Id: Iee4161ec9d8c7a84997ab24ddd234353f3a81dfb
    Closes-Bug: #1729352
    (cherry picked from commit b99a240ccc4f262ee7626518087784eb92b0152f)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.4

This issue was fixed in the openstack/tripleo-heat-templates 7.0.4 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.2.5

This issue was fixed in the openstack/tripleo-heat-templates 6.2.5 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0b2

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b2 development milestone.

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.