← Back to team overview

openstack team mailing list archive

Re: Image Create in API version 1.1

 

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@xxxxxxxxxxxxx]
Sent: 23 September 2011 18:54
To: Day, Phil; openstack@xxxxxxxxxxxxxxxxxxx
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@xxxxxx<mailto:philip.day@xxxxxx>>
Date: Fri, 23 Sep 2011 18:38:58 +0100
To: "openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>" <openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>>
Cc: "Hassan, Ahmad" <ahmad.hassan@xxxxxx<mailto:ahmad.hassan@xxxxxx>>
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@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx> 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.

Follow ups

References