[Openstack] Image Create in API version 1.1

Day, Phil philip.day at hp.com
Mon Sep 26 12:55:51 UTC 2011


Hi Gabe,

The code for _action_create_image in api/openstack/servers.py suggest that this isn't implemented yet ?

@common.check_snapshots_enabled
def _action_create_image(self, input_dict, req, id):
        return exc.HTTPNotImplemented()

So is the migration still work in progress ?


From: Gabe Westmaas [mailto:gabe.westmaas at RACKSPACE.COM]
Sent: 23 September 2011 18:54
To: Day, Phil; openstack at lists.launchpad.net
Cc: Hassan, Ahmad
Subject: Re: [Openstack] Image Create in API version 1.1

Hi Phil,

That functionality moved to a server action in 1.1: http://docs.openstack.org/api/openstack-compute/1.1/content/Create_Image-d1e4655.html

Gabe

From: "Day, Phil" <philip.day at hp.com<mailto:philip.day at hp.com>>
Date: Fri, 23 Sep 2011 18:38:58 +0100
To: "openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>" <openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>>
Cc: "Hassan, Ahmad" <ahmad.hassan at hp.com<mailto:ahmad.hassan at hp.com>>
Subject: [Openstack] Image Create in API version 1.1

Hi Folks,

I was browsing through the Diablo final source to see how the API calls vary compared to earlier versions, and in openstack/api/images.py I noticed that create now only seems to be supported in the 1.0 controller - in the 1.1 controller its coded to return NotAllowed.    Can anyone explain why this is, and what the process is for creating snapshots via the 1.1 API ?

Thanks,
Phil

_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net> Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp This email may include confidential information. If you received it in error, please delete it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110926/e129b05d/attachment.html>


More information about the Openstack mailing list