Add a sub command to make it easier to manage flavors in plans

Bug #1422591 reported by Dougal Matthews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-tuskarclient
Fix Released
Medium
Marek Aufart

Bug Description

It is hard to assign flavors with the plan-patch command. You need to do something like:

    tuskar plan-show overcloud | grep "::Flavor" -A 1
    tuskar plan-patch -A compute-1::Flavor=baremetal $PLAN_ID

A new command to make it easier might look something like this:

    tuskar plan-flavors-list $PLAN_ID
    tuskar plan-flavors-update --role compute --flavor baremetal

Dougal Matthews (d0ugal)
Changed in python-tuskarclient:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tuskarclient (master)

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

Changed in python-tuskarclient:
assignee: nobody → Marek Aufart (maufart)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tuskarclient (master)

Reviewed: https://review.openstack.org/162061
Committed: https://git.openstack.org/cgit/openstack/python-tuskarclient/commit/?id=71d9dab436a1c908b890d421e53ddd0679b5f0d4
Submitter: Jenkins
Branch: master

commit 71d9dab436a1c908b890d421e53ddd0679b5f0d4
Author: Marek Aufart <email address hidden>
Date: Thu Mar 5 16:05:36 2015 +0100

    Add Plan Role-Flavors manage methods

    To make easier assigning flavors to roles in a plan from CLI, commands tuskar
    plan-show-flavors and plan-flavor were added.

    Common code with plan-scale was extracted to separated methods.

    Already existing scaling methods by patching plan's parameters were kept.

    Change-Id: I59b99bc16cc4bb4eacefc242b5327944d9049d69
    Closes-Bug: 1422591

Changed in python-tuskarclient:
status: In Progress → Fix Committed
Jay Dobies (jdob)
Changed in python-tuskarclient:
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.