[stat] Modification of OSWL_COLLECTORS_POLLING_INTERVAL doesn't work

Bug #1434534 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Python (Deprecated)

Bug Description

{

    "build_id": "2015-03-20_02-30-10",
    "ostf_sha": "b9a090c71682fbea5d9351051827d7d654d07be3",
    "build_number": "211",
    "release_versions":

{

    "2014.2-6.1":

{

    "VERSION":

{

    "build_id": "2015-03-20_02-30-10",
    "ostf_sha": "b9a090c71682fbea5d9351051827d7d654d07be3",
    "build_number": "211",
    "api": "1.0",
    "nailgun_sha": "1d2bd383caecc5ec3f86bf93ccca940326f23e97",
    "production": "docker",
    "python-fuelclient_sha": "b223dcaf5fdad2f714cd245958fefe03995d6207",
    "astute_sha": "4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9",
    "feature_groups":

            [
                "mirantis"
            ],
            "release": "6.1",
            "fuelmain_sha": "f3d6353c08d8eb709c7ab100b56dc2bebef4157f",
            "fuellib_sha": "7764225db5bc653563309912afbb4058283c808b"
        }
    }

},
"auth_required": true,
"api": "1.0",
"nailgun_sha": "1d2bd383caecc5ec3f86bf93ccca940326f23e97",
"production": "docker",
"python-fuelclient_sha": "b223dcaf5fdad2f714cd245958fefe03995d6207",
"astute_sha": "4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9",
"feature_groups":

    [
        "mirantis"
    ],
    "release": "6.1",
    "fuelmain_sha": "f3d6353c08d8eb709c7ab100b56dc2bebef4157f",
    "fuellib_sha": "7764225db5bc653563309912afbb4058283c808b"

}

Steps:
1. Install fuel
2. Dockerctl shell nailgun
3. Open /usr/lib/python2.6/site-packages/nailgun/settings.yaml
4. Change OSWL_COLLECTORS_POLLING_INTERVAL: for every resource to 60
5. Check in /var/log/nailgun/oswl_*.log

Expected - resources are checked every 60 seconds
Actual - resources are still checked every 5 minutes

see attached oswl log

Tags: stats
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

OSWL_COLLECTORS_POLLING_INTERVAL is checked on collector start. Did you restarted it?

Revision history for this message
Artem Roma (aroma-x) wrote :

You should restart both nailgun and oswl collectors daemons in order to apply changed values of parameters in settings.yaml. This is intended behaviour so I move this bug to "invalid".

Changed in fuel:
status: New → Invalid
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.