baymodel-update doesn't support baymodel name

Bug #1516900 reported by Eli Qiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Eli Qiao

Bug Description

We need to fix this:

taget@taget-ThinkStation-P300:~/devstack$ magnum baymodel-update swarmmodel replace docker_volume_size=1
ERROR: Invalid input for field/attribute baymodel_uuid. Value: 'swarmmodel'. unable to convert to uuid (HTTP 400)

taget@taget-ThinkStation-P300:~/devstack$ magnum baymodel-update feebf450-fa28-4aac-9d09-986a961ee89a replace docker_volume_size=1

Eli Qiao (taget-9)
Changed in magnum:
assignee: nobody → Eli Qiao (taget-9)
Eli Qiao (taget-9)
Changed in magnum:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

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

Reviewed: https://review.openstack.org/246279
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=00b53e2637112dc3721f46ee0a0b900ffd7fe7b8
Submitter: Jenkins
Branch: master

commit 00b53e2637112dc3721f46ee0a0b900ffd7fe7b8
Author: Eli Qiao <email address hidden>
Date: Tue Nov 17 17:17:20 2015 +0800

    API: use baymodel_ident to update a baymodel

    Currently, we can not update a baymodel with baymodel name, this patch fixes
    it by passing baymodel_ident instead of using baymodel_uuid.

    Closes-Bug: #1516900
    Change-Id: Ib372c06762fdb3918f391aefd25c43e6a2a5fca3

Changed in magnum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
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.