tools/make_test_data.sh script does not work

Bug #1389684 reported by Ilya Tyaptin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Low
Lena Novokshonova

Bug Description

When we run tools/make_test_data.sh it raises TypeError:

Traceback (most recent call last):
  File "tools/make_test_data.py", line 213, in <module>
    main()
  File "tools/make_test_data.py", line 191, in main
    start = datetime.datetime.utcnow() - datetime.timedelta(days=args.start)
TypeError: unsupported type for timedelta days component: str

Ilya Tyaptin (ityaptin)
Changed in ceilometer:
assignee: nobody → Ilya Tyaptin (ityaptin)
gordon chung (chungg)
Changed in ceilometer:
status: New → Triaged
importance: Undecided → Low
Changed in ceilometer:
assignee: Ilya Tyaptin (ityaptin) → Lena Novokshonova (enovokshonova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

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

Changed in ceilometer:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

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

commit f1c84280069fd8761d29ab7a05f8a4d3211d0299
Author: Lena Novokshonova <email address hidden>
Date: Thu Dec 11 17:25:03 2014 +0400

    Improve tools/make_test_data.sh correctness

    This change allows the script tools/make_test_data.sh and
    tools/make_test_data.py to work correctly by handing
    exceptions appropriately.

    Change-Id: Ib054c3e10d617686928bf03f94c5ff868905afde
    Closes-bug: 1389684

Changed in ceilometer:
status: In Progress → Fix Committed
Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: none → kilo-2
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: kilo-2 → 2015.1.0
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.