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

Bug #910198 reported by andrewsben on 2011-12-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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) on 2012-01-20
Changed in nova:
status: New → In Progress
assignee: nobody → Brian Waldon (bcwaldon)
importance: Undecided → Low

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) on 2012-01-25
Changed in nova:
milestone: none → essex-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers