Cron is not running in keystone container

Bug #1392290 reported by Sebastian Kalinowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sebastian Kalinowski
5.1.x
Fix Released
High
Sebastian Kalinowski

Bug Description

We need to have a running crond service to enable cron tasks execution in keystone container (like token cleanup).

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

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

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

Reviewed: https://review.openstack.org/134177
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=7ae3cac9f2a26fa74c5ee86265d60f836f3f10a3
Submitter: Jenkins
Branch: master

commit 7ae3cac9f2a26fa74c5ee86265d60f836f3f10a3
Author: Sebastian Kalinowski <email address hidden>
Date: Thu Nov 13 13:11:25 2014 +0100

    Ensure that crond is running in Keystone container

    DocImpact
    Change-Id: I51c83c2129205a7c6859c32fb78e2643dbb7d6cf
    Closes-Bug: #1392290

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.1)

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/134475

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.1)

Reviewed: https://review.openstack.org/134475
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=9cc57cfc8902f1d2a96096f331759f42aa947df1
Submitter: Jenkins
Branch: stable/5.1

commit 9cc57cfc8902f1d2a96096f331759f42aa947df1
Author: Sebastian Kalinowski <email address hidden>
Date: Thu Nov 13 13:11:25 2014 +0100

    Ensure that crond is running in Keystone container

    DocImpact
    Closes-Bug: #1392290
    (cherry picked from commit 7ae3cac9f2a26fa74c5ee86265d60f836f3f10a3)

    Change-Id: I51c83c2129205a7c6859c32fb78e2643dbb7d6cf

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #110

"build_id": "2014-11-16_22-00-23", "ostf_sha": "82465a94eed4eff1fc8d8e1f2fb7e9993c22f068", "build_number": "110", "auth_required": true, "api": "1.0", "nailgun_sha": "3e98ea8a042b43be8c00b9f852e19b4c0b853404", "production": "docker", "fuelmain_sha": "137d944d4a658e0358349db0daa2b9bc21ae8218", "astute_sha": "8e05026cf17aeb92e2fb028b3b95ba34803508ed", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-11-16_22-00-23", "ostf_sha": "82465a94eed4eff1fc8d8e1f2fb7e9993c22f068", "build_number": "110", "api": "1.0", "nailgun_sha": "3e98ea8a042b43be8c00b9f852e19b4c0b853404", "production": "docker", "fuelmain_sha": "137d944d4a658e0358349db0daa2b9bc21ae8218", "astute_sha": "8e05026cf17aeb92e2fb028b3b95ba34803508ed", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "4c080377d5d1f4397a257e26c836055889fa3138"}}}, "fuellib_sha": "4c080377d5d1f4397a257e26c836055889fa3138"

[root@fuel ~]# dockerctl shell keystone
[root@3e1bf6d882b9 ~]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 11304 720 ? S 09:20 0:00 /bin/bash -xe /usr/local/bin/start.sh
root 444 0.0 0.0 20496 700 ? Ss 09:22 0:00 crond
root 1029 2.3 0.9 220100 14524 ? S 09:24 4:53 /usr/bin/python /usr/bin/keystone-all
root 1036 0.0 0.6 219904 10460 ? S 09:24 0:00 /usr/bin/python /usr/bin/keystone-all
root 1037 0.0 2.7 265748 41640 ? S 09:24 0:02 /usr/bin/python /usr/bin/keystone-all
root 1038 0.0 3.9 266232 60324 ? S 09:24 0:02 /usr/bin/python /usr/bin/keystone-all
root 1039 0.0 3.8 266172 59852 ? S 09:24 0:02 /usr/bin/python /usr/bin/keystone-all
root 1043 0.1 0.1 11440 1764 ? S 12:55 0:00 /bin/bash
root 1051 0.0 0.0 13368 1068 ? R+ 12:55 0:00 ps aux

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #17

"build_id": "2014-11-16_21-00-23", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "17", "auth_required": true, "api": "1.0", "nailgun_sha": "2fc6fc4261092a591779a8fb7e3fb1623c6abb85", "production": "docker", "fuelmain_sha": "b118fa4475833ce031ef189ce280772c676fa1c9", "astute_sha": "702af3db6f5bca92525bc8322d7d5d7675ec857e", "feature_groups": ["mirantis"], "release": "5.1.1", "release_versions": {"2014.1.3-5.1.1": {"VERSION": {"build_id": "2014-11-16_21-00-23", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "17", "api": "1.0", "nailgun_sha": "2fc6fc4261092a591779a8fb7e3fb1623c6abb85", "production": "docker", "fuelmain_sha": "b118fa4475833ce031ef189ce280772c676fa1c9", "astute_sha": "702af3db6f5bca92525bc8322d7d5d7675ec857e", "feature_groups": ["mirantis"], "release": "5.1.1", "fuellib_sha": "0d3909b9a291880af28dbe48b9c7d25215aa98ea"}}}, "fuellib_sha": "0d3909b9a291880af28dbe48b9c7d25215aa98ea"

[root@fuel ~]# dockerctl shell keystone
[root@677c24d5caab ~]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 11304 1328 ? S 13:31 0:00 /bin/bash -xe /usr/local/bin/start.sh
root 468 0.0 0.0 20496 808 ? Ss 13:33 0:00 crond
root 737 0.0 3.6 237980 55420 ? S 13:34 0:01 /usr/bin/python /usr/bin/keystone-all
root 745 0.3 0.1 11440 1768 ? S 14:23 0:00 /bin/bash
root 752 0.0 0.0 13372 1076 ? R+ 14:23 0:00 ps aux

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.