ceate_image on server object requires meta data, using servermanager does not

Bug #910198 reported by andrewsben
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Brian Waldon

Bug Description

when using create_image directly on a server object you are required have metadata, when using nova client.servers.create_image you are not.

In looking at the code with in the server class create_image has no default value for the parameter metadata, where as within servermanager class create_image has a value of None as the default metadata value.

I expected create_image to function the same way if I call if on the server object or on client.server.

Brian Waldon (bcwaldon)
Changed in nova:
status: New → In Progress
assignee: nobody → Brian Waldon (bcwaldon)
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

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

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

Reviewed: https://review.openstack.org/3213
Committed: http://github.com/openstack/python-novaclient/commit/5907f8ca9a2848aaffb9d2ab5faaf0ef5d4f3bc4
Submitter: Jenkins
Branch: master

commit 5907f8ca9a2848aaffb9d2ab5faaf0ef5d4f3bc4
Author: Brian Waldon <email address hidden>
Date: Thu Jan 19 22:55:13 2012 -0800

    Match create_image on server object and manager

    Fixing bug 910198

    Change-Id: I436418cb041a751314498dde9efb4b326549672a

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: essex-3 → 2012.1
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.