Samples should be parametrized and use m1.tiny instead of m1.nano as default flavor

Bug #1431700 reported by Dr. Jens Harbott
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Low
Luz Cazares

Bug Description

The flavor m1.nano is not defined in OpenStack by default, it is only created by Devstack later on. In order to have samples that can run on every OpenStack setup, the sample files should be changed to reference m1.tiny.

Revision history for this message
Boris Pavlovic (boris-42) wrote :

I updated title of bug.

What about using Rally task templates with default values?

summary: - Samples should use m1.tiny instead of m1.nano
+ Samples should be parametrized and use m1.tiny instead of m1.nano as
+ default flavor
Changed in rally:
status: New → Triaged
importance: Undecided → Low
Changed in rally:
assignee: nobody → Luz Cazares (luz-cazares)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to rally (master)

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

Changed in rally:
status: Triaged → In Progress
Revision history for this message
Luz Cazares (luz-cazares) wrote :

Boris, I forgot about the unit testing.

Placing parameters on the samples ({% set key = val%}) fails because of the test schema which is not valid (It expects yaml/json basic tags only).
Do I have change the behavior of the test schema? Or we should forget about adding parameters on the sample files?

Please advise.
Best Regards

Revision history for this message
Boris Pavlovic (boris-42) wrote :

I added a comment to your patch please take a look at it

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

Reviewed: https://review.openstack.org/210755
Committed: https://git.openstack.org/cgit/openstack/rally/commit/?id=ce6d3bd1f0b67526b5f0bbeb5a4a3bdd8e0cacb7
Submitter: Jenkins
Branch: master

commit ce6d3bd1f0b67526b5f0bbeb5a4a3bdd8e0cacb7
Author: Luz Cazares <email address hidden>
Date: Sat Aug 8 13:54:50 2015 -0500

    Set samples default flavor to m1.tiny

    Summary:
    Samples should use m1.tiny instead of m1.nano
    Samples should be parametrized and use m1.tiny instead of m1.nano as default flavor.

    Change-Id: Ie820c573c0a9971a54f7ab20a7454a2f05dc88d2
    Closes-Bug: #1431700

Changed in rally:
status: In Progress → Fix Committed
Changed in rally:
milestone: none → 0.1.0
Changed in rally:
status: Fix Committed → Fix Released
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.