Enhancement of test data script for TripleO use

Bug #1349791 reported by Ladislav Smola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Won't Fix
Medium
Ladislav Smola

Bug Description

For TripleO-UI we need a script that will easily populate X days of test data. There are several enhancements and bug fixes needed in the tools/make_test_data.py

Eoghan Glynn (eglynn)
Changed in ceilometer:
assignee: nobody → Ladislav Smola (lsmola)
importance: Undecided → Medium
milestone: none → juno-3
Eoghan Glynn (eglynn)
Changed in ceilometer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/109944
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=db04f196bdcefac0601ff0841e970e810df6a05d
Submitter: Jenkins
Branch: master

commit db04f196bdcefac0601ff0841e970e810df6a05d
Author: Ladislav Smola <email address hidden>
Date: Mon Jul 28 08:12:01 2014 +0000

    Fix make_test_data tools script

    Method get_connection has been renamed to
    get_connection_from_config.

    Resource is object not dictionary, so attributes needs to be
    accessed that way.

    Change-Id: I19e09f3e9077d3346b4361fa6975a3e696e2e765
    Related-Bug: #1349791

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/109945
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=76bb2dd91afbf14d0613894dae299e8947ce31c6
Submitter: Jenkins
Branch: master

commit 76bb2dd91afbf14d0613894dae299e8947ce31c6
Author: Ladislav Smola <email address hidden>
Date: Mon Jul 28 09:31:29 2014 +0000

    Extracting make_resource_metadata method

    Dividing this method into multiple helps to reuse it in
    some tools scripts for generating data.

    Change-Id: I45230cd43d82e946fab394c4b6a1fe6b64cd8937
    Related-Bug: #1349791

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/102502
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=700a7ce3bd72fbfecd91f57c63ac4a53ad30680d
Submitter: Jenkins
Branch: master

commit 700a7ce3bd72fbfecd91f57c63ac4a53ad30680d
Author: Ladislav Smola <email address hidden>
Date: Mon Jul 28 09:41:21 2014 +0000

    Enhancing the make_test_data script

    -Adding random boundaries rather than exact value for samples
    -Allowing to pass datetime object or string
    -Extracting make_test_data func, so it can be imported elsewhere
    -Converting the integer time span to datetime

    Change-Id: Iffbc8d9711b2f301a1f28b49980691ab34d17c20
    Related-Bug: #1349791

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/109946
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=9e97b60195776f703e6f57659bf1f3e1bdc07a95
Submitter: Jenkins
Branch: master

commit 9e97b60195776f703e6f57659bf1f3e1bdc07a95
Author: Ladislav Smola <email address hidden>
Date: Mon Jul 28 09:48:28 2014 +0000

    Adding init into tools folder

    Adding init into tools folder so functions from the tools can be
    imported elsewhere.

    Change-Id: I89347be8e7ef4fdb1428a369c9ed2dfd1f962e9a
    Related-Bug: #1349791

Thierry Carrez (ttx)
Changed in ceilometer:
milestone: juno-3 → juno-rc1
Revision history for this message
Lianhao Lu (lianhao-lu) wrote :

Is this completed or it still needs https://review.openstack.org/#/c/109947 ? But that patch really needs rebase

Revision history for this message
Ladislav Smola (lsmola) wrote :

Still needs 109947, will try to rebase it this week.

Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: juno-rc1 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ceilometer (master)

Change abandoned by Ladislav Smola (<email address hidden>) on branch: master
Review: https://review.openstack.org/109947

Revision history for this message
gordon chung (chungg) wrote :

effort appears to be abandoned. please reopen if still essential

Changed in ceilometer:
status: In Progress → Won't Fix
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.